Starting to play with dependent SQEs for io_uring. Enables things like "read data from here, then write to there". Or "open this file, then read this data from it". It's a powerful primitive, and eliminates wait points in sequences of operations.
Doable with iouring, but I was wondering if there's a cheaper way than submitting those as separate queue entries.
-
-
Maybe write with RWF_SYNC would suffice?
-
The goal is to *initiate* immediate writeback, but not to block waiting for it. Now obviously the blocking doesn't matter as much when done through io_uring as it does for plain pwrite(), but it'd require much bigger uring sizes, and a lot more userland buffers for the writes.
- 5 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.