f2fs: guarantee to write dirty data when enabling checkpoint back
We must flush all the dirty data when enabling checkpoint back. Let's guarantee that first by adding a retry logic on sync_inodes_sb(). In addition to that, this patch adds to flush data in fsync when checkpoint is disabled, which can mitigate the sync_inodes_sb() failures in advance. Change-Id: Ia79be96c2fefceeeb862c7d9c7dffc028a7c2762 Signed-off-by:Jaegeuk Kim <jaegeuk@kernel.org> Git-commit: 6608ba097fa7dced01895348972f1c3d1abb1977 Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git Signed-off-by:
Sayali Lokhande <quic_sayalil@quicinc.com>
Loading
Please register or sign in to comment