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 YoSTEALTH, ned.deily, nitishch, njs, pitrou, vstinner
Date 2018-01-23.00:53:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516668811.91.0.467229070634.issue31368@psf.upfronthosting.co.za>
In-reply-to
Content
Explanation for myself.

https://kernelnewbies.org/Linux_4.14#Asynchronous_buffered_I.2FO_support

"In this release, the preadv2(2) syscall with RWF_NONBLOCK will let userspace applications bypass enqueuing operation in the threadpool if it's already available in the pagecache."

For applications using a thread pool, like the aiofiles does for asyncio, preadv2() allows to bypass the thread pool which is obviously faster. If the read block, just uses thread pool as currently done.

Same rationale for pwritev2().
History
Date User Action Args
2018-01-23 00:53:31vstinnersetrecipients: + vstinner, pitrou, ned.deily, njs, YoSTEALTH, nitishch
2018-01-23 00:53:31vstinnersetmessageid: <1516668811.91.0.467229070634.issue31368@psf.upfronthosting.co.za>
2018-01-23 00:53:31vstinnerlinkissue31368 messages
2018-01-23 00:53:31vstinnercreate