summaryrefslogtreecommitdiff
path: root/drivers/scsi/qedf/qedf_main.c
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@cavium.com>2017-05-31 16:34:00 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-13 03:48:06 +0300
commita7746f1e01d05066135a3c3ac7e8a857cab68ba7 (patch)
tree7e123e64dc4d854d1a551ad7796257c0677bdd0c /drivers/scsi/qedf/qedf_main.c
parentf7e8d57be143523189543dfaf183af92b4c85204 (diff)
downloadlinux-a7746f1e01d05066135a3c3ac7e8a857cab68ba7.tar.xz
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 <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedf/qedf_main.c')
-rw-r--r--drivers/scsi/qedf/qedf_main.c2
1 files changed, 1 insertions, 1 deletions
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,