This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients StyXman, desbma, facundobatista, giampaolo.rodola, martin.panter, ncoghlan, neologix, pablogsal, petr.viktorin, vstinner
Date 2019-06-04.15:02:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559660572.91.0.567927969254.issue26826@roundup.psfhosted.org>
In-reply-to
Content
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().
History
Date User Action Args
2019-06-04 15:02:52vstinnersetrecipients: + vstinner, facundobatista, ncoghlan, giampaolo.rodola, StyXman, petr.viktorin, neologix, martin.panter, desbma, pablogsal
2019-06-04 15:02:52vstinnersetmessageid: <1559660572.91.0.567927969254.issue26826@roundup.psfhosted.org>
2019-06-04 15:02:52vstinnerlinkissue26826 messages
2019-06-04 15:02:52vstinnercreate