Spiffy
Spiffy is a research annotation language that generates libraries for interpreting on-disk filesystem structures.
Annotations describe pointers, address spaces and context-dependent fields beyond C structure layouts. The FAST 2018 prototype covered Ext4, Btrfs and F2FS. [1]
Its online cache retired stale type mappings using discard and age heuristics; the paper warns that other applications may misclassify blocks. [1]
The later eVFS prototype used Spiffy underneath a management API and added redo journaling for offline conversion. Parsing support and interruption recovery are separate responsibilities. [2]
Relations
- related
- Recon, Semantic block-level analysis
Limitations
- Correct annotations remain necessary. The online prototype read metadata; its offline Ext4-to-F2FS converter lacked failure atomicity. [1]
- The eVFS prototype required exclusive access to an unmounted filesystem, not coordination with concurrent application writes. [2]
Citations
- Sun, Fryer, Chu, Lakier, Brown and Goel. Spiffy: Enabling File-System Aware Storage Applications. FAST 2018, sections 3.1, 3.4, 4 and 5.
- Sun, Lakier, Brown and Goel. Breaking Apart the VFS for Managing File Systems. HotStorage 2018, sections 3.1, 5 and 6.
Further reading
Sources & caveats
- Historical primary-source review, not an execution of either prototype or evidence about current filesystem implementations.