]> 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)
commite4ca050bfce058bc5e9f78b8a199a860ae664752
tree1420324341b24152dafd70b89140de5939da3a16
parent85071f07c6ad400e8f8d0e8875528a6911ddf84e
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