Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_Logger: File: clean up fsync code #29308

Merged
merged 4 commits into from
Feb 17, 2025

Conversation

tpwrules
Copy link
Contributor

See commits for details.

Costs <200 bytes on ChibiOS in general but simplifies the code and allows for further cleanup. I intend to come back and do this as well, I think some of these assumptions are outdated.

Tested on Cube Orange and KakuteH7Mini-Nand. Log behavior and performance is identical before and after.

@tpwrules tpwrules requested review from tridge and andyp1per February 16, 2025 21:43
Copy link
Contributor

@tridge tridge left a comment

Choose a reason for hiding this comment

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

looks good to me!
@peterbarker you OK with this as logging maintainer?

@peterbarker peterbarker merged commit ec7ece3 into ArduPilot:master Feb 17, 2025
102 checks passed
@tpwrules tpwrules deleted the pr/fsync-better branch February 17, 2025 16:23
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