Force Unit Access
Force Unit Access specifies command-dependent nonvolatile read or write-completion requirements, including Linux write FUA and NVMe or SCSI read FUA.
In the Linux block layer, REQ_FUA requires persistence before write completion. It is distinct from REQ_PREFLUSH, which makes earlier completed writes persistent before the accompanying I/O begins; FUA alone is not that ordering guarantee. The flags can be combined. For devices without native FUA, Linux can implement the requirement with a post-write flush. The name describes completion semantics, not a universal physical bypass of every cache or a guarantee that a multi-block write is atomic.
SCSI READ FUA in the Rev. L manual permits non-volatile cache or an LBA's specified pattern, not only the medium. DPO separately controls retention priority. [3]
NVMe Read FUA commits the addressed data and any metadata to nonvolatile medium before returning them from that medium. Write FUA requires persistence before write completion. Neither bit orders other commands. [4] [5]
NVMe Compare with FUA commits the addressed contents before reading them for comparison. Verify with FUA flushes the specified data and metadata from volatile cache before verification. These checks are not passive observations of prior durability. [4]
Consequently, successful FUA readback cannot establish whether an earlier ordinary write was already durable before the read began. This is an inference from the read's own persistence requirement, not a power-cut result. [4]
Relations
- related
- Storage cache flush, Write-back cache, Write-through cache, Persistence ordering, Power loss protection, SCSI Disable Page Out, NVMe Atomic Write Unit Power Fail, NVMe volatile write cache
Advantages
- Allows persistence to be required for a specific write's completion. [1]
Limitations
- Does not replace the preflush guarantee for previously completed writes. [1]
Citations
- Linux kernel documentation. Explicit volatile write back cache control: REQ_PREFLUSH and REQ_FUA.
- Seagate SCSI Commands Reference Manual Rev. L (2020), section 3.18, p. 150: DPO and READ FUA.
- NVM Command Set 1.2, sections 3.3.1/3.3.4/3.3.5/3.3.6, Figs. 26/53/61/70. Copyright 2008-2025 NVM Express, Inc. All rights reserved.
- Microsoft NVME_CDW12_READ_WRITE: Read/Write FUA and the absence of command ordering.