The answer is io_uring, and it does already have fsync() in addition to sync_file_range().https://twitter.com/lwnnet/status/1130971376712638465 …
-
-
I think what you're suggesting is what the article already hints at, a way to fsync() a number of fds. More of a coalescing of fsync()'s? Might make more sense if you could detail exactly what kind of semantics you would want.
-
I don't think I *actually* want quite that - the error reporting seems like it'd be weird. I'd rather just be able to asynchronously submit multiple fsyncs, and handle them in a single flush operation from the FS side.
- 3 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.