Recon
Recon is a research runtime checker that verifies filesystem metadata invariants before a transaction commits.
Recon translates metadata updates into logical change records and checks their relationships at commit. A bitmap change accompanying a new pointer does not alone exclude duplicate owners; its ext3 rules also count pointers to each newly allocated block. [1]
The 2014 extension checks write locations as well as transaction contents, addressing faults in the transactional mechanism. Neither version should be confused with ReconFS, a different filesystem design. [2]
In Hesela's three-inode, two-block example, all 108 candidate states have matching freshly calculated digests; 27 satisfy bitmap membership and only 13 also satisfy unique ownership. The 14-state difference is a finite counterexample to membership-only checking, not an observed failure rate. Both intermediate update orders fail the invariant before the complete allocation passes. A consistent but unintended owner remains possible. [3]
Local checks inherit facts about untouched metadata; they do not establish that the initial state was consistent. The extended allocation example checks all 1,404 consistent-start/candidate pairs with no local/global verdict disagreement. An update to block 1 can still pass while pre-existing duplicate owners of untouched block 0 remain. Omitting a changed pointer's old target can miss a leaked allocation. These are model counterexamples, not flaws found in Recon. [3]
Relations
- related
- Filesystem consistency invariant, SQCK, ReconFS, Spiffy
Advantages
- Checks metadata relationships at a point where the filesystem claims a complete transaction. [1]
Limitations
- Requires consistent initial metadata, trusted checking code and a protected cache; unknown metadata targets can evade the original ext3 interpretation. [1]
- The original transaction-layer prototype did not verify checkpointing. The later work evaluated modified ext3 and Btrfs implementations, not a guarantee for today's deployments. [1, 2]
- The linked model excludes persistence, shared extents and application semantics; it is not a filesystem checker or a Recon reproduction. [3]
Citations
- Fryer et al. Recon: Verifying File System Consistency at Runtime. FAST 2012, updated paper, sections 2.1-2.4, 3.2 and 4.1.
- Fryer et al. Checking the Integrity of Transactional Mechanisms. FAST 2014, sections 2-4.
- Hesela: allocation and local-checking examples, initial-state assumptions, results and executable controls
Sources & caveats
- Primary-source synthesis and an original finite model; no filesystem or hardware was fault-injected.
- 2026-12-04: added affected-block checks and independent owner-set oracle over 11,664 state pairs; 1,404 have consistent initial states. Reviewed FAST 2014 section 3.1. Existing complete-candidate commit helper retained.