Re: [PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-18 Thread Olga Kornievskaia
On Thu, Feb 18, 2021 at 1:48 AM Amir Goldstein wrote: > > On Thu, Feb 18, 2021 at 7:33 AM Olga Kornievskaia wrote: > > > > On Wed, Feb 17, 2021 at 3:30 PM Luis Henriques wrote: > > > > > > A regression has been reported by Nicolas Boichat, found while using the > > > copy_file_range syscall to c

Re: [PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-18 Thread Christoph Hellwig
On Wed, Feb 17, 2021 at 05:26:54PM +, Luis Henriques wrote: > A regression has been reported by Nicolas Boichat, found while using the > copy_file_range syscall to copy a tracefs file. Before commit > 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the > kernel would return

Re: [PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-17 Thread Amir Goldstein
On Thu, Feb 18, 2021 at 7:33 AM Olga Kornievskaia wrote: > > On Wed, Feb 17, 2021 at 3:30 PM Luis Henriques wrote: > > > > A regression has been reported by Nicolas Boichat, found while using the > > copy_file_range syscall to copy a tracefs file. Before commit > > 5dae222a5ff0 ("vfs: allow copy

Re: [PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-17 Thread Olga Kornievskaia
On Wed, Feb 17, 2021 at 3:30 PM Luis Henriques wrote: > > A regression has been reported by Nicolas Boichat, found while using the > copy_file_range syscall to copy a tracefs file. Before commit > 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the > kernel would return -EXDEV

Re: [PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-17 Thread Nicolas Boichat
On Thu, Feb 18, 2021 at 1:25 AM Luis Henriques wrote: > > A regression has been reported by Nicolas Boichat, found while using the > copy_file_range syscall to copy a tracefs file. Before commit > 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the > kernel would return -EXDEV

Re: [PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-17 Thread Amir Goldstein
On Wed, Feb 17, 2021 at 7:25 PM Luis Henriques wrote: > > A regression has been reported by Nicolas Boichat, found while using the > copy_file_range syscall to copy a tracefs file. Before commit > 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the > kernel would return -EXDEV

[PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-17 Thread Luis Henriques
A regression has been reported by Nicolas Boichat, found while using the copy_file_range syscall to copy a tracefs file. Before commit 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the kernel would return -EXDEV to userspace when trying to copy a file across different filesyst