diff options
author | Josef Bacik <josef@toxicpanda.com> | 2017-04-20 15:47:01 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-20 19:53:24 -0600 |
commit | 1cc1f17aab7e596d0a7373fc1ed11dbddfa82bc9 (patch) | |
tree | 49992c745eb4b25f4e6e2831ddcf3e6784b9e33f /block/blk-wbt.c | |
parent | 246665db3bcdb36dbba91a64b1e560dcf948a994 (diff) | |
download | lwn-1cc1f17aab7e596d0a7373fc1ed11dbddfa82bc9.tar.gz lwn-1cc1f17aab7e596d0a7373fc1ed11dbddfa82bc9.zip |
nbd: set the max segments to USHRT_MAX
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 <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-wbt.c')
0 files changed, 0 insertions, 0 deletions