3 ms·
> the design of fsync is not improvable in any meaningful way I think fsync should be removed entirely. A completion based API, or simply write barriers like m
by josephg 4y ago
> the design of fsync is not improvable in any meaningful way
I think fsync should be removed entirely. A completion based API, or simply write barriers like macos does would both be more ergonomic for developers and result in faster software (since you wouldn't need to block your thread waiting for all outstanding writes to be confirmed).
- preseinger 4y agothat's fine but the guarantees offered by those approaches are weaker than those provided by fsync, so not directly comparable