diff options
author | Quinn Tran <qutran@marvell.com> | 2019-06-16 08:05:53 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-27 00:10:55 -0400 |
commit | baf23eddbf2a4ba9bf2bdb342686c71a8042e39b (patch) | |
tree | 304df7a99d5b0aa6be56041d61dd55d22e238734 /drivers/scsi/scsi.c | |
parent | 4c2a2d0178d5d8006a6bc50c8dc0ed122e4e946e (diff) | |
download | linux-baf23eddbf2a4ba9bf2bdb342686c71a8042e39b.tar.gz linux-baf23eddbf2a4ba9bf2bdb342686c71a8042e39b.tar.bz2 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.c')
0 files changed, 0 insertions, 0 deletions