{
  "slug": "ccfs",
  "term": "CCFS",
  "aliases": [
    "Crash-Consistent File System"
  ],
  "definition": "CCFS is a research filesystem that preserves update order within application-selected streams while allowing independent streams to commit separately.",
  "note": "Streams reduce false write dependencies: forcing one application's work need not flush unrelated work. CCFS adapts ext4 using hybrid-granularity journaling and order-preserving delayed allocation. This is a historical research design, not a stock ext4 option. [ccfs-fast]\n\nIndependence has limits. Creating a file depends on creation of its parent directory; pending related operations can temporarily merge streams. A stream identifies work, not permanent file ownership. [ccfs-tos]\n\nThe default API honors fsync. Its optional IGNORE_FSYNC mode requires explicit streamsync calls wherever durability is promised; ordering alone permits lost recent work. [ccfs-tos]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "Hesela's finite example checks logical prerequisites only; it does not reproduce CCFS crash recovery or performance.",
      "citationIds": [
        "hesela"
      ]
    },
    {
      "text": "Different stream IDs do not isolate shared data: the prototype relates updates to the same regular file, explicit inode attributes, or the same directory-entry name.",
      "citationIds": [
        "ccfs-tos"
      ]
    }
  ],
  "related": [
    "persistence-ordering",
    "crash-consistency"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "ccfs-fast",
      "title": "Pillai et al. Application Crash Consistency and Performance with CCFS. FAST 2017, pp. 181-196.",
      "url": "https://www.usenix.org/conference/fast17/technical-sessions/presentation/pillai",
      "accessed": "2026-12-01"
    },
    {
      "id": "ccfs-tos",
      "title": "Pillai et al. CCFS, extended article. ACM TOS 13(3), 2017, article 19; sections 3.2, 3.5, 4.1 and 5. DOI: 10.1145/3119897.",
      "url": "https://research.cs.wisc.edu/adsl/Publications/ccfs-tos17.pdf",
      "accessed": "2026-12-01"
    },
    {
      "id": "hesela",
      "title": "Hesela: CCFS stream dependencies and a finite recovery-state example",
      "url": "https://hesela.com/analyses/storage-consistency-ordering/#ccfs-streams",
      "accessed": "2026-12-01"
    }
  ],
  "updated": "2026-12-01",
  "provenance": [
    "Reviewed full papers, including API, implementation, evaluation and limitations. No native CCFS execution."
  ]
}
