On Fri, 5 Jun 2020 17:44:37 +0300, Roman Bolshakov wrote:
The driver performs SCR (state change registration) in all modes including pure target mode.
For each RSCN, scan_needed flag is set in qla2x00_handle_rscn() for the port mentioned in the RSCN and fabric rescan is scheduled. During the rescan, GNN_FT handler, qla24xx_async_gnnft_done() deletes session of the port that caused the RSCN.
[...]
Applied to 5.8/scsi-fixes, thanks!
[1/1] scsi: qla2xxx: Keep initiator ports after RSCN https://git.kernel.org/mkp/scsi/c/632f24f09d5b