Re: [Nbd] [PATCH] nbd: set the max segments to USHRT_MAX

2017-04-20 Thread Jens Axboe
On 04/20/2017 01:47 PM, Josef Bacik wrote: > I lack the basic understanding of what segments mean, so we were being > limited to 512kib requests even with higher max_sectors sizes set. > Setting the maximum number of segments to unlimited allows us to > actually have arbitrarily large IO's go

[Nbd] [PATCH] nbd: set the max segments to USHRT_MAX

2017-04-20 Thread Josef Bacik
I lack the basic understanding of what segments mean, so we were being limited to 512kib requests even with higher max_sectors sizes set. Setting the maximum number of segments to unlimited allows us to actually have arbitrarily large IO's go through NBD. Signed-off-by: Josef Bacik