{
  "slug": "persistent-block-cache",
  "term": "Persistent block cache",
  "aliases": [
    "nonvolatile block cache"
  ],
  "definition": "A persistent block cache retains cached block data on nonvolatile storage and uses recovery metadata to reconnect those blocks to their backing store.",
  "note": "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. [persistent-dm-cache]\n\nA 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. [persistent-dm-cache]\n\nOpen 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. [cas-operations]\n\nA 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. [duan-cache]",
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "related": [
    "write-back-cache",
    "write-through-cache",
    "crash-consistency",
    "dm-writecache"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-01",
  "citations": [
    {
      "id": "persistent-dm-cache",
      "title": "Linux 6.10: dm-cache modes, metadata persistence and recovery.",
      "url": "https://www.kernel.org/doc/html/v6.10/admin-guide/device-mapper/cache.html",
      "accessed": "2026-11-29"
    },
    {
      "id": "cas-operations",
      "title": "Open CAS: cache operations, flushing and cleaning.",
      "url": "https://open-cas.com/concepts/cache-operations/",
      "accessed": "2026-11-29"
    },
    {
      "id": "duan-cache",
      "title": "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.",
      "url": "https://www.usenix.org/system/files/atc25-duan-shaohua.pdf",
      "accessed": "2026-11-29"
    },
    {
      "id": "hesela-cache-recovery",
      "title": "Hesela: testing recovery across a persistent block cache.",
      "url": "https://hesela.com/analyses/crash-testing-oracles-and-bounds/#persistent-cache",
      "accessed": "2026-11-29"
    }
  ],
  "provenance": [
    "Primary-source synthesis; no Open CAS installation, power interruption or independent reproduction of the reported failures."
  ]
}
