diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-01 23:38:44 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-04-01 23:38:44 +0200 |
commit | af133ceb261033eb43c03d161a991c3b772e8c56 (patch) | |
tree | fdc943f4f8c2c7e19af0d963d73647d3333aaa5c /block/blk-cgroup.h | |
parent | blkcg: move blkio_group_conf->weight to cfq (diff) | |
download | linux-af133ceb261033eb43c03d161a991c3b772e8c56.tar.xz linux-af133ceb261033eb43c03d161a991c3b772e8c56.zip |
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.h | 8 |
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 { uint64_t cnt[BLKG_RWSTAT_NR]; }; -struct blkio_group_conf { - u64 iops[2]; - u64 bps[2]; -}; - /* per-blkg per-policy data */ struct blkg_policy_data { /* the blkg this per-policy data belongs to */ struct blkio_group *blkg; - /* Configuration */ - struct blkio_group_conf conf; - /* pol->pdata_size bytes of private data used by policy impl */ char pdata[] __aligned(__alignof__(unsigned long long)); }; |