diff options
author | Dick Kennedy <dick.kennedy@broadcom.com> | 2017-08-23 16:55:37 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-24 22:29:38 -0400 |
commit | 4adc041b4dccbf315297e504457b096757fdb324 (patch) | |
tree | e54cb83deb13c6c337224874e7abb92e2db97fc3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8db1c2b3e7fa1b1a75a8dddc77bf516acfc03e8a (diff) |
scsi: lpfc: Fix duplicate NVME rport entries and namespaces.
After lip, the driver sometimes would have two rports for the same
device, allowing the namespaces to be duplicated by nvme.
In lpfc_plogi_confirm_nport() the driver was not swapping the nrport
maintained by the ndlp's undergoing address swapping. This allowed the
2nd rport to sneak in as it was considered a separate device.
This patch adds the fixes to Swap the nrport in each ndlp and take care
of the reference counts on the ndlps similar to FCP rports.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions