Re: [PATCH 08/10] blkcg: implement blk-iocost

From: Tejun Heo
Date: Thu Oct 03 2019 - 13:00:26 EST


Hello,

On Thu, Oct 03, 2019 at 04:51:06PM +0200, Michal Koutný wrote:
> > Initially, I put them under block device sysfs but it was too clumsy
> > with different config file formats and all.
> Do you have any more details on that? In the end, it all boils down to a
> daemon/setup utility writing into the control files and it can use
> whatever config files it decides, can't it?

Yeah, I mean, we can make any interface work. So, there are two
global knobs io.cost.model and io.cost.qos. Of the tw, io.cost.model
is okay to move under block device but the qos file gets weird because
the content of the file is more resource control policies than device
properties.

Thanks.

--
tejun