]> www.infradead.org Git - users/hch/misc.git/commit
blk-throttle: don't take carryover for prioritized processing of metadata
authorMing Lei <ming.lei@redhat.com>
Wed, 5 Mar 2025 04:31:20 +0000 (12:31 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Mar 2025 23:24:40 +0000 (16:24 -0700)
commita9fc8868b350cbf4ff730a4ea9651319cc669516
treeecec1228879c2b1fab77ddcf45d6b7ab714af776
parent483a393e7e6189aac7d47b5295029159ab7a1cf1
blk-throttle: don't take carryover for prioritized processing of metadata

Commit 29390bb5661d ("blk-throttle: support prioritized processing of metadata")
takes bytes/ios carryover for prioritized processing of metadata. Turns out
we can support it by charging it directly without trimming slice, and the
result is same with carryover.

Cc: Tejun Heo <tj@kernel.org>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20250305043123.3938491-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c