blk-throttle: Split throtl_charge_bio() into bps and iops functions
authorZizhi Wo <wozizhi@huawei.com>
Tue, 6 May 2025 02:09:30 +0000 (10:09 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 13 May 2025 18:08:27 +0000 (12:08 -0600)
commita404be5399d762f5737a4a731b42a38f552f2b44
tree5c40b790a46d5fd6b26f4158adcff50fa7a10981
parent3660cd4228d9330b618e2700491891f08824011d
blk-throttle: Split throtl_charge_bio() into bps and iops functions

Split throtl_charge_bio() to facilitate subsequent patches that will
separately charge bps and iops after queue separation.

Signed-off-by: Zizhi Wo <wozizhi@huawei.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Zizhi Wo <wozizhi@huaweicloud.com>
Link: https://lore.kernel.org/r/20250506020935.655574-4-wozizhi@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c