summaryrefslogtreecommitdiffstats
path: root/block/Kconfig.iosched
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2023-01-30 13:12:40 +0100
committerJens Axboe <axboe@kernel.dk>2023-01-30 17:42:42 +0100
commit4a6a7bc21d4726c5772e47525e6039852555b391 (patch)
tree959621cf707addc3d092ade71bfe222ae8ab263d /block/Kconfig.iosched
parentblock, bfq: remove unused bfq_wr_max_time in struct bfq_data (diff)
downloadlinux-4a6a7bc21d4726c5772e47525e6039852555b391.tar.xz
linux-4a6a7bc21d4726c5772e47525e6039852555b391.zip
block: Default to use cgroup support for BFQ
Assuming that both Kconfig options, BLK_CGROUP and IOSCHED_BFQ are set, we most likely want cgroup support for BFQ too (BFQ_GROUP_IOSCHED), so let's make it default y. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230130121240.159456-1-ulf.hansson@linaro.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--block/Kconfig.iosched1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
index 615516146086..27f11320b8d1 100644
--- a/block/Kconfig.iosched
+++ b/block/Kconfig.iosched
@@ -30,6 +30,7 @@ config IOSCHED_BFQ
config BFQ_GROUP_IOSCHED
bool "BFQ hierarchical scheduling support"
depends on IOSCHED_BFQ && BLK_CGROUP
+ default y
select BLK_CGROUP_RWSTAT
help