From 60b37f2161800f5b7e46ea8a0dd6d33aa4db5cd4 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Wed, 6 Sep 2023 13:58:10 +0200 Subject: vfs: copy_file_range() between multiple mountpoints of the same fs type VOP_COPY_FILE_RANGE(9) is now caled when source and target vnodes reside on the same filesystem type (not just on the same mountpoint). The check if vnodes are on the same mountpoint must be done in the filesystem code. There are currently only three users - fusefs(5) already has this check, ZFS can handle multiple mountpoints and a check has been added to NFS client. ZFS block cloning is now possible between all snapshots and datasets of the same ZFS pool. This is an early MFC due to release schedule. Reviewed by: rmacklem Differential Revision: https://reviews.freebsd.org/D41721 Approved by: re (gjb) (cherry picked from commit 969071be938ca9b96f8dff003c7b43d6308849f1) --- share/man/man9/VOP_COPY_FILE_RANGE.9 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/man/man9/VOP_COPY_FILE_RANGE.9 b/share/man/man9/VOP_COPY_FILE_RANGE.9 index 9243210cb265..aa17670954f4 100644 --- a/share/man/man9/VOP_COPY_FILE_RANGE.9 +++ b/share/man/man9/VOP_COPY_FILE_RANGE.9 @@ -28,8 +28,8 @@ .Os .Sh NAME .Nm VOP_COPY_FILE_RANGE -.Nd copy a byte range from one file to another or within one file -in a single file system +.Nd copy a byte range within a file or from one file to another in a single +file system or between multiple file systems .Sh SYNOPSIS .In sys/param.h .In sys/vnode.h -- cgit v1.2.3