ffsck
ffsck is a research filesystem checker that uses rext3's clustered, self-identifying metadata to replace inode-tree traversal with disk-order scanning.
The rext3 filesystem groups indirect blocks and directory blocks separately from ordinary file data. Backpointers identify metadata without first walking its inode tree. ffsck retains compact cross-check information after local checks. This trades allocation flexibility and memory for fewer seeks. [1]
The fast scan trusts allocation information. Detected bitmap/checksum disagreement triggers a traditional traversal; the prototype's simple checksum can miss collisions. Fast scanning therefore does not imply complete corruption detection. [1]
A 2013 FreeBSD adaptation used a flexible metadata-placement hint and kept the first indirect block beside file data. It retained the disk format rather than implementing the complete rext3 design. [2]
Relations
Citations
- Ma et al. ffsck: The Fast File System Checker. FAST 2013, pp. 1-15, sections 4-6.
- Marshall Kirk McKusick. Improving the Performance of fsck in FreeBSD. ;login: 38(2), April 2013, pp. 20-22.
Sources & caveats
- Historical source review, not a benchmark replication or a recommendation to run prototype repair code on production data.
- FAST 2013 used Linux 2.6.28 and e2fsprogs 1.41.12. The FreeBSD follow-up used 8.3-STABLE r246915M; neither establishes current-version performance.