diff options
author | Tejun Heo <tj@kernel.org> | 2019-11-07 11:18:04 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-07 12:28:13 -0700 |
commit | 1d156646e0d8ec390e5d5ac288137df02d4207be (patch) | |
tree | ac8219a4da32a25ace792ac1d8775e890c34b127 /block/Kconfig | |
parent | f73316482977ac401ac37245c9df48079d4e11f3 (diff) | |
download | linux-1d156646e0d8ec390e5d5ac288137df02d4207be.tar.gz linux-1d156646e0d8ec390e5d5ac288137df02d4207be.tar.bz2 linux-1d156646e0d8ec390e5d5ac288137df02d4207be.zip |
blk-cgroup: separate out blkg_rwstat under CONFIG_BLK_CGROUP_RWSTAT
blkg_rwstat is now only used by bfq-iosched and blk-throtl when on
cgroup1. Let's move it into its own files and gate it behind a config
option.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/Kconfig')
-rw-r--r-- | block/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig index 41c0917ce622..c23094a14a2b 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -32,6 +32,9 @@ config BLK_RQ_ALLOC_TIME config BLK_SCSI_REQUEST bool +config BLK_CGROUP_RWSTAT + bool + config BLK_DEV_BSG bool "Block layer SG support v4" default y @@ -86,6 +89,7 @@ config BLK_DEV_ZONED config BLK_DEV_THROTTLING bool "Block layer bio throttling support" depends on BLK_CGROUP=y + select BLK_CGROUP_RWSTAT ---help--- Block layer bio throttling support. It can be used to limit the IO rate to a device. IO rate policies are per cgroup and |