[PATCH] nvme-rdma: Fix T10-PI when SW doesn't generate/verify metadata
Christoph Hellwig
hch at lst.de
Tue Jun 6 22:08:55 PDT 2023
On Tue, Jun 06, 2023 at 01:51:30PM +0300, Israel Rukshin wrote:
> When the SW doesn't generate/verify metadata, the SG length is
> smaller than the transfer length.
What is "the SW"?
> length when there is no metadata SGL. The bug reproduces when
> setting read_verify/write_generate to 0 at the child multipath
> device or at the primary device when multipath is disabled. Note
> that setting those to 0 on the multipath device doesn't have any
> impact on the I/Os.
And we really need to prevent this from happening per the last
discussion. Please submit a patch to fail adding a new path to
a ns_head if the PI settings mismatch.
More information about the Linux-nvme
mailing list