summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJustin Tee <justin.tee@broadcom.com>2025-01-30 16:05:22 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2025-02-03 21:53:22 -0500
commit56c3d809b7b450379162d0b8a70bbe71ab8db706 (patch)
tree49e78a55dd8dba53b887ce713bf1794d57adc941 /tools/perf/scripts/python/export-to-postgresql.py
parent23ed62897746f49f195d819ce6edeb1db27d1b72 (diff)
scsi: lpfc: Handle duplicate D_IDs in ndlp search-by D_ID routine
After a port swap between separate fabrics, there may be multiple nodes in the vport's fc_nodes list with the same fabric well known address. Duplication is temporary and eventually resolves itself after dev_loss_tmo expires, but nameserver queries may still occur before dev_loss_tmo. This possibly results in returning stale fabric ndlp objects. Fix by adding an nlp_state check to ensure the ndlp search routine returns the correct newer allocated ndlp fabric object. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20250131000524.163662-5-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions