Skip to content
  • Tejun Heo's avatar
    blkcg: kill blkio_policy_node · 4bfd482e
    Tejun Heo authored
    
    
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    4bfd482e