[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zfr6QV-2IWD6yCI1@mtj.duckdns.org>
Date: Wed, 20 Mar 2024 08:01:21 -0700
From: Tejun Heo <tj@...nel.org>
To: Kemeng Shi <shikemeng@...weicloud.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
willy@...radead.org, bfoster@...hat.com, jack@...e.cz,
dsterba@...e.com, mjguzik@...il.com, dhowells@...hat.com,
peterz@...radead.org
Subject: Re: [PATCH 2/6] writeback: support retrieving per group debug
writeback stats of bdi
On Wed, Mar 20, 2024 at 07:02:18PM +0800, Kemeng Shi wrote:
> diff --git a/include/linux/writeback.h b/include/linux/writeback.h
> index 9845cb62e40b..bb1ce1123b52 100644
> --- a/include/linux/writeback.h
> +++ b/include/linux/writeback.h
> @@ -355,6 +355,7 @@ int dirtytime_interval_handler(struct ctl_table *table, int write,
>
> void global_dirty_limits(unsigned long *pbackground, unsigned long *pdirty);
> unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh);
> +unsigned long wb_calc_cg_thresh(struct bdi_writeback *wb);
Would cgwb_calc_thresh() be an easier name?
Thanks.
--
tejun
Powered by blists - more mailing lists