diff options
author | James Smart | 2021-05-14 12:55:51 -0700 |
---|---|---|
committer | Martin K. Petersen | 2021-05-21 23:23:27 -0400 |
commit | e30d55137edef47434c40d7570276a0846fe922c (patch) | |
tree | 02a6cbca8f59880276cb73e0e43d1ab10912fe85 /fs/hfs | |
parent | fa21189db9ab022080e056cc6da219975da48fd6 (diff) |
scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
An 'unexpected timeout' message may be seen in a point-2-point topology.
The message occurs when a PLOGI is received before the driver is notified
of FLOGI completion. The FLOGI completion failure causes discovery to be
triggered for a second time. The discovery timer is restarted but no new
discovery activity is initiated, thus the timeout message eventually
appears.
In point-2-point, when discovery has progressed before the FLOGI completion
is processed, it is not a failure. Add code to FLOGI completion to detect
that discovery has progressed and exit the FLOGI handling (noop'ing it).
Link: https://lore.kernel.org/r/20210514195559.119853-4-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 'fs/hfs')
0 files changed, 0 insertions, 0 deletions