diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-01 21:38:44 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-04-01 21:38:44 (GMT) |
commit | 3381cb8d2ef1523dbaeec99161d766c25f1e52d6 (patch) | |
tree | b5592ee2a0f84e694282c947611971eb7735622d /block/blk-throttle.c | |
parent | 8a3d26151f24e2a2ffa550890144c3d54d2edb15 (diff) | |
download | linux-fsl-qoriq-3381cb8d2ef1523dbaeec99161d766c25f1e52d6.tar.xz |
blkcg: move blkio_group_conf->weight to cfq
blkio_group_conf->weight is owned by cfq and has no reason to be
defined in blkcg core. Replace it with cfq_group->dev_weight and let
conf setting functions directly set it. If dev_weight is zero, the
cfqg doesn't have device specific weight configured.
Also, rename BLKIO_WEIGHT_* constants to CFQ_WEIGHT_* and rename
blkio_cgroup->weight to blkio_cgroup->cfq_weight. We eventually want
per-policy storage in blkio_cgroup but just mark the ownership of the
field for now.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions