diff options
author | Stephen Cameron <stephenmcameron@gmail.com> | 2015-04-23 14:32:43 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-05-31 18:26:54 (GMT) |
commit | 4a8da22b325da7e7bcea442d1c5d250cfa08c1e8 (patch) | |
tree | 8181d337994772d7170546f41b4d6f8be5ff0717 | |
parent | 4a4384ceda6cf646f1f0810eefe3f79e8f01e5d8 (diff) | |
download | linux-4a8da22b325da7e7bcea442d1c5d250cfa08c1e8.tar.xz |
hpsa: try resubmitting down raid path on task set full
allow the controller firmware to queue up commands when the ioaccel device
queue is full.
Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@Suse.de>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
-rw-r--r-- | drivers/scsi/hpsa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 7eff9e0..eb8351c 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -1820,8 +1820,7 @@ static int handle_ioaccel_mode2_error(struct ctlr_info *h, retry = 1; break; case IOACCEL2_STATUS_SR_TASK_COMP_SET_FULL: - /* Make scsi midlayer do unlimited retries */ - cmd->result = DID_IMM_RETRY << 16; + retry = 1; break; case IOACCEL2_STATUS_SR_TASK_COMP_ABORTED: dev_warn(&h->pdev->dev, |