[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bf5760eb-cdc4-fb41-41cc-03496b6727fe@huawei.com>
Date: Thu, 28 Jan 2021 15:04:27 +0800
From: Chao Yu <yuchao0@...wei.com>
To: Jaegeuk Kim <jaegeuk@...nel.org>, <linux-kernel@...r.kernel.org>,
<linux-f2fs-devel@...ts.sourceforge.net>, <kernel-team@...roid.com>
CC: <stable@...r.kernel.org>
Subject: Re: [f2fs-dev] [PATCH] f2fs: flush data when enabling checkpoint back
On 2021/1/27 9:44, Jaegeuk Kim wrote:
> During checkpoint=disable period, f2fs bypasses all the synchronous IOs such as
> sync and fsync. So, when enabling it back, we must flush all of them in order
> to keep the data persistent. Otherwise, suddern power-cut right after enabling
> checkpoint will cause data loss.
>
> Fixes: 4354994f097d ("f2fs: checkpoint disabling")
> Cc: stable@...r.kernel.org
> Signed-off-by: Jaegeuk Kim <jaegeuk@...nel.org>
Reviewed-by: Chao Yu <yuchao0@...wei.com>
Thanks,
Powered by blists - more mailing lists