Commit 051a97cf authored by Daeho Jeong's avatar Daeho Jeong Committed by Venkatesh G (xWF)
Browse files

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

Bug: 439723009
Bug: 352181300
Bug: 441907828
(cherry picked from commit fccaa81d
 https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git

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