Re: [RFC PATCH] blk-iocost: introduce 'linear-max' cost model for cloud disk
From: Yu Kuai
Date: Fri Feb 13 2026 - 11:55:24 EST
Hi,
在 2026/2/13 20:24, Jialin Wang 写道:
> Do you have any specific thoughts or suggestions on the best way to combine
> these two mechanisms? I would really value your advice on the implementation
> direction.
Implement a new model in iocost, you'll configure bps/iops_limit the same as
blk-throttle, you'll also need something like tg_dispatch_bps/iops_time() and
throtl_charge_bps/iops_bio() to calculate cost by max(bps_cost, iops_cost).
--
Thansk,
Kuai