Re: [PATCH v4 0/4] blk-iocost: charge flushes and zone appends
From: Jens Axboe
Date: Fri Oct 16 2026 - 10:29:48 EST
On Tue, 22 Sep 2026 12:38:52 +0800, Tao Cui wrote:
> While testing iocost's weight-based throttling under concurrent IO, we
> observed that a cgroup limited to 1% weight could issue an unbounded
> number of flushes without being throttled: an fsync loop produced ~510k
> flushes in 12s with cost.usage staying at zero the entire time. The
> device was monopolized while iocost reported no activity. Zone appends
> were in the same position: the builtin linear cost model defines
> coefficients only for READ and WRITE, so REQ_OP_ZONE_APPEND is priced
> at zero and excluded from the latency statistics as well.
>
> [...]
Applied, thanks!
[1/4] blk-iocost: add flush cost support with the flushiops model parameter
commit: f8bc5c74d9eccc87d2e27767f92b8c11b3315d72
[2/4] blk-iocost: charge zone appends as writes
commit: febdbf5682fa7e8f325b07a2c115e7632c4252bd
[3/4] blk-iocost: account zone append completions in latency stats
commit: c38975c427cc3d3f6eb66a36143893be5cdf4ebd
[4/4] blk-iocost: fix stale comment in ioc_rqos_throttle()
commit: 40607f9a6a5eaa071797481bd0ba5ea3ef1eb405
Best regards,
--
Jens Axboe