diff options
author | James Smart <jsmart2021@gmail.com> | 2021-10-20 14:14:14 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-20 23:33:45 -0400 |
commit | 15af02d8a5852acd07617ad4deb2500ca2e0304c (patch) | |
tree | 167697b0f04106fb9bad3393d173425e12e78211 /drivers/dma-buf/st-dma-fence-chain.c | |
parent | 79b20beccea3a3938a8500acef4e6b9d7c66142f (diff) | |
download | linux-15af02d8a5852acd07617ad4deb2500ca2e0304c.tar.gz linux-15af02d8a5852acd07617ad4deb2500ca2e0304c.tar.bz2 linux-15af02d8a5852acd07617ad4deb2500ca2e0304c.zip |
scsi: lpfc: Allow PLOGI retry if previous PLOGI was aborted
A remote nport can stop responding to PLOGI beyond the ELS I/O timeout
under some fault conditions. When this happens, the non-response triggers
a dev_loss_tmo event from the transport which causes the driver to abort
the PLOGI and stop any retries. This was due to a policy in the ELS
completion handler whenever an ELS was terminated due to driver request.
Revise the ELS completion path to detect PLOGIs that were aborted and
allow retries.
Link: https://lore.kernel.org/r/20211020211417.88754-6-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/dma-buf/st-dma-fence-chain.c')
0 files changed, 0 insertions, 0 deletions