From: Stephen Cameron Date: Thu, 23 Apr 2015 14:32:43 +0000 (-0500) Subject: hpsa: try resubmitting down raid path on task set full X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a8da22b325da7e7bcea442d1c5d250cfa08c1e8;p=linux-beck.git 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 Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace Reviewed-by: Christoph Hellwig Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 7eff9e0a02f5..eb8351ce81ee 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,