From 2bea5d44a5175381471483576b9c6931debec235 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 27 Jan 2016 09:10:32 +0100 Subject: [PATCH] copy_file_range.2: Add notes on copy_on_write() filesystem optimizations Based on Anna Schumaker's noted in the initial commit for this man page. Signed-off-by: Michael Kerrisk --- man2/copy_file_range.2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man2/copy_file_range.2 b/man2/copy_file_range.2 index da0ce890f..fee7b86d4 100644 --- a/man2/copy_file_range.2 +++ b/man2/copy_file_range.2 @@ -143,6 +143,12 @@ in a loop, and using the and .BR SEEK_HOLE operations to find the locations of data segments. + +.BR copy_file_range () +gives filesystems an opportunity to implement "copy acceleration" techniques, +such as the use of reflinks (i.e., two or more i-nodes that share +pointers to the same copy-on-write disk blocks) +or server-side-copy (in the case of NFS). .SH EXAMPLE .nf #define _GNU_SOURCE