• T
    blkcg: kill blkio_policy_node · 4bfd482e
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: NJens Axboe <axboe@kernel.dk>
    4bfd482e
blk-cgroup.h 10.6 KB