Skip to content

Conversation

chrislusf
Copy link
Collaborator

@chrislusf chrislusf commented Jun 1, 2025

What problem are we solving?

d8c574a mistakenly treat fsync as the same sync write requests.

I was confused by the names: "fsync" and "syncWrite". "fsync" is actually implemented by "async writes", in order to amortize the cost to flush.

How are we solving the problem?

set fsync correctly

How is the PR tested?

Checks

  • I have added unit tests if possible.
  • I will add related wiki document changes and link to this PR after merging.

@chrislusf chrislusf merged commit 90802cb into master Jun 1, 2025
4 of 6 checks passed
@chrislusf chrislusf deleted the set-fsync-correctly branch June 1, 2025 19:27
@chrislusf chrislusf changed the title revert part of d8c574a5ef1a811f9a0d447097d9edfcc0c1d84c fix fsync behavior Jun 1, 2025
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.

1 participant