liamHowatt commented on issue #15840: URL: https://github.com/apache/nuttx/issues/15840#issuecomment-2791576623
In terms of littlefs's syncing semantics, it's well defined that it atomically commits changes only on `lfs_file_close` or `lfs_file_sync`. > file updates are not actually committed to the filesystem until sync or close is called on the file. ([from the README](https://github.com/littlefs-project/littlefs/blob/8ed63b27be79ab59ee1cd15a950ddd64e7a602f7/README.md)) However, in the somewhat related mentioned PR, you can see that NuttX may sync at other points. Now, only in open with a truncation flag, but there may be other places in the future since there's no rule established. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org