FSCQ
FSCQ is a research filesystem whose Coq implementation is proved to satisfy a specification that includes recovery after crashes.
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. [1]
The 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. [2]
DFSCQ 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. [3]
The 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. [4]
Relations
Limitations
- The authors state that the software is not maintained and do not recommend deploying the research prototype. [2]
- The original specification permits out-of-resource errors without requiring actual resource exhaustion. [1]
Citations
- Chen et al. Using Crash Hoare Logic for Certifying the FSCQ File System. SOSP 2015, sections 3.2, 6 and 7.2.
- FSCQ authors. Research-prototype warning and branch identities. README at revision 2c7ef9c268fd.
- Chen et al. Verifying a high-performance crash-safe file system using a tree specification. SOSP 2017, sections 1 and 4.
- Chajed et al. Certifying a File System Using Crash Hoare Logic. CACM 60(4), 2017, section 5.3.
Further reading
- Hesela: reading FSCQ's proof boundary and artifact identity.
- Hesela: structured FSCQ source locators and evidence scope.
Sources & caveats
- Primary-source review, not a Coq proof rerun, benchmark replication or device qualification. The original paper and later repository are explicitly separated.