]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix login timeout
authorQuinn Tran <qutran@marvell.com>
Thu, 6 Aug 2020 11:10:07 +0000 (04:10 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 18 Aug 2020 02:40:12 +0000 (22:40 -0400)
commitabb31aeaa9b20680b0620b23fea5475ea4591e31
tree1420324341b24152dafd70b89140de5939da3a16
parent4709272f6327cc4a8ee1dc55771bcf9718346980
scsi: qla2xxx: Fix login timeout

Multipath errors were seen during failback due to login timeout.  The
remote device sent LOGO, the local host tore down the session and did
relogin. The RSCN arrived indicates remote device is going through failover
after which the relogin is in a 20s timeout phase.  At this point the
driver is stuck in the relogin process.  Add a fix to delete the session as
part of abort/flush the login.

Link: https://lore.kernel.org/r/20200806111014.28434-5-njavali@marvell.com
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_gs.c
drivers/scsi/qla2xxx/qla_target.c