Re: [PATCH] nbd: increase default and max request sizes

2013-04-11 Thread Andrew Morton
On Tue, 2 Apr 2013 15:41:20 -0400 (EDT) Paul Clements wrote: > This patch raises the default max request size for nbd to 128KB (from 127KB) > to get it 4KB aligned. This patch also allows the max request size to be > increased (via /sys/block/nbd/queue/max_sectors_kb) to 32MB. > > The patch ma

[PATCH] nbd: increase default and max request sizes

2013-04-02 Thread Paul Clements
This patch raises the default max request size for nbd to 128KB (from 127KB) to get it 4KB aligned. This patch also allows the max request size to be increased (via /sys/block/nbd/queue/max_sectors_kb) to 32MB. The patch makes nbd network traffic more efficient by: - reducing request fragmentation