patch to add a Linux compatible copy_file_range(2) syscall

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Mon, 10 Jun 2019 01:32:40 +0000
Hi,

I just put a patch in phabricator that is intended to add a Linux compatible
copy_file_range(2) syscall. My main interest in having this is that NFSv4.2 will
know how to do file copying locally on the NFS server, saving all the reads/writes
across the wire.

It copies the file byte range in the kernel. I don't know how the performance
compares with a userland file copy done to a local file system on the machine.
(It would save syscalls, but I have no idea if that will result in a noticeable
 performance difference?)

It is at https://reviews.freebsd.org/D20584
I've listed a few guys as possible reviewers, but if anyone else would like to review
it, feel free to add yourself.

If anyone is able to test this, it would be appreciated and let me know how it goes, rick.
Received on Sun Jun 09 2019 - 23:32:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC