Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not consider blocks without deleted pages for GC
GC'ing such a block will not free any pages so is kind of pointless. This fixes cases where GC cannot make any progress. This also means that static data will not get rewritten and thus its blocks not get even wear. However, since SPIFFS is not fault-tolerant keeping static data safe and not rewriting it is a plus, and wear-leveling takes a back seat in this case. CL: vfs-fs-spiffs: Do not consider blocks without deleted pages for GC PUBLISHED_FROM=984f987d715d7066273d4893222fa2ba26df029e
- Loading branch information