]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Relogin during fabric disturbance
authorQuinn Tran <qutran@marvell.com>
Tue, 26 Oct 2021 11:54:00 +0000 (04:54 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Oct 2021 03:51:59 +0000 (23:51 -0400)
commit76829ee29e225296595d69bcc148b452ecc36017
tree10fc29c8a3e541bfd51d1b97323e6ac03b30da70
parentfda1367f2e9eeb0a66b28989600b9719f6c84b66
scsi: qla2xxx: Relogin during fabric disturbance

For RSCN of type "Area, Domain, or Fabric", which indicate a portion or
entire fabric was disturbed, current driver does not set the scan_need flag
to indicate a session was affected by the disturbance. This in turn can
lead to I/O timeout and delay of relogin. Hence initiate relogin in the
event of fabric disturbance.

Link: https://lore.kernel.org/r/20211026115412.27691-2-njavali@marvell.com
Fixes: d18689a1885d ("scsi: qla2xxx: Use complete switch scan for RSCN events")
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Quinn Tran <qutran@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