]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Reduce false trigger to login
authorQuinn Tran <qutran@marvell.com>
Thu, 10 Mar 2022 09:26:00 +0000 (01:26 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2022 04:29:15 +0000 (00:29 -0400)
commit6ca354a7a4a0ce77f83e7883ba9fa3a64368b5e3
tree94dec2aa9bedb44f0bade00decf4185fb48202cf
parent97165ea078050f7c6f8defe5d672876ee3c8e85d
scsi: qla2xxx: Reduce false trigger to login

While a session is in the middle of a relogin, a late RSCN can be delivered
from switch. RSCN trigger fabric scan where the scan logic can trigger
another session login while a login is in progress.  Reduce the extra
trigger to prevent multiple logins to the same session.

Link: https://lore.kernel.org/r/20220310092604.22950-10-njavali@marvell.com
Fixes: c8dec38adaa9 ("scsi: qla2xxx: Reduce redundant ADISC command for RSCNs")
Cc: stable@vger.kernel.org
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