-
Notifications
You must be signed in to change notification settings - Fork 768
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
When are file attributes finally written to "disk"? #956
Labels
needs investigation
no idea what is wrong
Comments
I'm not sure if this is an issue on my side - I'll have to investigate this further... |
This certainly shouldn't happen. Progs in littlefs may be cached sometimes, but not when metadata changes are involved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using lfs_setattr() it seems the attribute data are not immediately written to "disk" (the corresponding file was not open).
During the call of lfs_setattr() there was no call to the "program" function (lfs_config::prog) and after a restart of the system the file attribute is not available.
I wonder how I can enforce littlefs to perform the write to "disk"?
The text was updated successfully, but these errors were encountered: