diff options
author | Yuwei Guan <ssawgyw@gmail.com> | 2022-11-10 12:26:22 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-12-15 13:11:59 +0100 |
commit | 1eb206208b0f3f707c67134ef6ba394410effb67 (patch) | |
tree | c1ac018cff90358e13b3db7fae4c65b0f7deed6d /block/blk-core.c | |
parent | blk-iolatency: Fix memory leak on add_disk() failures (diff) | |
download | linux-1eb206208b0f3f707c67134ef6ba394410effb67.tar.xz linux-1eb206208b0f3f707c67134ef6ba394410effb67.zip |
block, bfq: only do counting of pending-request for BFQ_GROUP_IOSCHED
The 'bfqd->num_groups_with_pending_reqs' is used when
CONFIG_BFQ_GROUP_IOSCHED is enabled, so let the variables and processes
take effect when CONFIG_BFQ_GROUP_IOSCHED is enabled.
Cc: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20221110112622.389332-1-Yuwei.Guan@zeekrlife.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions