summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2021-08-19 14:00:57 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-15 09:50:46 +0200
commit611b7f9dc9f696ba0f9ab03b5c6500f3718cbebe (patch)
treefe04edbdb3c38b4c00a6b1288f0abea29b68746a /include
parent75ffcd85dff52e3e94a62587d339bc2fb81aba07 (diff)
downloadlinux-stable-611b7f9dc9f696ba0f9ab03b5c6500f3718cbebe.tar.gz
linux-stable-611b7f9dc9f696ba0f9ab03b5c6500f3718cbebe.tar.bz2
linux-stable-611b7f9dc9f696ba0f9ab03b5c6500f3718cbebe.zip
f2fs: guarantee to write dirty data when enabling checkpoint back
commit dddd3d65293a52c2c3850c19b1e5115712e534d8 upstream. 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. Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions