diff options
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index ca0ff7c0ffb6..64392ac76ce8 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h | |||
@@ -27,13 +27,13 @@ enum blkio_policy_id { | |||
27 | /* Max limits for throttle policy */ | 27 | /* Max limits for throttle policy */ |
28 | #define THROTL_IOPS_MAX UINT_MAX | 28 | #define THROTL_IOPS_MAX UINT_MAX |
29 | 29 | ||
30 | #ifdef CONFIG_BLK_CGROUP | ||
31 | |||
32 | /* CFQ specific, out here for blkcg->cfq_weight */ | 30 | /* CFQ specific, out here for blkcg->cfq_weight */ |
33 | #define CFQ_WEIGHT_MIN 10 | 31 | #define CFQ_WEIGHT_MIN 10 |
34 | #define CFQ_WEIGHT_MAX 1000 | 32 | #define CFQ_WEIGHT_MAX 1000 |
35 | #define CFQ_WEIGHT_DEFAULT 500 | 33 | #define CFQ_WEIGHT_DEFAULT 500 |
36 | 34 | ||
35 | #ifdef CONFIG_BLK_CGROUP | ||
36 | |||
37 | enum blkg_rwstat_type { | 37 | enum blkg_rwstat_type { |
38 | BLKG_RWSTAT_READ, | 38 | BLKG_RWSTAT_READ, |
39 | BLKG_RWSTAT_WRITE, | 39 | BLKG_RWSTAT_WRITE, |