diff options
author | Chauhan, Vijay <Vijay.Chauhan@lsi.com> | 2009-03-17 18:51:40 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-17 22:07:06 -0400 |
commit | af50bb993dfa673cf21ab812efe620d7e0c36319 (patch) | |
tree | ccd5be07224d9465cd6989f7dcf4ac2137188a7a /drivers/scsi/device_handler | |
parent | ba33fadfabe88e838e73c76a6ff59546f5f6b92b (diff) | |
download | blackbird-op-linux-af50bb993dfa673cf21ab812efe620d7e0c36319.tar.gz blackbird-op-linux-af50bb993dfa673cf21ab812efe620d7e0c36319.zip |
[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>
Diffstat (limited to 'drivers/scsi/device_handler')
-rw-r--r-- | drivers/scsi/device_handler/scsi_dh_rdac.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/device_handler/scsi_dh_rdac.c b/drivers/scsi/device_handler/scsi_dh_rdac.c index 07962f675fef..43b8c51e98d0 100644 --- a/drivers/scsi/device_handler/scsi_dh_rdac.c +++ b/drivers/scsi/device_handler/scsi_dh_rdac.c @@ -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) { |