From: Michael Kelley (EOSG) Date: Wed, 24 Jan 2018 22:49:57 +0000 (+0000) Subject: scsi: storvsc: Increase cmd_per_lun for higher speed devices X-Git-Tag: v4.19~1382^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cabe92a55e3a12005a4ac4d3954c9a174b0efe2a;p=platform%2Fkernel%2Flinux-rpi3.git scsi: storvsc: Increase cmd_per_lun for higher speed devices 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 Reviewed-by: K. Y. Srinivasan Acked-by: K. Y. Srinivasan Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index e07907d..8eadb30 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@ -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 */