Re: [f2fs-dev] [PATCH 5/5] f2fs: avoid out-of-order execution of atomic writes
From: Chao Yu
Date: Thu Feb 23 2017 - 04:23:53 EST
On 2017/2/4 7:48, Jaegeuk Kim wrote:
> We need to flush data writes before flushing last node block writes by using
> FUA with PREFLUSH. We don't need to guarantee precedent node writes since if
> those are not written, we can't reach to the last node block when scanning
> node block chain during roll-forward recovery.
> Afterwards f2fs_wait_on_page_writeback guarantees all the IO submission to
> disk, which builds a valid node block chain.
> Signed-off-by: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>