Commit f42d43da authored by Daeho Jeong's avatar Daeho Jeong Committed by Jaegeuk Kim
Browse files

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: default avatarDaeho Jeong <daehojeong@google.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>

Bug: 369150601
Change-Id: I0174f94f33485d03f8eb9382f87a12ea0a67f98c
(cherry picked from commit fccaa81d)
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
parent 505f9e13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment