- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8.2k
Description
Describe the bug
When LittleFS is configured with block count greater than block_size, the filesystem will fail after some amount of time writing data to the file system. The error reported is "Corrupted dir pair"
To Reproduce
- Use a flash part with LittleFS that requires configuring block count > block size
- Set up repeated writes to the filesystem
Expected behavior
System should work without issue until the flash is worn out from the repeated writes
Impact
This is currently a show stopper for me. The project I am working on is a long term data logger so not being able to run for more than a few minutes is a major impact to our progress.
Logs and console output
I don't have the console output in front of me but can recreate and provide if needed
Environment (please complete the following information):
- OS: Windows
- Zephyr via Nordic NRF Connect
- v2.6.0-rc1-ncs1
Additional context
This issue has already been resolved in the upstream littlefs repo (see the first bullet here littlefs-project/littlefs#487). Syncing to the latest release of littlefs will address this issue.