scsi: qedf: Change cmd_per_lun in scsi_host_template to 32 to increase performance.
authorChad Dupuis <chad.dupuis@cavium.com>
Wed, 31 May 2017 13:34:00 +0000 (06:34 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:06 +0000 (20:48 -0400)
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>
drivers/scsi/qedf/qedf_main.c

index 4135354..ed4bca1 100644 (file)
@@ -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,