deallocated-read-behavior · shipping · also Read after deallocation

Deallocated read behavior

The interface-defined data or error returned when a host reads a deallocated logical block.

In NVMe 1.4a, DLFEAT describes deallocated data values and DULBE controls the supported deallocated/unwritten-block error. This concerns the logical interface, not direct inspection of physical media. DLFEAT is not a Boolean zero-read flag, and support for DULBE is not its current enablement. [1]

In NVM Command Set 1.1, a successful Dataset Management command need not deallocate the requested blocks. For blocks actually deallocated or unwritten, supported and enabled DULBE causes a read error. Otherwise, DRB in DLFEAT reports all-00h or all-FFh data; when DRB is zero (not reported), this revision allows either pattern. Subsequent reads remain deterministic until a write. These guarantees do not apply to ranges merely submitted for deallocation. [4]

Relations

related
Discard, TRIM, SCSI UNMAP, NVMe, Data sanitization, NVMe DLFEAT, NVMe DULBE, NVMe Write Zeroes

Limitations

  • Linux discard_zeroes_data always returns zero and should not be used to infer readback semantics. [2]

Citations

  1. NVM Express 1.4a: sections 6.7, 6.7.1.1 and Figure 247 (accessed 2026-10-11)
  2. Linux 6.12: stable sysfs block ABI, discard attributes (accessed 2026-10-11)
  3. NVM Express NVM Command Set 1.1: Dataset Management, sections 3.3.3 and 3.3.3.2.1 (accessed 2026-10-18)

Further reading

  1. Hesela: Discard is not zeroing (accessed 2026-10-11)

JSON: /data/terms/deallocated-read-behavior.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Deallocated read behavior. Hesela. 2026-10-23. https://hesela.dev/terms/deallocated-read-behavior/