]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
block, bfq: cleanup bfq_weights_tree add/remove apis
authorYu Kuai <yukuai3@huawei.com>
Fri, 16 Sep 2022 07:19:41 +0000 (15:19 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Nov 2022 13:09:44 +0000 (07:09 -0600)
commitafdba14612622ec75896e5646950b3562a9aadd3
treec28a958e7ddc6e0ef56fa2da8ef1d355af25641e
parenteed3ecc991c90a4a0ce32ea2b35378dc351f012b
block, bfq: cleanup bfq_weights_tree add/remove apis

The 'bfq_data' and 'rb_root_cached' can both be accessed through
'bfq_queue', thus only pass 'bfq_queue' as parameter.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Link: https://lore.kernel.org/r/20220916071942.214222-6-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c
block/bfq-iosched.h
block/bfq-wf2q.c