Albert Zeyer <alb...@googlemail.com> added the comment:

According to the man page of copy_file_range 
(https://man7.org/linux/man-pages/man2/copy_file_range.2.html), copy_file_range 
also should support copy-on-write:

>       copy_file_range() gives filesystems an opportunity to implement
>       "copy acceleration" techniques, such as the use of reflinks
>       (i.e., two or more inodes that share pointers to the same copy-
>       on-write disk blocks) or server-side-copy (in the case of NFS).

Is this wrong?

However, while researching more about FICLONE vs copy_file_range, I found e.g. 
this: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24399

Which suggests that there are other problems with copy_file_range?

----------
nosy: +Albert.Zeyer

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37159>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to