-
Notifications
You must be signed in to change notification settings - Fork 402
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
file not visible in SPIFFS_readdir #90
Comments
Thanks, I will have a peek at it as soon as I can (somewhat chaotic right Cheers / Peter 2016-05-20 11:54 GMT+02:00 benpicco-tmp notifications@github.com:
|
Iterator bug - if an iteration was callbacked at last page in block -1, the resumed iteration would skip the last page in block. Fixing this revealed another bug, where free page marker was not advanced but pointing to the same page found before when searching for new free page. This is probably not a problem, as when searching for free pages the found free page always becomes occupied. A new free page scan will simply skip the previously found free page, which has been allocated by now. However, it is suboptimal. Also, it might have messed with the wear leveling a bit.
Thanks for finding this. It was a corner case indeed, but could lead to potentially very weird behaviour. Please retest with the new patch. Cheers! |
Ok to close? |
Hi,
you' ve always been curious about 'interesting' spiffs states, so I've got this one for you: In this dump there is a file called
cli.bin.a32
but it does not show up when querying all files like thisHowever, after deleting
cli.bin
…it shows up!
I have no trouble opening/reading the file at any time.
my config is
hidden_file.spiffs
The text was updated successfully, but these errors were encountered: