{
  "slug": "fscq",
  "term": "FSCQ",
  "aliases": [],
  "definition": "FSCQ is a research filesystem whose Coq implementation is proved to satisfy a specification that includes recovery after crashes.",
  "note": "The SOSP 2015 system wraps filesystem calls in transactions. Its disk model allows asynchronous, reordered writes but assumes atomic sector writes. Torn sectors are outside that model. [fscq15]\n\nThe extracted filesystem runs through a Haskell/FUSE interface with unverified components. The authors' repository warns against practical use and identifies master as the later DFSCQ system, not the original FSCQ artifact. [artifact]\n\nDFSCQ adds deferred writes and a metadata-prefix contract. Metadata survives in operation order, while data writes may persist out of order. Its fsync and fdatasync specifications must not be substituted for the original system's contract. [dfscq17]\n\nThe authors also tested 320 constructed disk states from one workload, observing 10 logical outcomes. This end-to-end check complements the proof; it is not its coverage denominator. [cacm17]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "The authors state that the software is not maintained and do not recommend deploying the research prototype.",
      "citationIds": [
        "artifact"
      ]
    },
    {
      "text": "The original specification permits out-of-resource errors without requiring actual resource exhaustion.",
      "citationIds": [
        "fscq15"
      ]
    }
  ],
  "related": [
    "crash-hoare-logic",
    "crash-refinement",
    "crash-test-oracle",
    "torn-write"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "fscq15",
      "title": "Chen et al. Using Crash Hoare Logic for Certifying the FSCQ File System. SOSP 2015, sections 3.2, 6 and 7.2.",
      "url": "https://pdos.csail.mit.edu/papers/fscq:sosp15.pdf",
      "accessed": "2026-12-04"
    },
    {
      "id": "artifact",
      "title": "FSCQ authors. Research-prototype warning and branch identities. README at revision 2c7ef9c268fd.",
      "url": "https://github.com/mit-pdos/fscq/blob/2c7ef9c268fd79a81b26b44ef720f8e6a1e938a0/README.md",
      "accessed": "2026-12-04"
    },
    {
      "id": "dfscq17",
      "title": "Chen et al. Verifying a high-performance crash-safe file system using a tree specification. SOSP 2017, sections 1 and 4.",
      "url": "https://pdos.csail.mit.edu/papers/dfscq.pdf",
      "accessed": "2026-12-04"
    },
    {
      "id": "cacm17",
      "title": "Chajed et al. Certifying a File System Using Crash Hoare Logic. CACM 60(4), 2017, section 5.3.",
      "url": "https://pdos.csail.mit.edu/papers/cacm-fscq.pdf",
      "accessed": "2026-12-04"
    },
    {
      "id": "hesela-review",
      "title": "Hesela: reading FSCQ's proof boundary and artifact identity.",
      "url": "https://hesela.dev/research/fscq/README.md",
      "accessed": "2026-12-04"
    },
    {
      "id": "hesela-evidence",
      "title": "Hesela: structured FSCQ source locators and evidence scope.",
      "url": "https://hesela.dev/research/fscq/proof-boundaries.json",
      "accessed": "2026-12-04"
    }
  ],
  "updated": "2026-12-04",
  "provenance": [
    "Primary-source review, not a Coq proof rerun, benchmark replication or device qualification. The original paper and later repository are explicitly separated."
  ]
}
