On 05/08/2018 11:24 PM, Goldwyn Rodrigues wrote:
While performing copy_file_range(), if superblocks of file_in and file_out don't match, instead of returning -EXDEV, perform splice for a faster copy.
We have a userspace emulation in glibc which used to be quite faithful, including the EXDEV error (which is not strictly necessary to produce).
Should we change glibc to perform a userspace copy if the system call returns EXDEV due to an older kernel?
Thanks, Florian