Re: [PATCH RFC v2 0/6] blk-throttle: support enable and disable during runtime

Michal Koutný
2024-04-16T15:57:03Z

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

On Sat, Apr 06, 2024 at 04:00:53PM +0800, Yu Kuai <yukuai1@huaweicloud.com> wrote:
> I'm planning to support build all blk-throttle polices as kernel module,

There is only one blk-throttle policy (especially after your removal of
io.low). Did you mean blkcg policies in general?

The current code is complex because of various lifecycles in
devices x cgroups.
Turning policies into modules seems to make it
devices x cgroups x policy modules
.

Could you please add more info why policies as modules is beneficial,
how to keep complexity capped?

Thanks,
Michal

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]