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
-
-
Agree, that would be useful. One thing I've been pondering is a barrier type command. Right now you can queue an fsync after a bunch of writes, but ordering is not guaranteed. It'd be nifty to have explicit ordering be possible for that, fsync not issued before pending writes.
-
Yea, that'd really be useful. Requiring a userspace 'queue drain' at that point seems a) unnecessarily slow b) failure prone.
- 6 more replies
New conversation -
-
-
It would basically just be a subset of an explicit barrier command, which would do the same thing separately. Actually already have code for this...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I've been experimenting recently with using io_uring and liburing for Postgres. Nothing serious, just a buffer prefetching, but nevertheless this feature looks interesting.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.