aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/device_handler
diff options
context:
space:
mode:
authorChauhan, Vijay <Vijay.Chauhan@lsi.com>2009-01-26 10:59:37 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 13:58:12 -0400
commitea41e41588c248ee8b8162869c1e1c0565a4b3f6 (patch)
tree922a20ecafaea139b676fc4c153356293dfb3eb7 /drivers/scsi/device_handler
parentb75424fcfe8fae56344a65e3f04bbc7e975e750e (diff)
[SCSI] scsi_dh_rdac: Retry for Quiescence in Progress in rdac device handler
During device discovery read capacity fails with 0x068b02 and sets the device size to 0. As a reason any I/O submitted to this path gets killed at sd_prep_fn with BLKPREP_KILL. This patch is to retry for 0x068b02 Signed-off-by: Vijay Chauhan <vijay.chauhan@lsi.com> Acked-by: Chandra Seetharaman <sekharan@us.ibm.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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/device_handler/scsi_dh_rdac.c b/drivers/scsi/device_handler/scsi_dh_rdac.c
index 53664765570a..f2b9d197e80a 100644
--- a/drivers/scsi/device_handler/scsi_dh_rdac.c
+++ b/drivers/scsi/device_handler/scsi_dh_rdac.c
@@ -579,6 +579,11 @@ static int rdac_check_sense(struct scsi_device *sdev,
579 * Power On, Reset, or Bus Device Reset, just retry. 579 * Power On, Reset, or Bus Device Reset, just retry.
580 */ 580 */
581 return ADD_TO_MLQUEUE; 581 return ADD_TO_MLQUEUE;
582 if (sense_hdr->asc == 0x8b && sense_hdr->ascq == 0x02)
583 /*
584 * Quiescence in progress , just retry.
585 */
586 return ADD_TO_MLQUEUE;
582 break; 587 break;
583 } 588 }
584 /* success just means we do not care what scsi-ml does */ 589 /* success just means we do not care what scsi-ml does */