diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-01 14:38:43 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-04-01 14:38:43 -0700 |
commit | 44ea53de46a8b01a65ae6217f47e00b516725190 (patch) | |
tree | 45ccff782042704818d0b3f96221c381209e4a2d /block/blk-cgroup.h | |
parent | 829fdb50004de78f1bd187e428d72edcd9721cb8 (diff) | |
download | talos-obmc-linux-44ea53de46a8b01a65ae6217f47e00b516725190.tar.gz talos-obmc-linux-44ea53de46a8b01a65ae6217f47e00b516725190.zip |
blkcg: implement blkio_policy_type->cftypes
Add blkiop->cftypes which is added and removed together with the
policy. This will be used to move conf/stat handling to the policies.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index 361ecfa4d28d..fa744d57bebb 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h @@ -181,6 +181,7 @@ struct blkio_policy_type { struct blkio_policy_ops ops; enum blkio_policy_id plid; size_t pdata_size; /* policy specific private data size */ + struct cftype *cftypes; /* cgroup files for the policy */ }; extern int blkcg_init_queue(struct request_queue *q); |