misdirected-write

Misdirected write

A misdirected write stores an update at the wrong address or on the wrong device.

The original destination may remain stale while another location is overwritten; a valid checksum does not by itself bind returned data to the requested location.

The intended location never receives the update and behaves like a lost write, while another location, the victim, is overwritten. [4] If the data and its matching checksum move together, checking that pair can pass despite the wrong location; valid format alone does not establish identity. [3]

In the cited model, physical identity is checked on maintenance reads as well as user reads; logical identity is checked only on user reads. Write-verify re-issues only the target's write and leaves the victim consistent but wrong. [4] RAID scrubs cannot check logical identity, which only the file system understands. [1]

The cited Linux documentation describes the classic 8-byte DIF format, not every protection-information format. Participating devices must support and enable the relevant checks; reference tags may be remapped along the I/O path. [6] A valid address alone does not establish freshness. [4]

Relations

related
Lost write, Protection information (PI), Parity pollution, Version mirroring

Limitations

  • Physical identity alone does not detect a lost write that leaves an older block at the correct address. [4]

Citations

  1. Bairavasundaram et al. An Analysis of Data Corruption in the Storage Stack. FAST 2008, sections 2-3 and 6. (accessed 2026-11-01)
  2. Prabhakaran et al. IRON File Systems. ACM SOSP 2005, sections 2 and 3. (accessed 2026-10-16)
  3. Krioukov et al. Parity Lost and Parity Regained. USENIX FAST 2008, sections 2-4. (accessed 2026-11-01)
  4. Linux v6.16 Documentation/block/data-integrity.rst. (accessed 2026-11-01)

Further reading

  1. Hesela: checksum, identity and freshness boundaries with executable synthetic examples (accessed 2026-10-11)
  2. Zhang, Rajimwale, Arpaci-Dusseau and Arpaci-Dusseau. End-to-end Data Integrity for File Systems: A ZFS Case Study. USENIX FAST 2010. (accessed 2026-10-16)
Sources & caveats
  • The FAST 2008 field study groups lost and misdirected writes under observed identity discrepancies; the separate model-checking study explicitly distinguishes their fault transitions.
  • The block-integrity documentation was written by an employee of a storage company; the check depends on drives and controllers supporting protection information.
  • The parent-checksum file-system study describes detection of misdirected writes, but its fault injection flipped bits only.

JSON: /data/terms/misdirected-write.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Misdirected write. Hesela. 2026-11-01. https://hesela.dev/terms/misdirected-write/