{
  "slug": "spiffy",
  "term": "Spiffy",
  "aliases": [
    "Specifying and Interpreting the Format of Filesystems"
  ],
  "definition": "Spiffy is a research annotation language that generates libraries for interpreting on-disk filesystem structures.",
  "note": "Annotations describe pointers, address spaces and context-dependent fields beyond C structure layouts. The FAST 2018 prototype covered Ext4, Btrfs and F2FS. [spiffy18]\n\nIts online cache retired stale type mappings using discard and age heuristics; the paper warns that other applications may misclassify blocks. [spiffy18]\n\nThe later eVFS prototype used Spiffy underneath a management API and added redo journaling for offline conversion. Parsing support and interruption recovery are separate responsibilities. [evfs18]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "Correct annotations remain necessary. The online prototype read metadata; its offline Ext4-to-F2FS converter lacked failure atomicity.",
      "citationIds": [
        "spiffy18"
      ]
    },
    {
      "text": "The eVFS prototype required exclusive access to an unmounted filesystem, not coordination with concurrent application writes.",
      "citationIds": [
        "evfs18"
      ]
    }
  ],
  "related": [
    "recon",
    "semantic-block-level-analysis"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "spiffy18",
      "title": "Sun, Fryer, Chu, Lakier, Brown and Goel. Spiffy: Enabling File-System Aware Storage Applications. FAST 2018, sections 3.1, 3.4, 4 and 5.",
      "url": "https://www.usenix.org/system/files/conference/fast18/fast18-sun.pdf",
      "accessed": "2026-11-30"
    },
    {
      "id": "evfs18",
      "title": "Sun, Lakier, Brown and Goel. Breaking Apart the VFS for Managing File Systems. HotStorage 2018, sections 3.1, 5 and 6.",
      "url": "https://files.usenix.org/s3fs-public/cdn/hotstorage18-paper-sun.pdf",
      "accessed": "2026-11-30"
    },
    {
      "id": "hesela",
      "title": "Hesela: Parsing, consistency and safe modification",
      "url": "https://hesela.com/analyses/scrubbing-detection-not-durability/#metadata-interpretation",
      "accessed": "2026-11-30"
    }
  ],
  "updated": "2026-11-30",
  "provenance": [
    "Historical primary-source review, not an execution of either prototype or evidence about current filesystem implementations."
  ]
}
