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

Martin K. Petersen
2017-09-28T01:38:56Z

Martin,

> Could you please explain why you think Don's patch is wrong? User
> settings being discarded because of a BLKRRPART ioctl violates the
> principle of least surprise. With Don's patch, that won't happen any
> more. If hardware limits change, whether they increase or decrease, the
> patch will also do the Right Thing, AFAICS. Increasing hw limits will
> not automatically increase the sw limit, but IMO that's actually
> expected.

I have been mulling over this for a while.

I suggest the following...

--
Martin K. Petersen Oracle Linux Engineering