diff options
| author | James Smart <jsmart2021@gmail.com> | 2022-04-12 15:19:47 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-04-18 22:48:44 -0400 |
| commit | b6474465e962369c1cd4b00324c2e175e2cf30cf (patch) | |
| tree | 474d1b7e59d1e2238288efdac5bfbfe25e14d41d /tools/perf/scripts/python | |
| parent | 787d0580ca181d254f4dfd8b281cbea31120bde3 (diff) | |
| download | kernel-b6474465e962369c1cd4b00324c2e175e2cf30cf.tar.gz | |
scsi: lpfc: Requeue SCSI I/O to upper layer when fw reports link down
During heavy I/O stress tests with 100+ vports and cable pulls, it may take
a while before the vport logs back into the fabric to resume I/O.
Currently, the driver immediately fails the I/O with DID_ERROR.
Change behavior to return DID_REQUEUE, and rely on SCSI layer's max retry
of 5 before erroring out the I/O.
Link: https://lore.kernel.org/r/20220412222008.126521-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
