scsi: storvsc: Increase cmd_per_lun for higher speed devices
authorMichael Kelley (EOSG) <Michael.H.Kelley@microsoft.com>
Wed, 24 Jan 2018 22:49:57 +0000 (22:49 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Feb 2018 02:35:37 +0000 (21:35 -0500)
Increase cmd_per_lun to allow more I/Os in progress per device,
particularly for NVMe's.  The Hyper-V host side can handle the higher
count with no issues.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/storvsc_drv.c

index e07907d91d0400a3b1e10f6c97c37a411d5103cc..8eadb30115aaad1d3bcda70e63abe44e44794e34 100644 (file)
@@ -1656,7 +1656,7 @@ static struct scsi_host_template scsi_driver = {
        .eh_timed_out =         storvsc_eh_timed_out,
        .slave_alloc =          storvsc_device_alloc,
        .slave_configure =      storvsc_device_configure,
-       .cmd_per_lun =          255,
+       .cmd_per_lun =          2048,
        .this_id =              -1,
        .use_clustering =       ENABLE_CLUSTERING,
        /* Make sure we dont get a sg segment crosses a page boundary */