From: Chad Dupuis Date: Wed, 31 May 2017 13:34:00 +0000 (-0700) Subject: scsi: qedf: Change cmd_per_lun in scsi_host_template to 32 to increase performance. X-Git-Tag: v4.13-rc1~136^2~184 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a7746f1e01d05066135a3c3ac7e8a857cab68ba7;p=karo-tx-linux.git scsi: qedf: Change cmd_per_lun in scsi_host_template to 32 to increase performance. Increase the default number of commands that the driver tells the SCSI mid-layer it can do to increase the default performance of the driver. Signed-off-by: Chad Dupuis Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index 4135354acea8..ed4bca1231a2 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -708,7 +708,7 @@ static struct scsi_host_template qedf_host_template = { .module = THIS_MODULE, .name = QEDF_MODULE_NAME, .this_id = -1, - .cmd_per_lun = 3, + .cmd_per_lun = 32, .use_clustering = ENABLE_CLUSTERING, .max_sectors = 0xffff, .queuecommand = qedf_queuecommand,