scsi: Retry failfast commands after EH
PATCH 1/1 scsi: Retry failfast commands after EH
Any commands with return status DID_FAILFAST_XXX should be retried; the port will be in a sane state after EH.
Signed-off-by Hannes Reinecke <[email protected]>
--- drivers/scsi/scsi_error.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/scsi/scsi_error.c +3 -0
@@ -684,6 +684,9 @@ static int scsi_eh_completed_normally(struct scsi_cmnd *scmd)*/ return scsi_check_sense (scmd); } +if ((host_byte (scmd->result) ==DID_TRANSPORT_DISRUPTED ) || + (host_byte (scmd->result) ==DID_TRANSPORT_FAILFAST )) +return NEEDS_RETRY ;if (host_byte (scmd->result) !=DID_OK )return FAILED ;
Signature · 1 line
1.7.12.4