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

From: Michal Koutný
Date: Wed Apr 17 2024 - 06:26:01 EST


On Wed, Apr 17, 2024 at 09:09:07AM +0800, Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
> Yes, bfq already support that,

I've never noticed CONFIG_IOSCHED_BFQ is a tristate that explains (me) a
lot. Thanks!

> First of all, users can only load these policies when they need, and
> reduce kernel size; Then, when these policies is not loaded, IO fast
> path will be slightly shorter, and save some memory overhead for each
> disk.

..and there is no new complexity thanks to the above.

(I'm only catching up with subthread of patch 5/6.)
It seems the old complexity could be simplified by the way of lazy
inits. Intereseting...

Michal

Attachment: signature.asc
Description: PGP signature