blkcg: implement all_blkcgs list
authorTejun Heo <tj@kernel.org>
Thu, 9 Jul 2015 20:39:49 +0000 (16:39 -0400)
committerJens Axboe <axboe@fb.com>
Thu, 9 Jul 2015 20:41:09 +0000 (14:41 -0600)
commit7876f930d0e78addc6bbdbba0d6c196a0788d545
tree3e38c6592038791cff22a9d3dd6b271c04333a58
parent144232b34258c1fc19729e077c6fb161e30da07b
blkcg: implement all_blkcgs list

Add all_blkcgs list goes through blkcg->all_blkcgs_node and is
protected by blkcg_pol_mutex.  This will be used to fix
blkcg_policy_data allocation bug.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Arianna Avanzini <avanzini.arianna@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-cgroup.c
include/linux/blk-cgroup.h