Now that io_uring will be in the upcoming 5.1 kernel, I spent some time writing up how it came to be and how it works. More formats likely coming, and I expect a few revisions too. For now, consider this v1.0 of the doc: http://kernel.dk/io_uring.pdf
Yea, that'd really be useful. Requiring a userspace 'queue drain' at that point seems a) unnecessarily slow b) failure prone.
-
-
It runs counter to what the API is trying to achieve, having applications needing to care about those kinds of details. And it's non-trivial. I'll dust off the barrier implementation and provide an IORING_FSYNC_BARRIER flag for that use case.
-
OK done, now I just need to test it. Almost not worth the time, I'm sure it's perfect. Yeah.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.