James Smart 2e81b1a374 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/20211204002644.116455-3-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>
2021-12-06 22:35:36 -05:00
..
2020-03-11 23:07:59 -04:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-12 12:25:50 -08:00
2021-12-06 22:30:34 -05:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-01-22 21:14:08 -05:00
2020-03-11 23:07:59 -04:00
2021-10-16 21:45:55 -04:00
2020-09-02 22:49:06 -04:00
2021-10-16 21:45:56 -04:00
2021-04-13 00:20:48 -04:00
2020-12-07 20:24:09 -05:00
2021-10-16 21:29:15 -04:00
2021-10-16 21:45:57 -04:00
2021-10-16 21:45:57 -04:00
2020-12-07 20:24:09 -05:00
2021-05-21 16:59:33 -04:00
2021-10-29 06:50:52 -06:00
2021-11-12 12:25:50 -08:00
2021-03-24 23:03:43 -04:00
2021-11-12 12:25:50 -08:00
2021-11-12 12:25:50 -08:00
2021-10-29 06:50:52 -06:00
2021-11-12 12:25:50 -08:00
2020-02-24 15:01:57 -05:00
2021-10-29 06:50:52 -06:00
2021-08-23 12:54:30 -06:00
2021-11-05 08:42:02 -07:00
2021-04-13 00:20:48 -04:00
2021-11-05 08:42:02 -07:00