summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Brace <don.brace@pmcs.com>2015-11-04 15:50:07 -0600
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-09 12:34:18 -0500
commit55d95d39b70fa391d609927242f55307d5536b17 (patch)
tree8190bc02f2f8a4ce019c64c418f31afdd1fe2599
parent8aa60681dbc0a501697663af0cd9c31df046d709 (diff)
downloadlinux-55d95d39b70fa391d609927242f55307d5536b17.tar.gz
linux-55d95d39b70fa391d609927242f55307d5536b17.tar.bz2
linux-55d95d39b70fa391d609927242f55307d5536b17.zip
hpsa: stop zeroing reset_cmds_out and ioaccel_cmds_out during rescan
pulling the rug out from under the reset handler likewise for ioaccel_cmds_out Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Don Brace <don.brace@pmcs.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/hpsa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 815dc7f65079..4085401c97d8 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3671,8 +3671,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,