aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorMichal Belczyk <[email protected]>2013-04-30 15:28:28 -0700
committerLinus Torvalds <[email protected]>2013-04-30 17:04:07 -0700
commit078be02b80359a541928c899c2631f39628f56df (patch)
treeb89690216b6c55b91d9d14775592b660c69010cf /scripts/patch-kernel
parent5cc5445164c16d32bab2912fac28356ab07aa8b4 (diff)
nbd: increase default and max request sizes
Raise 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<x>/queue/max_sectors_kb) to 32MB. The patch makes nbd network traffic more efficient by: - reducing request fragmentation (4KB alignment) - reducing the number of requests (fewer round trips, less network overhead) Especially in high latency networks, larger request size can make a dramatic Signed-off-by: Paul Clements <[email protected]> Signed-off-by: Michal Belczyk <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions