]> git.baikalelectronics.ru Git - kernel.git/commit
blkcg: kill blkio_policy_node
authorTejun Heo <tj@kernel.org>
Mon, 5 Mar 2012 21:15:08 +0000 (13:15 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Mar 2012 20:27:22 +0000 (21:27 +0100)
commite0d441db69323be0032d9c39c9a480a5d2d98e58
tree2c39e09592113946e3545013199b0e00a21f60f2
parent59ced00d16cedacf1c187dac1f59bc56dc0a1759
blkcg: kill blkio_policy_node

Now that blkcg configuration lives in blkg's, blkio_policy_node is no
longer necessary.  Kill it.

blkio_policy_parse_and_set() now fails if invoked for missing device
and functions to print out configurations are updated to print from
blkg's.

cftype_blkg_same_policy() is dropped along with other policy functions
for consistency.  Its one line is open coded in the only user -
blkio_read_blkg_stats().

-v2: Update to reflect the retry-on-bypass logic change of the
     previous patch.

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