lkml.org 
[lkml]   [2022]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2022-05-10 20:26    [W:0.576 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site