Re: unify the interface of the proportional-share policy in blkio/io

From: Tejun Heo
Date: Tue Jan 09 2018 - 14:52:14 EST


Hello, Paolo.

On Thu, Jan 04, 2018 at 08:00:02PM +0100, Paolo Valente wrote:
> The solution for the second type of parameters may prove useful to
> unify also the computation of statistics for the throttling policy.
>
> Does this proposal sound reasonable?

So, the above should work too but I wonder whether we could do this
simpler. Frankly, I wouldn't mind if cfq and bfq can't be mixed on a
system - e.g. they can be built together but you can't enable bfq on
some devides and cfq on others. If we do that, all we need to do is
just removing / adding cftypes when either gets activated which cgroup
already does.

Thanks.

--
tejun