Re: [PATCH] block: allow us to change max_segments on the fly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux