diff options
author | Christoph Hellwig <hch@lst.de> | 2021-12-09 07:31:31 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-12-16 18:59:02 +0100 |
commit | 5ef1630586317e92c9ebd7b4ce48f393b7ff790f (patch) | |
tree | 571bdd14cf7ccd96bb8a003f77c3f249658c09c7 /block/Kconfig | |
parent | block: fold create_task_io_context into ioc_find_get_icq (diff) | |
download | linux-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')
-rw-r--r-- | block/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig index c6ce41a5e5b2..d5d4197b7ed2 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -35,6 +35,9 @@ config BLK_CGROUP_RWSTAT config BLK_DEV_BSG_COMMON tristate +config BLK_ICQ + bool + config BLK_DEV_BSGLIB bool "Block layer SG support v4 helper lib" select BLK_DEV_BSG_COMMON |