linux-yocto/fs/exfat
Zhengxu Zhang 940d156e3c exfat: fdatasync flag should be same like generic_write_sync()
[ Upstream commit 2f2d42a17b ]

Test: androbench by default setting, use 64GB sdcard.
 the random write speed:
	without this patch 3.5MB/s
	with this patch 7MB/s

After patch "11a347fb6cef", the random write speed decreased significantly.
the .write_iter() interface had been modified, and check the differences
with generic_file_write_iter(), when calling generic_write_sync() and
exfat_file_write_iter() to call vfs_fsync_range(), the fdatasync flag is
wrong, and make not use the fdatasync mode, and make random write speed
decreased. So use generic_write_sync() instead of vfs_fsync_range().

Fixes: 11a347fb6c ("exfat: change to get file size from DataLength")
Signed-off-by: Zhengxu Zhang <zhengxu.zhang@unisoc.com>
Acked-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-15 16:39:19 +02:00
..
balloc.c exfat: support batch discard of clusters when freeing clusters 2025-03-27 21:18:02 +09:00
cache.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
dir.c exfat: fix the infinite loop in exfat_readdir() 2024-12-31 17:49:40 +09:00
exfat_fs.h exfat: remove count used cluster from exfat_statfs() 2025-03-27 21:18:02 +09:00
exfat_raw.h exfat: add ioctls for accessing attributes 2023-10-31 10:00:51 +09:00
fatent.c exfat: fix the infinite loop in exfat_find_last_cluster() 2025-03-27 21:18:03 +09:00
file.c exfat: fdatasync flag should be same like generic_write_sync() 2025-08-15 16:39:19 +02:00
inode.c exfat: call bh_read in get_block only when necessary 2025-03-29 22:03:11 +09:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile
misc.c exfat: convert to new timestamp accessors 2023-10-18 13:26:21 +02:00
namei.c vfs-6.15-rc1.async.dir 2025-03-24 10:47:14 -07:00
nls.c exfat: fix double free in delayed_free 2025-05-26 20:25:23 +09:00
super.c exfat: do not clear volume dirty flag during sync 2025-05-26 20:25:23 +09:00