diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2022-05-10 05:47:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-05-12 01:05:52 +0200 |
commit | 2a371f7d5fa575010b915e325c5d20b9ad0d5d5a (patch) | |
tree | dbaac60d44bfcddff3a1618e4bcfd12297330a5c /tools/cgroup | |
parent | block: improve the error message from bio_check_eod (diff) | |
download | linux-2a371f7d5fa575010b915e325c5d20b9ad0d5d5a.tar.xz linux-2a371f7d5fa575010b915e325c5d20b9ad0d5d5a.zip |
blk-iocost: combine local_stat and desc_stat to stat
When we flush usage, wait, indebt stat in iocg_flush_stat(), we use
local_stat and desc_stat, which has no point since the leaf iocg
only has local_stat and the inner iocg only has desc_stat. Also
we don't need to flush percpu abs_vusage for these inner iocgs.
This patch combine local_stat and desc_stat to stat, only flush
percpu abs_vusage for active leaf iocgs, then build inner walk
list to propagate.
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220510034757.21761-1-zhouchengming@bytedance.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions