Re: [RFC PATCH 4/8] blk-iocost: dispatch cost calculation to registered BPF model

From
Tejun Heo <tj@kernel.org>
Date
2026-09-08 21:03:37
Also in
bpf, cgroups, linux-kselftest, lkml
Reply to
Tao Cui, 2026-09-08
Hello, Tao.

On Tue, 08 Sep 2026 18:01:39 +0800, Tao Cui wrote:
quoted hunk ↗ jump to hunk
+		if (iocost_bpf_calc_cost(bio_op(bio),
+					 bio->bi_iter.bi_size,
+					 bio->bi_iter.bi_sector,
+					 iocg->cursor,
+					 iocg_to_blkg(iocg)->blkcg->css.id,
+					 is_merge ? IOCOST_COST_F_MERGE : 0,
bio_op() drops REQ_PREFLUSH and REQ_FUA, and the flags argument only carries
merge status. Please preserve the operation flags.

Thanks.

-- 
tejun
Thread (16 messages) 16 messages, 2 authors, last reply 2026-09-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help