[azure][PATCH 1/3] UBUNTU: SAUCE: scsi: storvsc: Increase cmd_per_lun for higher speed devices
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Fri Jan 26 19:18:33 UTC 2018
From: Michael Kelley <mikelley at ntdev.microsoft.com>
BugLink: http://bugs.launchpad.net/bugs/1745261
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 at microsoft.com>
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
---
drivers/scsi/storvsc_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index b9f64823dd7a..57a6e16e7741 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1660,7 +1660,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 */
--
2.7.4
More information about the kernel-team
mailing list