The design of littlefs
Summary
The article explains the design of littlefs, a compact, power-loss resilient filesystem for microcontrollers. It covers two-block metadata pairs for atomic updates, CTZ skip-lists for efficient data structures, a lookahead-based block allocator, and wear leveling, with notes on directory structures and a global state mechanism for complex operations.