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]
Relations
- related
- Filesystem consistency invariant, SQCK, ReconFS
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: exhaustive allocation example, assumptions, results and executable controls
Sources & caveats
- Primary-source synthesis and an original finite model; no filesystem or hardware was fault-injected.