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.
Somewhat related: What I was looking for the other day was doing a buffered write, and wanting to trigger immediate writeback. One can achieve that by doing a write and then sync_file_range with SYNC_FILE_RANGE_WRITE (which is what postgres does).
-
-
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?
- 6 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.