[PATCH] nvmet: propagate npwg and awupf topology

John Garry john.g.garry at oracle.com
Thu Dec 12 03:25:29 PST 2024


On 12/12/2024 05:52, Christoph Hellwig wrote:
> On Wed, Dec 11, 2024 at 07:31:47PM -0800, Luis Chamberlain wrote:
>> Ensure we propagate npwg and awupf to the target as well instead
>> of assuming its the same logical blocks per physical block.
>>
>> This ensures devices with large IUs and large atomics get their
>> information properly propagated on the target.
> 
> nvmet never sets REQ_ATOMIC and thus won't get atomic writes from
> say SCSI.  So supporting atomic writes is a little more work than
> just propagating the values.
> 

In case missed, Mike had patches for SCSI target code:
https://lore.kernel.org/linux-scsi/20241008020437.78788-1-michael.christie@oracle.com/

I still need to check them ...





More information about the Linux-nvme mailing list