Re: [PATCH] sd: preserve sysfs updates to max_sectors_kb

Bart Van Assche
2017-08-29T23:01:11Z

On Tue, 2017-08-29 at 22:32 +0000, Don Brace wrote:
> Users do set max_sectors_kb for performance reasons. They can increase
> performance by setting max_sectors_kb to different values depending on
> their I/O needs.
>
> And, if they set the value, and sd_revalidate_disk changes this value,
> there is no history of what they set the value to.

Hello Don,

How about asking these users to create a udev rule instead of directly
modifying max_sectors_kb in sysfs?

Bart.