Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,