forked from luck/tmp_suning_uos_patched
[SCSI] scsi_dh_rdac: Retry for NOT_READY check condition
This patch adds retry for NOT_READY check condition - Quiesce in progress (02/A1/02) Signed-off-by: Vijay Chauhan<vijay.chauhan@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
ba33fadfab
commit
af50bb993d
|
@ -574,6 +574,12 @@ static int rdac_check_sense(struct scsi_device *sdev,
|
|||
* Just retry and wait.
|
||||
*/
|
||||
return ADD_TO_MLQUEUE;
|
||||
if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02)
|
||||
/* LUN Not Ready - Quiescense in progress
|
||||
* or has been achieved
|
||||
* Just retry.
|
||||
*/
|
||||
return ADD_TO_MLQUEUE;
|
||||
break;
|
||||
case ILLEGAL_REQUEST:
|
||||
if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user