[PATCH 3/3] nvme: allow integrity when PI is not in first bytes

Christoph Hellwig hch at lst.de
Tue Jan 30 23:22:33 PST 2024


On Tue, Jan 30, 2024 at 10:42:06PM +0530, Kanchan Joshi wrote:
> NVM command set 1.0 (or later) mandate PI to be in last bytes of
> metadata. But this was not supported in the block-layer and driver
> registered a nop profile.
> 
> Remove the restriction as the block integrity subsystem has grown the
> ability to support it.

I think it makes sense to mention that the by far most usual
configuration is metadata size == PI tuple size and you're adding
support for additional less common setups.



More information about the Linux-nvme mailing list