Skip to content
Snippets Groups Projects
Commit af50bb99 authored by Chauhan, Vijay's avatar Chauhan, Vijay Committed by James Bottomley
Browse files

[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: default avatarVijay <Chauhan&lt;vijay.chauhan@lsi.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent ba33fadf
Branches
Tags
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment