aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_exchrange.c
diff options
context:
space:
mode:
authorZhengxu Zhang <[email protected]>2025-06-19 01:33:31 +0000
committerNamjae Jeon <[email protected]>2025-07-31 23:34:17 +0000
commit2f2d42a17b5a6711378d39df74f1f69a831c5d4e (patch)
tree45b5140da0ec228d63f4ef047aa689d06445d887 /fs/xfs/xfs_exchrange.c
parentMerge tag 'mtd/for-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd... (diff)
downloadkernel-2f2d42a17b5a6711378d39df74f1f69a831c5d4e.tar.gz
kernel-2f2d42a17b5a6711378d39df74f1f69a831c5d4e.zip
exfat: fdatasync flag should be same like generic_write_sync()
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: 11a347fb6cef ("exfat: change to get file size from DataLength") Signed-off-by: Zhengxu Zhang <[email protected]> Acked-by: Yuezhang Mo <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions