diff options
| author | James Smart <[email protected]> | 2021-12-03 16:26:37 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-12-06 22:35:36 -0500 |
| commit | 2e81b1a374da5d6024208c16c4a5224a70cafa64 (patch) | |
| tree | b2c3a64dad193093fa838ad9582eb98ad3163b29 /scripts/objdiff | |
| parent | f0d3919697492950f57a26a1093aee53880d669d (diff) | |
scsi: lpfc: Change return code on I/Os received during link bounce
During heavy I/O testing with issue_lip to bounce the link, occasionally
I/O is terminated with status 3 result 9, which means the RPI is suspended.
The I/O is completed and this type of error will result in immediate retry
by the SCSI layer. The retry count expires and the I/O fails and returns
error to the application.
To avoid these quick retry/retries exhausted scenarios change the return
code given to the midlayer to DID_REQUEUE rather than DID_ERROR. This gets
them retried, and eventually succeed when the link recovers.
Link: https://lore.kernel.org/r/[email protected]
Co-developed-by: Justin Tee <[email protected]>
Signed-off-by: Justin Tee <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions