--- Begin Message ---
Subject: |
Be more liberal using copy_file_range() with NFS mounted filesystems |
Date: |
Thu, 29 Dec 2022 12:04:38 -0400 |
When using a nfs export, cp seems to not try hard enough using
copy_file_range(). This was
the conclusion we arrived in this forum thread[1] at Truenas forums.
It was found a way to force
cp to use it, but it should not be necessary, since there are supposed
to be fallbacks.
I'm unsure if we found something that triggered the undesired behavior.
[1]:
https://www.truenas.com/community/threads/nfs-does-not-support-server-side-copy-with-zfs.103309/post-712071
--
Braiam
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#60416: [PATCH] copy: attempt copy offload with sparse files |
Date: |
Sat, 31 Dec 2022 00:23:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.0 |
On 30/12/2022 22:32, Paul Eggert wrote:
Thanks, looks good, please install.
Thanks for the review.
OP also posted good results.
Pushed with NEWS entry.
Marking this as done.
I may follow up with a related patch to
ensure we _don't_ use copy_file_range with --sparse=never.
cheers,
Pádraig
--- End Message ---