[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
1 changed files with 6 additions and 0 deletions
|
@ -574,6 +574,12 @@ static int rdac_check_sense(struct scsi_device *sdev,
|
||||||
* Just retry and wait.
|
* Just retry and wait.
|
||||||
*/
|
*/
|
||||||
return ADD_TO_MLQUEUE;
|
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;
|
break;
|
||||||
case ILLEGAL_REQUEST:
|
case ILLEGAL_REQUEST:
|
||||||
if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) {
|
if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) {
|
||||||
|
|
Loading…
Reference in a new issue