dfscq · research · also Deferred-write FSCQ

DFSCQ

DFSCQ is a verified research filesystem that permits deferred durability while specifying crash outcomes through ordered metadata and independently persisted file data.

DFSCQ defers writes: metadata persists in order, while file data may persist out of order. [1]

Its fsync flushes all pending metadata, including unrelated directories. This is not a portable Linux guarantee. fdatasync needs block stability: the block list must grow monotonically across possible metadata states. Truncating breaks this; a log flush restores it. [1] [3]

A, B and C are distinct storage blocks; list position gives the logical offset. Truncate A,B to A, then regrow to A,C. Both endpoints have two blocks. Length alone misses the changed mapping: the model reports B at offset 1 as uncovered. A modeled log flush retains only A,C; it does not simulate data writes. This is not a DFSCQ reproduction. [5] [6]

Hash nontermination is a proof convention: a modeled collision does not return. The runtime function does not loop on collisions. The paper bridges this gap with a collision-resistance assumption, not a collision detector. [1]

The pinned interpreter uses CRC32 for Hash and Hash2. This is a revision-specific source observation, not a reproduction of the evaluated binary. The toy hash walkthrough is not a DFSCQ execution or collision-rate estimate. [7] [8]

Unmaintained prototype; Haskell/FUSE components are unverified. [2]

Relations

related
FSCQ, Crash Hoare Logic, Directory fsync, fdatasync, Write-ahead log, Direct I/O

Limitations

  • The system and specification are single-threaded; the proof does not cover concurrent system calls. [1]
  • Log bypass avoids the journal for data writes, not the buffer cache; it is distinct from direct I/O. [1]

Citations

  1. Chen et al. Verifying a high-performance crash-safe file system using a tree specification. SOSP 2017; sections 4-6. DOI: 10.1145/3132747.3132776. (accessed 2026-12-04)
  2. FSCQ authors. Research-prototype warning and branch identities. README at revision 2c7ef9c268fd. (accessed 2026-12-04)
  3. Linux man-pages: fsync(2), DESCRIPTION; file data, metadata and containing-directory entry. (accessed 2026-12-04)
  4. Hesela: file length and block identity, worked guide with executable model and tests. (accessed 2026-12-04)
  5. Hesela: generated block-identity walkthrough; pedagogical model, not measured filesystem data. (accessed 2026-12-04)
  6. DFSCQ interpreter at revision 2c7ef9c268fd: crc32_word_update and Hash/Hash2 runtime clauses. (accessed 2026-12-04)
  7. Hesela: proof versus runtime hash semantics, pinned source review and executable teaching model. (accessed 2026-12-04)

Further reading

  1. Hesela: DFSCQ source identity, section locators and review scope. (accessed 2026-12-04)
Sources & caveats
  • Primary-source review of the SOSP 2017 contract and implementation discussion, checked against the authors' pinned README and Linux interface documentation. No Coq proof rerun, prototype execution or benchmark replication.

JSON: /data/terms/dfscq.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. DFSCQ. Hesela. 2026-12-04. https://hesela.dev/terms/dfscq/