diff mbox

[1,01/25] hpsa: stop zeroing reset_cmds_out and ioaccel_cmds_out during rescan

Message ID 20151028220435.5323.57054.stgit@brunhilda (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Don Brace Oct. 28, 2015, 10:04 p.m. UTC
pulling the rug out from under the reset handler
likewise for ioaccel_cmds_out

Signed-off-by: Don Brace <don.brace@pmcs.com>
---
 drivers/scsi/hpsa.c |    2 --
 1 file changed, 2 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Tomas Henzl Oct. 29, 2015, 1:25 p.m. UTC | #1
On 28.10.2015 23:04, Don Brace wrote:
> pulling the rug out from under the reset handler
> likewise for ioaccel_cmds_out
>
> Signed-off-by: Don Brace <don.brace@pmcs.com>

Reviewed-by: Tomas Henzl <thenzl@redhat.com>

Tomas

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Hannes Reinecke Oct. 30, 2015, 7:45 a.m. UTC | #2
On 10/28/2015 11:04 PM, Don Brace wrote:
> pulling the rug out from under the reset handler
> likewise for ioaccel_cmds_out
> 
> Signed-off-by: Don Brace <don.brace@pmcs.com>
> ---
>  drivers/scsi/hpsa.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
> index 40669f8..e60c652 100644
> --- a/drivers/scsi/hpsa.c
> +++ b/drivers/scsi/hpsa.c
> @@ -3673,8 +3673,6 @@ static void hpsa_get_ioaccel_drive_info(struct ctlr_info *h,
>  				DRIVE_CMDS_RESERVED_FOR_FW;
>  	else
>  		dev->queue_depth = DRIVE_QUEUE_DEPTH; /* conservative */
> -	atomic_set(&dev->ioaccel_cmds_out, 0);
> -	atomic_set(&dev->reset_cmds_out, 0);
>  }
>  
>  static void hpsa_get_path_info(struct hpsa_scsi_dev_t *this_device,
> 
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
diff mbox

Patch

diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 40669f8..e60c652 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3673,8 +3673,6 @@  static void hpsa_get_ioaccel_drive_info(struct ctlr_info *h,
 				DRIVE_CMDS_RESERVED_FOR_FW;
 	else
 		dev->queue_depth = DRIVE_QUEUE_DEPTH; /* conservative */
-	atomic_set(&dev->ioaccel_cmds_out, 0);
-	atomic_set(&dev->reset_cmds_out, 0);
 }
 
 static void hpsa_get_path_info(struct hpsa_scsi_dev_t *this_device,