diff options
author | Justin Tee <[email protected]> | 2024-06-28 10:20:07 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-07-04 23:24:51 -0400 |
commit | 15e21dc6d6b7d7feb6b0262422b45da5e3c4b34f (patch) | |
tree | 0a308e1ad3aa9108d141e4f6762f179a351152d5 /lib/memory-notifier-error-inject.c | |
parent | aeaf117cc7d28b994652491c87b929d853519d20 (diff) |
scsi: lpfc: Fix handling of fully recovered fabric node in dev_loss callbk
In rare cases when a fabric node is recovered after a link bounce and
before dev_loss_tmo callbk is reached, the driver may leave the fabric node
in an inconsistent state with the NLP_IN_DEV_LOSS flag perpetually set.
In lpfc_dev_loss_tmo_callbk, a check is added for a recovered fabric node.
If the node is recovered, then don't queue the lpfc_dev_loss_tmo_handler
work. In lpfc_dev_loss_tmo_handler, the path taken for the recovered fabric
nodes is updated to clear the NLP_IN_DEV_LOSS flag.
Signed-off-by: Justin Tee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions