On 04/03/2017 01:13 PM, Josef Bacik wrote: > For things like NBD we want to be able to experiment with different > sized requests going over the wire. Half of our limit is controled by > max_sectors_kb, but the other half is how many bvec's we can cram into a > request, which is controlled by max_segments. Changing this sysfs knob > to be writeable allows us to be able to control our io limits more > precisely. This is a hw setting for most drivers, we can't make it user settable. If you want it user settable, you'd have to split it in a hw and user setting. -- Jens Axboe