Commit 55d95d39 authored by Don Brace's avatar Don Brace Committed by Martin K. Petersen

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: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarTomas Henzl <thenzl@redhat.com>
Signed-off-by: default avatarDon Brace <don.brace@pmcs.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 8aa60681
...@@ -3671,8 +3671,6 @@ static void hpsa_get_ioaccel_drive_info(struct ctlr_info *h, ...@@ -3671,8 +3671,6 @@ static void hpsa_get_ioaccel_drive_info(struct ctlr_info *h,
DRIVE_CMDS_RESERVED_FOR_FW; DRIVE_CMDS_RESERVED_FOR_FW;
else else
dev->queue_depth = DRIVE_QUEUE_DEPTH; /* conservative */ 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, static void hpsa_get_path_info(struct hpsa_scsi_dev_t *this_device,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment