Skip to content

feat: unifiedlog: add opt-in stricter mmap fsync mode#944

Merged
gbin merged 1 commit into
masterfrom
gbin/mmap-fsync
Mar 21, 2026
Merged

feat: unifiedlog: add opt-in stricter mmap fsync mode#944
gbin merged 1 commit into
masterfrom
gbin/mmap-fsync

Conversation

@gbin

@gbin gbin commented Mar 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Today we are leaving the OS backpressure on pages to schedule the flush to disk. This change enable a more urgent, fsync to disk to assure that all the bytes hit the storage in real time.

Related issues

  • Closes #

Changes

Testing

  • just fmt
  • just lint
  • just test
  • optional full just std-ci (if std/runtime paths are impacted)
  • optional full just nostd-ci (if embedded/no_std paths are impacted)
  • Other (please specify):

pro-tip: just with no parameters in the root defaults to just fmt, just lint, and just test.

Checklist

  • I have updated docs or examples where needed
  • I have added or updated tests where needed
  • I have considered platform impact (Linux/macOS/Windows/embedded)
  • I have considered config/logging changes (if applicable)
  • This change is not a breaking change (or I documented it below)

Breaking changes (if any)

Additional context

@gbin gbin added enhancement New feature or request include in changelog labels Mar 21, 2026
@gbin gbin merged commit e9eeb17 into master Mar 21, 2026
24 of 25 checks passed
@gbin gbin deleted the gbin/mmap-fsync branch March 21, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant