{
  "slug": "hard-patch",
  "term": "Hard patch (Featherstitch)",
  "aliases": [
    "Featherstitch hard patch"
  ],
  "definition": "A hard patch is a Featherstitch filesystem change represented without undo data after establishing that rollback will not be needed.",
  "note": "It still obeys persistence dependencies. The design bounds future dependency changes; simply finding no block-level cycle in today's graph is insufficient. Hard patches on one block can be merged. [featherstitch2007]\n\nThe linked analysis gives a checked three-change counterexample to discarding undo data indiscriminately. [hesela-hard-patch]\n\nOverlap merging can combine soft patches too; it does not automatically eliminate the combined patch's need for undo data. [featherstitch2007]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "related": [
    "featherstitch",
    "metadata-update-dependency",
    "patchgroup"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "featherstitch2007",
      "title": "Frost et al. Generalized File System Dependencies. SOSP 2007, sections 4.1-4.3 and Figure 4.",
      "url": "https://read.seas.harvard.edu/~kohler/pubs/frost07generalized.pdf",
      "accessed": "2026-12-01"
    },
    {
      "id": "hesela-hard-patch",
      "title": "Hesela: When can undo data be omitted?",
      "url": "https://hesela.com/analyses/soft-updates-metadata-ordering/#hard-patches",
      "accessed": "2026-11-29"
    }
  ],
  "updated": "2026-12-01",
  "provenance": [
    "Primary-source review and a constructed counterexample, not a historical-system execution or memory benchmark."
  ]
}
