Prevent infinite retries due to DID_RESET return status
PATCH 2/2 Prevent infinite retries due to DID_RESET return status
Limit lifetime of scsi commands receiving DID_RESET status.
Signed-off-by Michael Reed <[email protected]>
Limit lifetime of scsi commands receiving DID_RESET status.
Signed-off-by Michael Reed <[email protected]>
include/scsi/scsi.h +1 -0
@@ -353,6 +353,7 @@ struct scsi_lun {#define SCSI_MLQUEUE_HOST_BUSY 0x1055#define SCSI_MLQUEUE_DEVICE_BUSY 0x1056#define SCSI_MLQUEUE_EH_RETRY 0x1057 +#define SCSI_MLQUEUE_DID_RESET 0x1058/* * Use these to separate status msg and our bytes
drivers/scsi/scsi_lib.c +54 -16
108 lines not on this page · raw message