Persistent block cache
A persistent block cache retains cached block data on nonvolatile storage and uses recovery metadata to reconnect those blocks to their backing store.
Persistence of the cache medium and durability of a completed write are separate properties. Linux 6.10 dm-cache commits metadata on FLUSH or FUA requests, otherwise periodically; recent writes can be lost after power failure. Its origin may hold older data in writeback mode. [1]
A clean cache is not automatically coherent after the origin changes. The documented dm-cache passthrough mode requires a clean cache and bypasses cached reads; origin snapshot rollback is one use case. That mode's precondition is not a recovery recipe for another cache implementation. [1]
Open CAS terminology distinguishes user-triggered flushing from automatic cleaning: both move dirty data to the backend and clear dirty bits. Neither name alone identifies an application's durable-commit boundary. [2]
A 2025 study of Open CAS 22.03.2 separates acknowledged requests from in-flight operations and uses synthetic stop/start procedures. Its findings are version- and procedure-scoped, not a current-release failure rate. [3]
Relations
Citations
- Linux 6.10: dm-cache modes, metadata persistence and recovery.
- Open CAS: cache operations, flushing and cleaning.
- Shaohua Duan and Youmin Chen. Crash Consistency in Block-Level Caching Systems: An Open CAS Case Study. ATC 2025, pp. 749-764; sections 5-6.
Further reading
Sources & caveats
- Primary-source synthesis; no Open CAS installation, power interruption or independent reproduction of the reported failures.