提交 b9ec3a55 编写于 作者: K K. Y. Srinivasan 提交者: James Bottomley

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: NK. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: NLong Li <longli@microsoft.com>
Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
上级 114fc1d9
...@@ -308,7 +308,7 @@ enum storvsc_request_type { ...@@ -308,7 +308,7 @@ enum storvsc_request_type {
* This is the end of Protocol specific defines. * 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_param(storvsc_ringbuffer_size, int, S_IRUGO);
MODULE_PARM_DESC(storvsc_ringbuffer_size, "Ring buffer size (bytes)"); MODULE_PARM_DESC(storvsc_ringbuffer_size, "Ring buffer size (bytes)");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册