diff options
| author | James Smart <[email protected]> | 2020-11-15 11:26:35 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-11-17 00:43:55 -0500 |
| commit | 52edb2caf675684acf2140a125de4774c691fecd (patch) | |
| tree | bb749afbdd2d762207214d61f61d166121735950 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c6adba150191762a7e58644f9e522d9d6d945e1c (diff) | |
scsi: lpfc: Remove ndlp when a PLOGI/ADISC/PRLI/REG_RPI ultimately fails
When a PLOGI/ADISC/PRLI/REG_RPI fails, the node remains in the nodelist in
that state. Although the driver now frees a node when the ref count goes
to zero, in this case the ref cnt doesn't reach zero because there isn't a
mechanism to release the final reference. Discovery just stops.
Fix by calling the node discovery state machine DEVICE_RM event whenever
one of these commands fail. This will remove the final reference count and
trigger node release.
Link: https://lore.kernel.org/r/[email protected]
Co-developed-by: Dick Kennedy <[email protected]>
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions