]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix losing FCP-2 targets on long port disable with I/Os
authorArun Easi <aeasi@marvell.com>
Thu, 16 Jun 2022 05:35:06 +0000 (22:35 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Jun 2022 01:59:54 +0000 (21:59 -0400)
commit2e7e9c308956ada8c52f1da8f00f167f74f39286
tree5d7f6dc9f39bb6b14b05deb0bed2b1c4681ef2c7
parenta666502897033cf5a4b2621f874e301ce23f6c22
scsi: qla2xxx: Fix losing FCP-2 targets on long port disable with I/Os

FCP-2 devices were not coming back online once they were lost, login
retries exhausted, and then came back up.  Fix this by accepting RSCN when
the device is not online.

Link: https://lore.kernel.org/r/20220616053508.27186-10-njavali@marvell.com
Fixes: d5638e660741 ("scsi: qla2xxx: Changes to support FCP2 Target")
Cc: stable@vger.kernel.org
Signed-off-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c