You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
During the call of lfs_setattr() there was no call to the "program" function
This certainly shouldn't happen. Progs in littlefs may be cached sometimes, but not when metadata changes are involved. lfs_setattr is a small wrapper over lfs_dir_commit, which flushes and syncs the new metadata to disk.
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: