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 StyXman
Recipients StyXman
Date 2016-04-22.11:40:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461325239.41.0.30054024313.issue26826@psf.upfronthosting.co.za>
In-reply-to
Content
copy_file_range() has been introduced in the Linux kernel since version 4.5 (mid march 2016). This new syscall allows to copy data from one fd to another without passing by user space, improving speed in most cases. You can read more about it here:

https://lwn.net/Articles/659523/

I intend to start working on adding a binding for it in the os module and then, if it's available, use it in shutils.copy() to improve its efficiency. I have a couple of questions: If the syscall is not available, should I implement a user space alternative or should the method not exist at all?
History
Date User Action Args
2016-04-22 11:40:39StyXmansetrecipients: + StyXman
2016-04-22 11:40:39StyXmansetmessageid: <1461325239.41.0.30054024313.issue26826@psf.upfronthosting.co.za>
2016-04-22 11:40:39StyXmanlinkissue26826 messages
2016-04-22 11:40:39StyXmancreate