diff options
author | Yu Kuai <yukuai3@huawei.com> | 2022-09-16 15:19:38 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-01 07:09:44 -0600 |
commit | 60a6e10c537a7459dd53882186bd16fff257fb03 (patch) | |
tree | d25f98c14b4a0cc2cca985944c56dc263f908e36 /drivers/xen/evtchn.c | |
parent | 3d89bd12d352e20f4f7c8f11a0f1a712b95a5295 (diff) |
block, bfq: record how many queues have pending requests
Prepare to refactor the counting of 'num_groups_with_pending_reqs'.
Add a counter in bfq_group, update it while tracking if bfqq have pending
requests and when bfq_bfqq_move() is called.
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-3-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/xen/evtchn.c')
0 files changed, 0 insertions, 0 deletions