aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/device_handler/scsi_dh_alua.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/device_handler/scsi_dh_alua.c')
-rw-r--r--drivers/scsi/device_handler/scsi_dh_alua.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/device_handler/scsi_dh_alua.c b/drivers/scsi/device_handler/scsi_dh_alua.c
index 68adb8955d2d..78205cc2059c 100644
--- a/drivers/scsi/device_handler/scsi_dh_alua.c
+++ b/drivers/scsi/device_handler/scsi_dh_alua.c
@@ -481,6 +481,11 @@ static int alua_check_sense(struct scsi_device *sdev,
481 * Power On, Reset, or Bus Device Reset, just retry. 481 * Power On, Reset, or Bus Device Reset, just retry.
482 */ 482 */
483 return ADD_TO_MLQUEUE; 483 return ADD_TO_MLQUEUE;
484 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04)
485 /*
486 * Device internal reset
487 */
488 return ADD_TO_MLQUEUE;
484 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) 489 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01)
485 /* 490 /*
486 * Mode Parameters Changed 491 * Mode Parameters Changed