diff options
author | Tejun Heo <tj@kernel.org> | 2019-11-07 20:18:04 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-07 20:28:13 +0100 |
commit | 1d156646e0d8ec390e5d5ac288137df02d4207be (patch) | |
tree | ac8219a4da32a25ace792ac1d8775e890c34b127 /block/blk-throttle.c | |
parent | blk-cgroup: reimplement basic IO stats using cgroup rstat (diff) | |
download | linux-1d156646e0d8ec390e5d5ac288137df02d4207be.tar.xz 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/blk-throttle.c')
-rw-r--r-- | block/blk-throttle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 2d0fc73d9781..98233c9c65a8 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -12,6 +12,7 @@ #include <linux/blktrace_api.h> #include <linux/blk-cgroup.h> #include "blk.h" +#include "blk-cgroup-rwstat.h" /* Max dispatch from a group in 1 round */ static int throtl_grp_quantum = 8; |