[PATCH 10/21] block: Add fops atomic write support

Martin K. Petersen martin.petersen at oracle.com
Mon Oct 2 17:48:06 PDT 2023


Bart,

> Are there any SCSI devices that we care about that report an ATOMIC
> TRANSFER LENGTH GRANULARITY that is larger than a single logical
> block?

Yes.

Note that code path used inside a storage device to guarantee atomicity
of an entire I/O may be substantially different from the code path which
only offers an incremental guarantee at a single logical or physical
block level (to the extent that those guarantees are offered at all but
that's a different kettle of fish).

> I'm wondering whether we really have to support such devices.

Yes.

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list