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

Commit a7746f1e authored by Chad Dupuis's avatar Chad Dupuis Committed by Martin K. Petersen
Browse files

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: default avatarChad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent f7e8d57b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -708,7 +708,7 @@ static struct scsi_host_template qedf_host_template = {
	.module 	= THIS_MODULE,
	.module 	= THIS_MODULE,
	.name 		= QEDF_MODULE_NAME,
	.name 		= QEDF_MODULE_NAME,
	.this_id 	= -1,
	.this_id 	= -1,
	.cmd_per_lun 	= 3,
	.cmd_per_lun	= 32,
	.use_clustering = ENABLE_CLUSTERING,
	.use_clustering = ENABLE_CLUSTERING,
	.max_sectors 	= 0xffff,
	.max_sectors 	= 0xffff,
	.queuecommand 	= qedf_queuecommand,
	.queuecommand 	= qedf_queuecommand,