]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0b6745988c5ce45ec246dcafbbade55463ee8d7
tree3e38c6592038791cff22a9d3dd6b271c04333a58
parent580b19e4fa481cb53117223a5dc8501f80dd00ee
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