aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/edquota
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2019-07-25 05:46:16 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2019-07-25 05:46:16 +0000
commitbbbbeca3e9a31483f5a24b81cd9426a36085e75e (patch)
treec3a2167140c061b34660089301d37a4b0586b854 /usr.sbin/edquota
parentab8cabb1ca9dbff39da55b17d8810a3bcefc6c80 (diff)
Add kernel support for a Linux compatible copy_file_range(2) syscall.
This patch adds support to the kernel for a Linux compatible copy_file_range(2) syscall and the related VOP_COPY_FILE_RANGE(9). This syscall/VOP can be used by the NFSv4.2 client to implement the Copy operation against an NFSv4.2 server to do file copies locally on the server. The vn_generic_copy_file_range() function in this patch can be used by the NFSv4.2 server to implement the Copy operation. Fuse may also me able to use the VOP_COPY_FILE_RANGE() method. vn_generic_copy_file_range() attempts to maintain holes in the output file in the range to be copied, but may fail to do so if the input and output files are on different file systems with different _PC_MIN_HOLE_SIZE values. Separate commits will be done for the generated syscall files and userland changes. A commit for a compat32 syscall will be done later. Reviewed by: kib, asomers (plus comments by brooks, jilles) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D20584
Notes
Notes: svn path=/head/; revision=350315
Diffstat (limited to 'usr.sbin/edquota')
0 files changed, 0 insertions, 0 deletions