aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/device_handler
diff options
context:
space:
mode:
authorChauhan, Vijay <Vijay.Chauhan@lsi.com>2009-03-17 09:21:40 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-17 22:07:06 -0400
commitaf50bb993dfa673cf21ab812efe620d7e0c36319 (patch)
treeccd5be07224d9465cd6989f7dcf4ac2137188a7a /drivers/scsi/device_handler
parentba33fadfabe88e838e73c76a6ff59546f5f6b92b (diff)
[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.c6
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,
574 * Just retry and wait. 574 * Just retry and wait.
575 */ 575 */
576 return ADD_TO_MLQUEUE; 576 return ADD_TO_MLQUEUE;
577 if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02)
578 /* LUN Not Ready - Quiescense in progress
579 * or has been achieved
580 * Just retry.
581 */
582 return ADD_TO_MLQUEUE;
577 break; 583 break;
578 case ILLEGAL_REQUEST: 584 case ILLEGAL_REQUEST:
579 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { 585 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) {