summaryrefslogtreecommitdiff
path: root/block/bfq-iosched.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2019-11-07 11:18:04 -0800
committerJens Axboe <axboe@kernel.dk>2019-11-07 12:28:13 -0700
commit1d156646e0d8ec390e5d5ac288137df02d4207be (patch)
treeac8219a4da32a25ace792ac1d8775e890c34b127 /block/bfq-iosched.h
parentf73316482977ac401ac37245c9df48079d4e11f3 (diff)
downloadlwn-1d156646e0d8ec390e5d5ac288137df02d4207be.tar.gz
lwn-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/bfq-iosched.h')
-rw-r--r--block/bfq-iosched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 2676c06218f1..9c82c1f35716 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -10,6 +10,8 @@
#include <linux/hrtimer.h>
#include <linux/blk-cgroup.h>
+#include "blk-cgroup-rwstat.h"
+
#define BFQ_IOPRIO_CLASSES 3
#define BFQ_CL_IDLE_TIMEOUT (HZ/5)