Do we need an opt-in for file systems use of hw atomic writes?

Martin K. Petersen martin.petersen at oracle.com
Mon Jul 14 20:22:43 PDT 2025


Christoph,

> I don't know. But cheap consumer SSDs can basically exhibit any
> brokenness you can imagine. And claiming to support atomics basically
> just means filling out a single field in identify with a non-zero
> value. So my hopes of only seeing it in a few devices is low, moreover
> we will only notice it was broken when people lost data.

It's very unfortunate that AWUN/AWUPF are useless. Even when it comes to
something as simple as sanity checking the reported NAWUN/NAWUPF.

For PCIe transport devices maybe we could consider adding an additional
heuristic based on something like PLP or VWC?

-- 
Martin K. Petersen



More information about the Linux-nvme mailing list