Successful completion of a write does not always allow the data to be considered as surviving a power loss. If the SSD confirms a normal operation after placing data in the volatile write-back cache, the controller has fulfilled the contract established for it, although persistent storage has not yet been completed. The system must specifically express the requirement for durability. This difference is of interest to more than just the firmware author: the file system and database log base their recovery on which acknowledgments they are actually allowed to consider durable.
Let us define the scope. We consider a stack that properly follows commands and a drive with a volatile write cache. A device may have its own power loss protection, but its properties cannot be inferred from the presence of DRAM or an NVMe connector alone. We are interested in the command contract, not in the evaluation of a specific product. Power loss is a hypothetical event in this argument. The editors did not turn off the power to the working SSD, did not measure write persistence, and do not suggest that the mental diagram be considered a test of the equipment.
Linux documentation on volatile write-back cache separates explicit flush and Force Unit Access, FUA. Both mechanisms are related to persistent storage, but talk about different sets of writes. It is convenient to prove the fundamental difference using a dependency that must survive the failure. If record C asserts that data D is ready, recovery may trust C only if the corresponding D is durable. The technical challenge is to preserve this implication at any valid interruption point.
Conditions for D and C
Let D be the new data block and C be the commit record pointing to it. For simplicity, we assume that the verifiability of C itself and the admissibility of its format are decided separately. We make no additional implicit assumption about the atomicity of its write. The recovery rule is: a valid durable C allows the use of a durable D. If C is missing, recovery can ignore the prepared D. This asymmetry is typical of reasoning about journals: extra prepared data is allowed, permission to use not yet stored is not.
Let us submit D as an ordinary write and wait for it to complete. Data can now reside in a volatile cache. Then we will send C with FUA and wait for successful completion. FUA requires the durable completion of the corresponding write C. But from this one condition the persistence of all previously acknowledged ordinary writes does not automatically follow. If D was still in the volatile cache, the implication needed for recovery is not established. Two acknowledgments received in sequence do not replace an expressed requirement for the desired predecessor.
This is a counterexample to the reasoning “the last record was made reliable, therefore the rest are reliable.” The sequence of commands and the scope of the durability guarantee are different relationships. The drive has the right to organize internal work within the framework of the contract. Fast C and delayed D are not necessarily a violation of the FUA command for C. The error is in the host’s proof, which assigns this command a broader guarantee. Therefore, correctness cannot be assessed only by how many times the application sees the word success.
Now let’s add a flush requirement between completion of D and the start of C. On Linux, REQ_PREFLUSH allows us to ensure that previous completed writes have reached non-volatile storage before the marked operation starts. If C then receives FUA, then the successful completion of C establishes the durability of C itself, and the previously executed flush establishes the durability of the required D. There is a connection between the requirements that is sufficient for our recovery rule. This is a logical model of the combination of preflush and FUA, not code for a ready-made database or a universal schema for any log.
Let’s check the interruption. Until the flush for D is complete, C should not yet become our acknowledged durable permission to use D. After flush, but before saving C, data D may remain uncommitted; recovery will ignore them. After durable completion of C, the required D has already been secured earlier. The reasoning considers acceptable fault positions relative to relationships rather than assigning identical physical stages to the drive. The internal implementation of an SSD can be much more complex and still meet exactly these external conditions.
What the command guarantees
The historical NVM Command Set Specification 1.0e dated July 29, 2024 describes Flush and FUA for NVM commands. The scope of the command and the order of completion have normative meaning. The important thing here is not to turn flush of one context into a statement about every write through every controller. Unfinished concurrent operations, multiple namespaces, and multiple caching levels require their own coverage. The simple proven case of D and C cannot be extended to them with just the word "disk".
Linux can translate the requirements to suit the driver’s capabilities. With hardware FUA support, the flag is passed to the corresponding write; if the necessary support is not available, the block layer is able to provide semantics with an additional flush after writing. Therefore, the absence of a directly visible FUA on one section of the route does not always mean the absence of the required guarantee. And the presence of a familiar flag at the input does not prove that the intermediate remapping driver correctly passed it on. The proof refers to a working path that preserves the meaning of the query at all required points.
If there is no volatile write cache, some explicit write cache management operations may not be required, and the block layer handles the attributes accordingly. This is not a reason to consider flush meaningless at all. The initial condition differs for different devices: what an ordinary completion already guarantees. The programming interface allows the file system to express the desired semantics without tying each of its operations to a single controller model. Implementation optimization is acceptable when it preserves the required relationship between acknowledgment and durability.

