Message310454
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(). |
|
Date |
User |
Action |
Args |
2018-01-23 00:53:31 | vstinner | set | recipients:
+ vstinner, pitrou, ned.deily, njs, YoSTEALTH, nitishch |
2018-01-23 00:53:31 | vstinner | set | messageid: <1516668811.91.0.467229070634.issue31368@psf.upfronthosting.co.za> |
2018-01-23 00:53:31 | vstinner | link | issue31368 messages |
2018-01-23 00:53:31 | vstinner | create | |
|