﻿# FUA on a final write does not flush earlier checkpoint writes

Force Unit Access qualifies completion of its own write. Separate it from preflush ordering and namespace flush scope before treating a final marker as durable publication.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/nvme-fua-prior-write-durability/
Language: en

## The marker reaches media before the argument is complete

A custom checkpoint store writes payload blocks and then issues a final marker with Force Unit Access. Its author concludes that the checkpoint is durable because the marker reached nonvolatile storage. That conclusion needs an additional ordering argument for the earlier payload writes.

The [Linux write-cache control reference](https://docs.kernel.org/block/writeback_cache_control.html) distinguishes FUA from explicit preflush. FUA qualifies completion of the flagged request. It is not a statement that every unrelated write submitted earlier has completed or left a volatile cache.

## Name the two persistence boundaries

REQ_FUA makes completion of its request wait until that request's data is committed to nonvolatile storage. REQ_PREFLUSH makes the device cache flush occur before the associated I/O begins, covering previously completed writes. Linux allows both flags on a request because they answer different questions.

Preserve whether earlier payload writes had actually completed before the persistence boundary was requested. Submission order alone is not the same evidence as completion order. Concurrent queues or an application that has not awaited its writes can invalidate an otherwise plausible marker-based argument.

## Keep namespace scope explicit

The [NVMe Flush reference](https://raw.githubusercontent.com/linux-nvme/nvme-cli/master/Documentation/nvme-flush.txt) states that Flush commits data and metadata associated with the selected namespaces and applies to commands completed before its submission. The controller may flush additional data, but optional extra effects are not part of a portable application guarantee.

Record the namespace containing each checkpoint component and the flush scope used. A marker on one namespace cannot be assumed to certify unrelated storage merely because both devices belong to the same host or controller inventory.

## Inspect the whole block path

Filesystems can request flush and FUA through the Linux block layer, and driver support affects how those requests are implemented. Remapping layers must preserve the required semantics. Do not infer the physical command sequence from an application flag alone.

For a design review, draw the actual completion dependencies between payload, persistence operation and marker. Use the documented filesystem interface when operating through files rather than replacing it with an unsupported raw-device shortcut. Raw write experiments must be isolated from live filesystems and valuable data.

## Acceptance needs a recoverable state

Acceptance evidence includes the intended ordering path, successful error handling and recovery selecting only complete checkpoint generations. A marker that survives while its payload is incomplete must be rejected by the recovery design, not interpreted as a successful save.

[File and directory synchronization](/journal/guide-storage-fsync-directory/) explains the additional namespace-publication boundary for files. [Snapshot consistency](/journal/guide-storage-filesystem-snapshot/) explains why persisted blocks alone need not describe one valid application state.

## Limits of the persistence claim

FUA and Flush do not establish multi-device transactions, authenticity or correctness of checkpoint contents. Nor does a clean shutdown demonstrate behavior under abrupt loss of volatile state. This article reports no power-interruption test. Its purpose is to require an explicit completion, ordering and scope argument before a durable final write is used as proof that all preceding checkpoint data is durable.
