aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd_zbc.c
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2019-11-22 22:19:24 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2019-11-26 21:33:56 -0500
commitc8a347931869bf4373bfd4036d297b8e11ab48ab (patch)
tree21354490d881c8b30394f1b297e42b7a992002a7 /drivers/scsi/sd_zbc.c
parentscsi: qla2xxx: fix rports not being mark as lost in sync fabric scan (diff)
downloadlinux-dev-c8a347931869bf4373bfd4036d297b8e11ab48ab.tar.xz
linux-dev-c8a347931869bf4373bfd4036d297b8e11ab48ab.zip
scsi: qla2xxx: unregister ports after GPN_FT failure
When ports are lost due to unzoning them, and the initiator port is not part of any more zones, the GPN_FT command used for the fabric scan may fail. In this case, the current code simply gives up after a few retries. But if the zone is gone, all rports should actually be marked as lost. Fix this by jumping to the code that handles logout after GNN_FT after scan retries are exhausted. Fixes: f352eeb75419 ("scsi: qla2xxx: Add ability to use GPNFT/GNNFT for RSCN handling") Link: https://lore.kernel.org/r/20191122221912.20100-3-martin.wilck@suse.com Tested-by: Jason Orendorf <orendorf@hpe.com> Signed-off-by: Martin Wilck <mwilck@suse.com> Acked-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd_zbc.c')
0 files changed, 0 insertions, 0 deletions