[issue26826] Expose new copy_file_range() syscall in os module.
STINNER Victor
report at bugs.python.org
Tue Jun 4 11:02:52 EDT 2019
STINNER Victor <vstinner at redhat.com> added the comment:
Giampaolo Rodola':
> shutil.copyfile() already uses sendfile() which basically provides the same performances. sendfile() should be preferred though because it’s supported since Linux 2.6.33.
Pablo Galindo Salgado:
> But copy_file_rane can leverage more filesystem features like deduplication and copy offload stuff.
We can use copy_file_range() if available, or fallback to sendfile().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26826>
_______________________________________
More information about the Python-bugs-list
mailing list