ioctl_ficlonerange.2, ioctl_fideduperange.2: Mention same-filesystem requirement

Mention that FICLONE, FICLONERANGE, and FIDEDUPERANGE all require
both files to reside on the same filesystem.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Darrick J. Wong 2016-06-08 09:40:40 -07:00 committed by Michael Kerrisk
parent 1b2385537f
commit 8592ec74bd
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ file appear in the
.I dest_fd
file by sharing the underlying storage, which is faster than making a separate
physical copy of the data.
Both files must reside within the same filesystem.
If a file write should occur to a shared region,
the filesystem must ensure that the changes remain private to the file being
written.

View File

@ -34,6 +34,7 @@ file appear in the
.B dest_fd
file by sharing the underlying storage if the file data is identical
("deduplication").
Both files must reside within the same filesystem.
This reduces storage consumption by allowing the filesystem
to store one shared copy of the data.
If a file write should occur to a shared