Skip to content

Update fsync helper for linux 7.1 - #93

Merged
jserv merged 1 commit into
sysprog21:masterfrom
EricKim27:master
Aug 1, 2026
Merged

Update fsync helper for linux 7.1#93
jserv merged 1 commit into
sysprog21:masterfrom
EricKim27:master

Conversation

@EricKim27

@EricKim27 EricKim27 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

https://lore.kernel.org/linux-fsdevel/20260326095354.16340-56-jack@suse.cz/

in linux 7.1 and up, generic_file_fsync changed its name to simple_fsync.

Update simplefs_file_ops fsync field to simple_fsync.


Summary by cubic

Update .fsync in simplefs_file_ops to use simple_fsync on Linux 7.1+, falling back to generic_file_fsync on older kernels. This keeps the build working after the kernel helper was renamed.

Added a SIMPLEFS_AT_LEAST(7, 1, 0) guard to select the correct helper per kernel version.

Written for commit 1de9445. Summary will update on new commits.

Review in cubic

in linux 7.1 and up, generic_file_fsync changed
its name to simple_fsync. Update simplefs_file_ops
fsync field to simple_fsync

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@jserv
jserv merged commit ca88b92 into sysprog21:master Aug 1, 2026
4 checks passed
@jserv

jserv commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Thank @EricKim27 for contributing!

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.

2 participants