From: K. Y. Srinivasan <kys@microsoft.com> Date: Fri, 27 Mar 2015 07:27:14 +0000 (-0700) Subject: scsi: storvsc: Increase the ring buffer size X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b9ec3a55389560a13e226c8d835db6bf0b3d61fd;p=openwrt%2Fstaging%2Fblogic.git scsi: storvsc: Increase the ring buffer size Increase the default ring buffer size as this can significantly improve performance especially on high latency storage back-ends. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> --- diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index efc6e446b6c8..27fe850bdfed 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@ -308,7 +308,7 @@ enum storvsc_request_type { * This is the end of Protocol specific defines. */ -static int storvsc_ringbuffer_size = (20 * PAGE_SIZE); +static int storvsc_ringbuffer_size = (256 * PAGE_SIZE); module_param(storvsc_ringbuffer_size, int, S_IRUGO); MODULE_PARM_DESC(storvsc_ringbuffer_size, "Ring buffer size (bytes)");