Skip to contentSkip to conversation

nbd: set the max segments to USHRT_MAX

PATCH Jens Axboe 1 participant 1 message Apr 21, 2017 1 message not in the archive Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · 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.

Applied for 4.12, thanks Josef.

Signature · 1 line
Jens Axboe