]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
block, bfq: factor out code to update 'active_entities'
authorYu Kuai <yukuai3@huawei.com>
Wed, 2 Nov 2022 02:25:39 +0000 (10:25 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Nov 2022 02:10:54 +0000 (20:10 -0600)
commite5c63eb4b59f9fb9b28e29d605a4dabbeff7772e
tree0f400b322b25dc4790f2191ca0a110bf9d6e4d31
parent060d9217d356a28e1bcfd2df0c8bf59aa24a12ce
block, bfq: factor out code to update 'active_entities'

Current code is a bit ugly and hard to read.

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