The answer is io_uring, and it does already have fsync() in addition to sync_file_range().https://twitter.com/lwnnet/status/1130971376712638465 …
I was thinking that it'd be useful to be able to limit the number of fsyncs etc that are grouped together. A database would e.g. want to fdatasync the minimal for a OLTP foreground commit. But do bulk-fsync for checkpointing, bulk writes, etc.
-
-
Could, I guess, also be achieved by separate queues, or at least separate submissions. Seems like it could add unnecessary complexity though.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
This would have to be explicit, and hence a single queue would be much better for that. Wouldn't be hard to utilize the SQE linkage mechanism for this. All the work is really outside of io_uring, VFS and file system.
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.