diff options
author | James Smart <[email protected]> | 2022-07-01 14:14:20 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-07-07 17:21:43 -0400 |
commit | ea92e173dc55460f1b9e71df5ceac951c506d214 (patch) | |
tree | f61fb3dd948225184d9532e8ce88fbde24542304 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 43e19a96a7895f5588ffc6bf9768f362ae3af70e (diff) |
scsi: lpfc: Fix lost NVMe paths during LIF bounce stress test
During a target link bounce test, the driver sees a mismatch between the
NPortId and the WWPN on the node structures (ndlps) involved. When this
occurs, the driver "swaps" the ndlp and new_ndlp node parameters to restore
WWPN/DID uniqueness in the fc_nodes list per vport. However, the driver
neglected to swap the nlp_fc4_type in the ndlp passed to
lpfc_plogi_confirm_nport causing a failure to recover the NVMe PLOGI/PRLI
and ultimately the NVMe paths.
Correct confirm_nport to preserve the fc4 types from the new-ndlp when the
data is moved over ot the ndlp structure.
Link: https://lore.kernel.org/r/[email protected]
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/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions