copy_file_range
copy_file_range is a Linux system call that copies a requested file range in the kernel and reports the number of bytes actually copied.
A successful call may copy fewer bytes than requested, and zero can indicate EOF. Implementations may accelerate copying with reflinks or server-side copy; success alone does not identify physical allocation. Sparse holes can expand. [1]
Relations
- related
- reflink, sparse-file