| summaryrefslogtreecommitdiff |
| author | Hannes Reinecke <hare@suse.de> | 2010-03-09 09:44:12 (GMT) |
|---|---|---|
| committer | Hannes Reinecke <hare@suse.de> | 2010-03-09 09:44:12 (GMT) |
| commit | acfcab4989d5f5bd82519fd75bd12d4ddb43b4b2 (patch) (side-by-side diff) | |
| tree | 358bcb315f803cd374d25fe53e1f77f410da2ad4 | |
| parent | 3b602570aebb859bfa568965aba87de461679e14 (diff) | |
- patches.fixes/scsi-retry-alua-in-transition-ua: Retry commandrpm-2.6.16.60-0.60
for ALUA in transition UA (bnc#576972).
suse-commit: b5c47128f35c3d6aa25d50dec4f9069b8341b425
| -rw-r--r-- | drivers/scsi/scsi_error.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index c9bd96c..e35ba48 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -430,10 +430,11 @@ static int scsi_check_sense(struct scsi_cmnd *scmd) return NEEDS_RETRY; } /* - * if the device is in the process of becoming ready, we + * if the device is in the process of becoming ready, we * should retry. */ - if ((sshdr.asc == 0x04) && (sshdr.ascq == 0x01)) + if ((sshdr.asc == 0x04) && + ((sshdr.ascq == 0x01) || (sshdr.ascq == 0x0a))) return NEEDS_RETRY; /* * if the device is not started, we need to wake |