> -----Original Message----- > From: Michael Kelley (EOSG) > Sent: Wednesday, January 24, 2018 2:50 PM > To: KY Srinivasan <k...@microsoft.com>; Stephen Hemminger > <sthem...@microsoft.com>; martin.peter...@oracle.com; Long Li > <lon...@microsoft.com>; j...@linux.vnet.ibm.com; > de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; linux- > s...@vger.kernel.org > Cc: Michael Kelley (EOSG) <michael.h.kel...@microsoft.com> > Subject: [PATCH 1/1] 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 <mikel...@microsoft.com>
Reviewed-by: K. Y. Srinivasan <k...@microsoft.com> Acked-by: K. Y. Srinivasan <k...@microsoft.com> Thanks, K. Y > --- > 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 f3264c4..6205107 100644 > --- a/drivers/scsi/storvsc_drv.c > +++ b/drivers/scsi/storvsc_drv.c > @@ -1657,7 +1657,7 @@ static int storvsc_queuecommand(struct Scsi_Host > *host, struct scsi_cmnd *scmnd) > .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 */ > -- > 1.8.3.1