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