diff options
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index 2070053a30b1..034c35562dba 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h | |||
@@ -186,16 +186,17 @@ extern unsigned int blkcg_get_write_iops(struct blkio_cgroup *blkcg, | |||
186 | dev_t dev); | 186 | dev_t dev); |
187 | 187 | ||
188 | typedef void (blkio_unlink_group_fn) (void *key, struct blkio_group *blkg); | 188 | typedef void (blkio_unlink_group_fn) (void *key, struct blkio_group *blkg); |
189 | typedef void (blkio_update_group_weight_fn) (struct blkio_group *blkg, | 189 | |
190 | unsigned int weight); | 190 | typedef void (blkio_update_group_weight_fn) (void *key, |
191 | typedef void (blkio_update_group_read_bps_fn) (struct blkio_group *blkg, | 191 | struct blkio_group *blkg, unsigned int weight); |
192 | u64 read_bps); | 192 | typedef void (blkio_update_group_read_bps_fn) (void * key, |
193 | typedef void (blkio_update_group_write_bps_fn) (struct blkio_group *blkg, | 193 | struct blkio_group *blkg, u64 read_bps); |
194 | u64 write_bps); | 194 | typedef void (blkio_update_group_write_bps_fn) (void *key, |
195 | typedef void (blkio_update_group_read_iops_fn) (struct blkio_group *blkg, | 195 | struct blkio_group *blkg, u64 write_bps); |
196 | unsigned int read_iops); | 196 | typedef void (blkio_update_group_read_iops_fn) (void *key, |
197 | typedef void (blkio_update_group_write_iops_fn) (struct blkio_group *blkg, | 197 | struct blkio_group *blkg, unsigned int read_iops); |
198 | unsigned int write_iops); | 198 | typedef void (blkio_update_group_write_iops_fn) (void *key, |
199 | struct blkio_group *blkg, unsigned int write_iops); | ||
199 | 200 | ||
200 | struct blkio_policy_ops { | 201 | struct blkio_policy_ops { |
201 | blkio_unlink_group_fn *blkio_unlink_group_fn; | 202 | blkio_unlink_group_fn *blkio_unlink_group_fn; |