[PATCH] nvme: check PI size if metadata size or below

Keith Busch kbusch at kernel.org
Tue Oct 22 10:57:35 PDT 2024


On Wed, Oct 23, 2024 at 02:51:16AM +0900, Tokunori Ikegami wrote:
> I see. Thanks for your explanation. To make sure let me confirm again below.
> The nvme_ns_has_pi changed does not use PRACT as mentioned but still is it
> not okay to change the function only also? (I could understand as
> nvme_submit_io() uses PRACT then it does not work correctly as mentioned.)

The function name could be better. It's just reporting if the namespace
format supports inserting/stripping metadata, such that the host doesn't
need to provide it.



More information about the Linux-nvme mailing list