summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2019-11-07 20:18:04 +0100
committerJens Axboe <axboe@kernel.dk>2019-11-07 20:28:13 +0100
commit1d156646e0d8ec390e5d5ac288137df02d4207be (patch)
treeac8219a4da32a25ace792ac1d8775e890c34b127 /block/blk-throttle.c
parentblk-cgroup: reimplement basic IO stats using cgroup rstat (diff)
downloadlinux-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.c1
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;