[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c559c081-b9db-38dd-4c63-d22df4614c02@kernel.org>
Date: Mon, 12 Dec 2022 18:23:52 +0800
From: Chao Yu <chao@...nel.org>
To: Yuwei Guan <ssawgyw@...il.com>, jaegeuk@...nel.org
Cc: linux-f2fs-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, Yuwei.Guan@...krlife.com
Subject: Re: [PATCH v2] f2fs: reset wait_ms to default if any of the victims
have been selected
On 2022/12/11 21:08, Yuwei Guan wrote:
> In non-foreground gc mode, if no victim is selected, the gc process
> will wait for no_gc_sleep_time before waking up again. In this
> subsequent time, even though a victim will be selected, the gc process
> still waits for no_gc_sleep_time before waking up. The configuration
> of wait_ms is not reasonable.
>
> After any of the victims have been selected, we need to reset wait_ms to
> default sleep time from no_gc_sleep_time.
>
> Signed-off-by: Yuwei Guan <Yuwei.Guan@...krlife.com>
Reviewed-by: Chao Yu <chao@...nel.org>
Thanks,
Powered by blists - more mailing lists