{
  "slug": "force-unit-access",
  "term": "Force Unit Access",
  "aliases": [
    "FUA",
    "REQ_FUA"
  ],
  "definition": "Force Unit Access specifies command-dependent nonvolatile read or write-completion requirements, including Linux write FUA and NVMe or SCSI read FUA.",
  "note": "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.\n\nSCSI 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. [scsi-dpo-manual]\n\nNVMe 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. [nvme-read-fua] [microsoft-fua]\n\nNVMe 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. [nvme-read-fua]\n\nConsequently, 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. [nvme-read-fua]",
  "status": "shipping",
  "advantages": [
    {
      "text": "Allows persistence to be required for a specific write's completion.",
      "citationIds": [
        "linux-cache"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Does not replace the preflush guarantee for previously completed writes.",
      "citationIds": [
        "linux-cache"
      ]
    }
  ],
  "related": [
    "cache-flush",
    "write-back-cache",
    "write-through-cache",
    "persistence-ordering",
    "power-loss-protection",
    "scsi-dpo",
    "nvme-atomic-write-unit-power-fail",
    "nvme-volatile-write-cache"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "linux-cache",
      "title": "Linux kernel documentation. Explicit volatile write back cache control: REQ_PREFLUSH and REQ_FUA.",
      "url": "https://docs.kernel.org/block/writeback_cache_control.html",
      "accessed": "2026-10-12"
    },
    {
      "id": "hesela-stability",
      "title": "NFS stable writes: what COMMIT, flush and FUA actually promise",
      "url": "https://hesela.com/analyses/nfs-stable-writes-flush-fua/",
      "accessed": "2026-10-12"
    },
    {
      "id": "scsi-dpo-manual",
      "title": "Seagate SCSI Commands Reference Manual Rev. L (2020), section 3.18, p. 150: DPO and READ FUA.",
      "url": "https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068L.pdf#page=150",
      "accessed": "2026-11-08"
    },
    {
      "id": "nvme-read-fua",
      "title": "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.",
      "url": "https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.2-2025.08.01-Ratified.pdf",
      "accessed": "2026-11-29"
    },
    {
      "id": "microsoft-fua",
      "title": "Microsoft NVME_CDW12_READ_WRITE: Read/Write FUA and the absence of command ordering.",
      "url": "https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_cdw12_read_write",
      "accessed": "2026-11-29"
    }
  ],
  "updated": "2026-11-29"
}
