{
  "slug": "journal-guided-resynchronization",
  "term": "Journal-guided resynchronization",
  "aliases": [],
  "definition": "Journal-guided resynchronization uses filesystem recovery records to target RAID consistency checks after a crash.",
  "note": "Denehy and colleagues' FAST 2005 prototype combined ext3 declared mode with a verify-read request to software RAID. Declarations recorded data-write destinations before modification; verify-read checked a stripe and repaired inconsistent parity. Ordinary read-modify-write can retain a pre-existing parity error. [denehy]\n\nRecovery covers the journal itself as well as home locations. The prototype verifies superblocks, checks the first committed transaction's destinations before replay, and verifies a bounded region beyond the last commit. Declarations for the next uncommitted transaction require home-location checks only when descriptors are absent; descriptors imply completed data writes under declared-mode ordering. These are protocol-specific conditions, not a generic journal property. [denehy]\n\nA completed XOR read-modify-write preserves the exact pre-existing parity syndrome even when the new data differ. Hesela's linked byte-level tests demonstrate this algebraic invariant; they are not kernel fault injection. Recomputed parity can match surviving data without proving application-version correctness. [hesela]\n\nThe paper evaluates a 1 GB, five-disk array on Linux 2.6.11. Its comparator includes write sorting; small synchronous transactions expose extra declaration cost. The measured recovery is parity resynchronization, not failed-member reconstruction or a modern-array performance guarantee. [denehy]",
  "status": "research",
  "advantages": [
    "Reuses cross-layer information to narrow recovery work."
  ],
  "limitations": [
    "Historical prototype, not a current ext4 setting.",
    "Requires coordinated filesystem and RAID changes, not merely an existing journal."
  ],
  "related": [
    "write-intent-bitmap",
    "raid-write-hole",
    "partial-parity-log"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-04",
  "citations": [
    {
      "id": "denehy",
      "title": "Denehy, Arpaci-Dusseau and Arpaci-Dusseau. Journal-guided Resynchronization for Software RAID. FAST 2005, sections 4-5.",
      "url": "https://www.usenix.org/legacy/event/fast05/tech/full_papers/denehy/denehy_html/main.html",
      "accessed": "2026-11-04"
    },
    {
      "id": "hesela",
      "title": "Hesela: RAID write-hole recovery mechanisms",
      "url": "https://hesela.com/analyses/raid-write-hole-bitmap-ppl/#journal-guided",
      "accessed": "2026-11-03"
    }
  ]
}
