linux-yocto/fs/f2fs
Chao Yu bdb4da9e19 f2fs: fix to set atomic write status more clear
[ Upstream commit db03c20c08 ]

1. After we start atomic write in a database file, before committing
all data, we'd better not set inode w/ vfs dirty status to avoid
redundant updates, instead, we only set inode w/ atomic dirty status.

2. After we commit all data, before committing metadata, we need to
clear atomic dirty status, and set vfs dirty status to allow vfs flush
dirty inode.

Cc: Daeho Jeong <daehojeong@google.com>
Reported-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-27 11:08:56 +01:00
..
acl.c
acl.h
checkpoint.c Revert "f2fs: rebuild nat_bits during umount" 2025-04-25 10:45:16 +02:00
compress.c f2fs: use vmalloc instead of kvmalloc in .init_{,de}compress_ctx 2025-06-27 11:08:53 +01:00
data.c f2fs: fix to detect gcing page in f2fs_is_cp_guaranteed() 2025-06-19 15:28:12 +02:00
debug.c f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SEC 2024-06-12 11:12:28 +02:00
dir.c f2fs: Introduce linear search for dentries 2025-02-08 09:52:35 +01:00
extent_cache.c f2fs: fix to shrink read extent node in batches 2024-12-14 20:00:15 +01:00
f2fs.h f2fs: use vmalloc instead of kvmalloc in .init_{,de}compress_ctx 2025-06-27 11:08:53 +01:00
file.c f2fs: fix to wait dio completion 2025-01-09 13:31:54 +01:00
gc.c f2fs: fix to avoid use GC_AT when setting gc_mode as GC_URGENT_LOW or GC_URGENT_MID 2024-12-09 10:32:26 +01:00
gc.h
hash.c
inline.c f2fs: Introduce linear search for dentries 2025-02-08 09:52:35 +01:00
inode.c f2fs: fix to set atomic write status more clear 2025-06-27 11:08:56 +01:00
iostat.c
iostat.h
Kconfig
Makefile
namei.c f2fs: prevent kernel warning due to negative i_nlink from corrupted image 2025-06-27 11:08:48 +01:00
node.c Revert "f2fs: rebuild nat_bits during umount" 2025-04-25 10:45:16 +02:00
node.h f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SEC 2024-06-12 11:12:28 +02:00
recovery.c f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SEC 2024-06-12 11:12:28 +02:00
segment.c f2fs: fix to set atomic write status more clear 2025-06-27 11:08:56 +01:00
segment.h f2fs: fix to account dirty data in __get_secs_required() 2024-12-09 10:32:25 +01:00
shrinker.c
super.c f2fs: fix to set atomic write status more clear 2025-06-27 11:08:56 +01:00
sysfs.c f2fs: introduce f2fs_base_attr for global sysfs entries 2025-06-04 14:42:12 +02:00
verity.c
xattr.c f2fs: reduce expensive checkpoint trigger frequency 2024-10-04 16:29:36 +02:00
xattr.h