lkml.org 
[lkml]   [2019]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] block, bfq: delete "bfq" prefix from cgroup filenames
From
Date


> Il giorno 8 apr 2019, alle ore 17:17, Jens Axboe <axboe@kernel.dk> ha scritto:
>
> On 4/8/19 9:14 AM, Paolo Valente wrote:
>>
>>
>>> Il giorno 8 apr 2019, alle ore 17:08, Johannes Thumshirn <jthumshirn@suse.de> ha scritto:
>>>
>>> On Mon, Apr 08, 2019 at 09:05:19AM -0600, Jens Axboe wrote:
>>>> I did consider that, and that would be doable. But honestly, I'm having a
>>>> hard time seeing what issue we are attempting to fix by doing this.
>>>
>>> Yeah, I guess the real fix would be to update the documentation and the
>>> expectations user-space has. Including eventual re-write of some udev rules or
>>> whatever is facing these files. But to me that sounds more like a systemd or
>>> even distro thing than a kernel thing.
>>>
>>
>> Unfortunately the user-space people I have interacted with find crazy
>> to have to change their software to call bfq.weight the weight of a
>> group. And are not willing to do it [1].
>
> Then you need to educate them.

I'm not sure that educate is the right verb (I don't like the current
messy solution either). But I'll do my best to inform people when
I'll have the opportunity to do it.

> Some of the issues were called out years
> ago, at the time when we could have potentially renamed.

Yeah, a good window was 5.0, and at that time we tried with a more
general solution. But we failed.


> A rename now
> will solve nothing.
>

I see your point, but I don't agree this rename would solve nothing.
The real bad thing is not having done this before. Changing names
that nobody uses, to names that everybody already uses, but wrongly,
would instantaneously improve the situation a lot. And it is what
userspace already asked explicitly for [1]. Without this simple
change, it will take a lot for all the inconsistent documentation
spread around the world to be synced. And for all legacy software to
be changed, assuming it will all be changed.

Paolo

[1] https://github.com/systemd/systemd/issues/7057

> --
> Jens Axboe

\
 
 \ /
  Last update: 2019-04-08 19:02    [W:0.183 / U:0.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site