diff options
author | Quinn Tran <qutran@marvell.com> | 2019-06-16 17:05:53 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-27 06:10:55 +0200 |
commit | baf23eddbf2a4ba9bf2bdb342686c71a8042e39b (patch) | |
tree | 304df7a99d5b0aa6be56041d61dd55d22e238734 /drivers/scsi/scsi_lib.c | |
parent | scsi: qla2xxx: Fix NVME cmd and LS cmd timeout race condition (diff) | |
download | linux-baf23eddbf2a4ba9bf2bdb342686c71a8042e39b.tar.xz linux-baf23eddbf2a4ba9bf2bdb342686c71a8042e39b.zip |
scsi: qla2xxx: move IO flush to the front of NVME rport unregistration
On session deletion, current qla code would unregister an NVMe session
before flushing IOs. This patch would move the unregistration of NVMe
session after IO flush. This way FC-NVMe layer would not have to wait for
stuck IOs. In addition, qla2xxx would stop accepting new IOs during session
deletion.
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions