• Tejun Heo's avatar
    blk-throtl: stop using blkg->stat_bytes and ->stat_ios · 7ca46438
    Tejun Heo authored
    When used on cgroup1, blk-throtl uses the blkg->stat_bytes and
    ->stat_ios from blk-cgroup core to populate four stat knobs.
    blk-cgroup core is moving away from blkg_rwstat to improve scalability
    and won't be able to support this usage.
    
    It isn't like the sharing gains all that much.  Let's break them out
    to dedicated rwstat counters which are updated when on cgroup1.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    7ca46438
blk-throttle.c 69.1 KB