diff options
| author | James Smart <[email protected]> | 2021-09-10 16:31:52 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-09-14 23:33:21 -0400 |
| commit | b507357f79171fb4fb4e732ca43a1f30bc5aab1d (patch) | |
| tree | cd186712288f708651e13f63c8f0242a285e2a13 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a864ee709bc06095463c61fc22a4dc899fba1758 (diff) | |
scsi: lpfc: Fix NVMe I/O failover to non-optimized path
Currently, we hold off unregistering with NVMe transport layer until GID_FT
or ADISC completes upon receipt of RSCN. In the ADISC discovery routine,
for nodes not found in the GID_FT response, the nodes are unregistered from
the SCSI transport but not UNREG_RPI'd. Meaning outstanding WQEs continue
to be outstanding and were not failed back to the OS. If an NVMe device,
this mean there wasn't initial termination of the I/Os so they could be
issued on a different NVMe path.
Fix by unregistering the RPI so that I/O is cancelled.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 0614568361b0 ("scsi: lpfc: Delay unregistering from transport until GIDFT or ADISC completes")
Co-developed-by: Justin Tee <[email protected]>
Signed-off-by: Justin Tee <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions