Commit f16662ac authored by Daeho Jeong's avatar Daeho Jeong Committed by Jianan Huang
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")

Bug: 372260490
Bug: 390518232
Change-Id: Ia65957ef9632fb8e3664d097ecd0c3af6a768802
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit fccaa81d)
(cherry picked from commit 57244e8b)
parent 88625982
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment