diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-08-19 14:00:57 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-08-30 10:12:47 -0700 |
commit | dddd3d65293a52c2c3850c19b1e5115712e534d8 (patch) | |
tree | dfbcce98983e1e41ed25cee8365056fe6112df5a /arch | |
parent | c8dc3047c48540183744f959412d44b08c5435e1 (diff) |
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.
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions