commit | 7437823fa46880cf89a515351d9e5a7776cfb016 | [log] [tgz] |
---|---|---|
author | LongPing Wei <weilongping@oppo.com> | Wed Dec 11 08:14:04 2024 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Dec 12 16:21:18 2024 +0000 |
tree | 8e50317fed8fe5e804c189007a2aa001d7dfdd1f | |
parent | ad3736cca5284ca1b1521e5826f81f496d86d0ff [diff] |
f2fs-tools: use pread and pwrite when they are available. This patch wants to reduce the number of system calls to improve performance. pread and pwrite will only be used when the target platform support them. Signed-off-by: LongPing Wei <weilongping@oppo.com> Reviewed-by: Chao Yu <chao@kernel.org> Reviewed-by: Sheng Yong <shengyong@oppo.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>