Skip to content

Commit

Permalink
scsi: storvsc: Increase the ring buffer size
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Long Li <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
kattisrinivasan authored and James Bottomley committed Apr 9, 2015
1 parent 114fc1d commit b9ec3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)");
Expand Down

0 comments on commit b9ec3a5

Please sign in to comment.