• Tejun Heo's avatar
    blkcg: don't use blkg->plid in stat related functions · c1768268
    Tejun Heo authored
    blkg is scheduled to be unified for all policies and thus there won't
    be one-to-one mapping from blkg to policy.  Update stat related
    functions to take explicit @pol or @plid arguments and not use
    blkg->plid.
    
    This is painful for now but most of specific stat interface functions
    will be replaced with a handful of generic helpers.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    c1768268
blk-cgroup.h 13.8 KB