2 ms·
This has actually changed with io_uring in the latest sets of linux kernels. It's all still very new and not well supported in most standard libraries or langu
by simcop2387 6y ago
This has actually changed with io_uring in the latest sets of linux kernels. It's all still very new and not well supported in most standard libraries or languages yet though.
https://lwn.net/Articles/810414/ https://lwn.net/Articles/810414/
For cases like that discussion about opening lots of files over NFS this should allow it to be done completely async. The actual time to do it won't be better on a per file basis but you'd be able to parallelize them and do other work while waiting on the opens to complete.
- merb 6y agowell yeah io_uring would fix this, but as far as I know there is no support for opening files with io_uring, yet? maybe I'm wrong here tough, but the initial interface was without.
- wtallis 6y agoSupport for openat2() and close() was merged during the 5.6-rc period. So it's only been in stable kernels for about 5 months.