Author Albert.Zeyer
Recipients Albert.Zeyer, desbma, giampaolo.rodola, koobs, pablogsal, vstinner
Date 2020-12-31.09:20:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I did some further research (with all details here:

See vfs_copy_file_range in the Linux kernel. This first tries to call remap_file_range if possible.

FICLONE calls ioctl_file_clone. ioctl_file_clone calls vfs_clone_file_range. vfs_clone_file_range calls remap_file_range. I.e. FICLONE == remap_file_range.

So using copy_file_range (if available) should be the most generic solution, which includes copy-on-write support, and server-side copy support.
Date User Action Args
2020-12-31 09:20:13Albert.Zeyersetrecipients: + Albert.Zeyer, vstinner, giampaolo.rodola, desbma, koobs, pablogsal
2020-12-31 09:20:13Albert.Zeyersetmessageid: <>
2020-12-31 09:20:13Albert.Zeyerlinkissue37157 messages
2020-12-31 09:20:13Albert.Zeyercreate