blkcg: use q and plid instead of opaque void * for blkio_group association
authorTejun Heo <tj@kernel.org>
Mon, 5 Mar 2012 21:15:03 +0000 (13:15 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Mar 2012 20:27:22 +0000 (21:27 +0100)
commitca32aefc7f2539ed88d42763330d54ee3e61769a
tree791d2ac1c11b738ce34629653090b6e971fc11b5
parent0a5a7d0e32be6643b881f0e7cd9d0d06fadde27a
blkcg: use q and plid instead of opaque void * for blkio_group association

blkgio_group is association between a block cgroup and a queue for a
given policy.  Using opaque void * for association makes things
confusing and hinders factoring of common code.  Use request_queue *
and, if necessary, policy id instead.

This will help block cgroup API cleanup.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-cgroup.h
block/blk-throttle.c
block/cfq-iosched.c
block/cfq.h