nbd: set the max segment size to UINT_MAX
authorJosef Bacik <josef@toxicpanda.com>
Tue, 18 Apr 2017 20:22:51 +0000 (16:22 -0400)
committerJens Axboe <axboe@fb.com>
Wed, 19 Apr 2017 14:16:06 +0000 (08:16 -0600)
commitebb16d0d1b326c252fef9f339a7322ee44ed104f
tree206d26bf0409d9bec425920f531da67bb659f9c4
parent6af3847329191db7716309217bde152c3cacc13d
nbd: set the max segment size to UINT_MAX

NBD doesn't care about limiting the segment size, let the user push the
largest bio's they want.  This allows us to control the request size
solely through max_sectors_kb.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c