aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-04-01 17:38:44 -0400
committerTejun Heo <tj@kernel.org>2012-04-01 17:38:44 -0400
commitaf133ceb261033eb43c03d161a991c3b772e8c56 (patch)
treefdc943f4f8c2c7e19af0d963d73647d3333aaa5c /block/blk-cgroup.h
parent3381cb8d2ef1523dbaeec99161d766c25f1e52d6 (diff)
blkcg: move blkio_group_conf->iops and ->bps to blk-throttle
blkio_cgroup_conf->iops and ->bps are owned by blk-throttle and has no reason to be defined in blkcg core. Drop them and let conf setting functions directly manipulate throtl_grp->bps[] and ->iops[]. This makes blkio_group_conf empty. Drop it. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r--block/blk-cgroup.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
index 386db2974a08..a77ab1ac53a7 100644
--- a/block/blk-cgroup.h
+++ b/block/blk-cgroup.h
@@ -71,19 +71,11 @@ struct blkg_rwstat {
71 uint64_t cnt[BLKG_RWSTAT_NR]; 71 uint64_t cnt[BLKG_RWSTAT_NR];
72}; 72};
73 73
74struct blkio_group_conf {
75 u64 iops[2];
76 u64 bps[2];
77};
78
79/* per-blkg per-policy data */ 74/* per-blkg per-policy data */
80struct blkg_policy_data { 75struct blkg_policy_data {
81 /* the blkg this per-policy data belongs to */ 76 /* the blkg this per-policy data belongs to */
82 struct blkio_group *blkg; 77 struct blkio_group *blkg;
83 78
84 /* Configuration */
85 struct blkio_group_conf conf;
86
87 /* pol->pdata_size bytes of private data used by policy impl */ 79 /* pol->pdata_size bytes of private data used by policy impl */
88 char pdata[] __aligned(__alignof__(unsigned long long)); 80 char pdata[] __aligned(__alignof__(unsigned long long));
89}; 81};