]> git.karo-electronics.de Git - linux-beck.git/commitdiff
scsi: storvsc: Increase the ring buffer size
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 27 Mar 2015 07:27:14 +0000 (00:27 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 9 Apr 2015 20:22:11 +0000 (13:22 -0700)
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>
drivers/scsi/storvsc_drv.c

index efc6e446b6c83e31677ab6e5ec01424e6bab59cb..27fe850bdfedf6f0872be62c53e0c2c22c9ad707 100644 (file)
@@ -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)");