UPSTREAM: f2fs: prevent atomic file from being dirtied before commit
Keep atomic file clean while updating and make it dirtied during commit in order to avoid unnecessary and excessive inode updates in the previous fix. Fixes: 4bf78322 ("f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag") Signed-off-by:Daeho Jeong <daehojeong@google.com> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> Bug: 369150601 Change-Id: I0174f94f33485d03f8eb9382f87a12ea0a67f98c (cherry picked from commit fccaa81d) Signed-off-by:
Daeho Jeong <daehojeong@google.com>
Loading