summaryrefslogtreecommitdiffstats
path: root/block/Kconfig.iosched
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-12-09 07:31:31 +0100
committerJens Axboe <axboe@kernel.dk>2021-12-16 18:59:02 +0100
commit5ef1630586317e92c9ebd7b4ce48f393b7ff790f (patch)
tree571bdd14cf7ccd96bb8a003f77c3f249658c09c7 /block/Kconfig.iosched
parentblock: fold create_task_io_context into ioc_find_get_icq (diff)
downloadlinux-5ef1630586317e92c9ebd7b4ce48f393b7ff790f.tar.xz
linux-5ef1630586317e92c9ebd7b4ce48f393b7ff790f.zip
block: only build the icq tracking code when needed
Only bfq needs to code to track icq, so make it conditional. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20211209063131.18537-12-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/Kconfig.iosched')
-rw-r--r--block/Kconfig.iosched1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
index 885fee86dfca..615516146086 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"
+ select BLK_ICQ
help
BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of
of the device among all processes according to their weights,