bug#60455: Missing fallback if copy_file_range returns ENOENT?

2022-12-31 Thread Pádraig Brady
On 31/12/2022 17:00, Sam James wrote: Hi folks, Originally reported in Gentoo at https://bugs.gentoo.org/885793. Frank Limpert reported that when copying large files across CIFS shares, cp may abort because copy_file_range returns ENOENT sometimes. This sounds like a suspicious kernel bug if

bug#60455: Missing fallback if copy_file_range returns ENOENT?

2022-12-31 Thread Sam James
Hi folks, Originally reported in Gentoo at https://bugs.gentoo.org/885793. Frank Limpert reported that when copying large files across CIFS shares, cp may abort because copy_file_range returns ENOENT sometimes. This sounds like a suspicious kernel bug if CIFS interactions are sometimes

bug#60416: [PATCH] copy: attempt copy offload with sparse files

2022-12-31 Thread Pádraig Brady
On 31/12/2022 01:36, Paul Eggert wrote: On 2022-12-30 16:23, Pádraig Brady wrote: I may follow up with a related patch to ensure we _don't_ use copy_file_range with --sparse=never. Not sure it's worth the bother. A file system that would create holes with copy_file_range could also do so