Skip to content

Conversation

@kim
Copy link
Contributor

@kim kim commented Mar 4, 2025

fdatasync is sufficient and faster. Even though the documentation for
sync_all doesn't describe POSIX semantics, the implementation for *nix
systems (except apple's) is indeed fdatasync. Others will get fsync.

Expected complexity level and risk

1

Testing

Semantics preserving.

`fdatasync` is sufficient and faster. Even though the documentation for
`sync_all` doesn't describe POSIX semantics, the implementation for *nix
systems (except apple's) is indeed `fdatasync`. Others will get `fsync`.
@kim kim requested a review from Shubham8287 March 4, 2025 08:40
@kim kim added this pull request to the merge queue Mar 4, 2025
Merged via the queue into master with commit 8054999 Mar 4, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants