diff options
author | Tejun Heo <tj@kernel.org> | 2012-03-05 22:15:12 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-06 21:27:23 +0100 |
commit | 5efd611351d1a847c72d74fb12ff4bd187c0cb2c (patch) | |
tree | bac28206d088426ab872eea98155cc100bd8d9b1 /security | |
parent | blkcg: let blkio_group point to blkio_cgroup directly (diff) | |
download | linux-5efd611351d1a847c72d74fb12ff4bd187c0cb2c.tar.xz linux-5efd611351d1a847c72d74fb12ff4bd187c0cb2c.zip |
blkcg: add blkcg_{init|drain|exit}_queue()
Currently block core calls directly into blk-throttle for init, drain
and exit. This patch adds blkcg_{init|drain|exit}_queue() which wraps
the blk-throttle functions. This is to give more control and
visiblity to blkcg core layer for proper layering. Further patches
will add logic common to blkcg policies to the functions.
While at it, collapse blk_throtl_release() into blk_throtl_exit().
There's no reason to keep them separate.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions