hpsa: try resubmitting down raid path on task set full
authorStephen Cameron <stephenmcameron@gmail.com>
Thu, 23 Apr 2015 14:32:43 +0000 (09:32 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 18:26:54 +0000 (11:26 -0700)
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>
drivers/scsi/hpsa.c

index 7eff9e0a02f558b21d1465d3abbbc22226861d82..eb8351ce81ee354c17768fc2fe0f4f7a2252beb9 100644 (file)
@@ -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,