The file above the command
Before the SSD there is also the memory of the host itself. write can successfully return the number of bytes received, without promising their persistence on the device. Even a correct flush of the device cannot make data durable that still remains only in the OS cache and has not been sent to the appropriate path. Therefore, it cannot be deduced from our D/C diagram that it is sufficient to add a low-level command to an arbitrary application. First you need to establish on which interface the program received its confirmation and what data has already been transmitted below.
fsync expresses a file-based requirement to synchronize data and required metadata. It has a result and possible errors that the application must take into account. A write failure may be detected later than the original write. Therefore, a program that ignores an fsync error deprives its own log of any reason to declare the commit successful. Durability is not created by the fact that a function is called unless its successful execution is verified. This simple connection is more important than the name of the drive brand when the error is already returned through the provided interface.
Filename persistence is a separate part of the file task. The fsync documentation notes that synchronizing the file itself does not necessarily make its directory entry durable; the directory may require separate synchronization. For example, changing from a temporary file to a published name involves changing the directory. Successful preservation of content does not fully prove the expected visibility after restoration. We do not provide a universal recipe for replacing a file for all file systems: the point of the example is to differentiate the objects whose persistence the program must ensure.
A composite stack adds its own persistent metadata. Linux doc on dm-cache describes metadata commits on FLUSH or FUA requests and the differences between cache modes. Talking only about the NAND of the final SSD is likely to miss a higher cache that has not yet completed its obligations. Calling the entire system one drive is convenient in the interface, but is not sufficient for proof after a failure. The D/C dependency must be preserved through the data representation that the recovery will actually use.
Durability is not the same as protection against a torn write. D can be durable, but the application structure still requires the coordination of several blocks. An individual write may have its own atomicity limits, and a set of writes may require a journal or other transactional organization. Our proof specifically assumed that the correct recognition of C is solved separately. If C is capable of appearing valid after a partial update, preflush and FUA alone are not enough. Durability and verifiable integrity complement each other, while answering different questions.
For the same reason, a checksum is not a substitute for timely storage. It helps identify some damaged data, but does not return the lost latest version. After a failure, the previous block may have a perfectly correct checksum and be logically outdated. The commit condition must associate the desired version of the data with the desired version of the C record. Otherwise, the system can check the internal consistency of something preserved, but cannot prove the result of the last operation promised to the user.
Performance here comes with a meaningful price. Group commit allows multiple operations to share the cost of synchronization, but each operation’s response must correspond to the point at which its obligations are fulfilled. Calling the response "successfully saved" before the group flush would mean changing the application promise. Comparing modes based on operations per second alone is meaningless if one measures acceptance into a volatile cache and the other measures durable completion. A high number does not compensate for the other meaning of confirmation.
Excessive flushes can also worsen performance without adding any useful properties. If the dependency is already enforced by a suitable mechanism and there is no new changed state, repetition will not necessarily extend the guarantee. But you can remove the operation only after proving which requirement remains fulfilled. The choice between fast and slow here must start with the same external contract. Otherwise, optimization is similar to reducing delivery time by issuing a receipt before sending: the interface has sped up, but the required result has not yet appeared.
Even the power outage test is specific to the specific device, firmware version, load and interruption points. Successful attempts support the conclusion of tested conditions, but do not make one model a perpetual guarantee for all stacks. The command document states what should happen; a test checks part of the actual behavior. These pieces of evidence are useful together and have different limits. In this article, the proof uses the stated semantics without passing off the absence of a real test as measured SSD reliability.
Returning to D and C, we can finally give recovery a precise authorization: a recognized durable C refers to data D whose durability was established earlier. This does not imply omniscience about any other records of the machine. It establishes the connection needed for this particular recovery decision. Sources verified October 26, 2026. It is this limited but proven connection that transforms SSD confirmation from a reassuring answer to a useful part of a correct recovery.



