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 <jaeg...@kernel.org>

Reviewed-by: Chao Yu <yuch...@huawei.com>

Reply via email to