Messages in this thread | | | Date | Tue, 10 May 2022 08:25:50 -1000 | From | Tejun Heo <> | Subject | Re: [PATCH] blk-iocost: combine local_stat and desc_stat to stat |
| |
On Tue, May 10, 2022 at 11:47:57AM +0800, Chengming Zhou wrote: > 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>
Thanks.
-- tejun
| |