mirror of
https://github.com/golang/sys.git
synced 2026-02-09 12:16:04 +03:00
Introduces the CopyFileRange syscall which first appears in Linux 4.5. Allows copying file content between file descriptors within the kernel without transferring data to user space. This syscall also allows the kernel to take advantage of reflinking or other fast copy methods on supported file systems. http://man7.org/linux/man-pages/man2/copy_file_range.2.html Change-Id: Id365f1e5d4d5ddf7159478e3a13084c9576ebd5c Reviewed-on: https://go-review.googlesource.com/39992 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
34 KiB
34 KiB