4 ms·
What about `copy_file_range(2)`?
by heinrich5991 10y ago
What about `copy_file_range(2)`?
- kevinoid 10y agoIt 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. 1. https://lwn.net/Articles/659523/ https://lwn.net/Articles/659523/ 2. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24399 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24399
- privacyfornow 10y agoor sendfile() for that matter.