[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230127154339.157460-1-ulf.hansson@linaro.org>
Date: Fri, 27 Jan 2023 16:43:39 +0100
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org
Cc: Paolo Valente <paolo.valente@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-kernel@...r.kernel.org, Ulf Hansson <ulf.hansson@...aro.org>
Subject: [PATCH] block: Default to build the BFQ I/O scheduler
Today BFQ is widely used and it's also the default choice for some of the
single-queue-based storage devices. Therefore, let's make it more
convenient to build it as default, along with the other I/O schedulers.
Let's also build the cgroup support for BFQ as default, as it's likely that
it's wanted too, assuming CONFIG_BLK_CGROUP is also set, of course.
Signed-off-by: Ulf Hansson <ulf.hansson@...aro.org>
---
block/Kconfig.iosched | 2 ++
1 file changed, 2 insertions(+)
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
index 615516146086..221739143d44 100644
--- a/block/Kconfig.iosched
+++ b/block/Kconfig.iosched
@@ -18,6 +18,7 @@ config MQ_IOSCHED_KYBER
config IOSCHED_BFQ
tristate "BFQ I/O scheduler"
+ default y
select BLK_ICQ
help
BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of
@@ -30,6 +31,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
--
2.34.1
Powered by blists - more mailing lists