block: Default to use cgroup support for BFQ
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Jan 2023 12:12:40 +0000 (13:12 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Jan 2023 16:42:42 +0000 (09:42 -0700)
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>
block/Kconfig.iosched

index 6155161..27f1132 100644 (file)
@@ -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