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

From: Martin K. Petersen
Date: Mon Oct 02 2023 - 20:48:51 EST



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