[SCSI] scsi_dh_rdac: Retry for NOT_READY(02/04/01) in rdac device handler
authorChauhan, Vijay <Vijay.Chauhan@lsi.com>
Mon, 20 Apr 2009 12:44:23 +0000 (18:14 +0530)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 20 May 2009 22:21:14 +0000 (17:21 -0500)
commit8f03226358972f93cd45be0a710927cbb7fd5127
tree2eb0bb2f78263675469a83d8a11d85724d4961c9
parentfa8584566cc9cdaf067dbc12132792887a521da9
[SCSI] scsi_dh_rdac: Retry for NOT_READY(02/04/01) in rdac device handler

During device discovery read capacity fails with 0x020401 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
0x020401. NEED_RETRY in scsi_decide_disposition does not give
sufficient time for the device to become ready.

Signed-off-by: Vijay Chauhan <vijay.chauhan@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/device_handler/scsi_dh_rdac.c