Backpointer-based consistency
Backpointer-based consistency checks agreement between a filesystem reference and ownership information embedded in its target.
NoFS data-block backpointers encode owner inode number and logical block offset; inode backlinks identify parent directories. Allocation information is reconstructed online rather than trusted from persistent bitmaps. [1]
Following a crash, pathname lookup may reject an entry still visible in a directory listing. Orphan recovery is possible when its data blocks validate, but neither atomic transaction recovery nor restoration of overwritten contents is guaranteed. [1]
In the prototype, mounting does not finish verification. Calling stat() may inspect all of a file's blocks, the first overwrite of an unverified block requires an ownership read, and allocation can wait for a scan to identify usable free space. [1]
Relations
Advantages
- Ownership checks can expose stale references to reallocated blocks. [1]
Limitations
- The design assumes atomic block-plus-backpointer writes. Matching identity permits stale versions; detection does not guarantee restoration of lost or overwritten contents. [1]
Citations
Sources & caveats
- Historical research design; source review, not a Hesela implementation or hardware test.