NVMe Compare and Write
NVMe Compare and Write is an optional fused operation that conditionally replaces an LBA range when its stored contents match supplied comparison data.
SPDK submits the pair with first/second fusion flags, adjacent on one queue and using the same range; submission is not completion. [2] Compare success alone cannot establish Write success; inspect both completion records and the applicable size and boundary limits. [1] A constructed slot-claim model enumerates the race in separate compare/write steps; it is not a hardware measurement. [3]
Relations
Limitations
- The operation does not by itself fence delayed writes to other addresses or provide an application-wide transaction. [3]