Re:Efficient File Copying on Linux
by heinrich5991 on Wednesday March 22, 2017 @07:33PM
(#13936091)
What about `copy_file_range(2)`?
[ Parent
| on HN ]
It looks like the FICLONE ioctl was chosen over the copy_file_range syscall[1] for use in coreutils due to concerns about copy_file_range not preserving holes.[2] I agree, it would be interesting to know how these compare, both in filesystem implementation coverage and performance.
Re:Efficient File Copying on Linux
by privacyfornow on Wednesday March 22, 2017 @11:16PM
(#13937170)
or sendfile() for that matter.