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

Tokunori Ikegami ikegami.t at gmail.com
Tue Oct 22 11:12:48 PDT 2024


Thanks for your confirmation. Just sent the v3 patch to change only 
nvme_ns_has_pi(). Thank you.

On 2024/10/23 2:57, Keith Busch wrote:
> 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