[PATCH blktests 1/2] nvme/rc: introduce helper functions to check namespace metadata

Chaitanya Kulkarni chaitanyak at nvidia.com
Sun Jun 15 21:25:43 PDT 2025


On 6/15/25 19:07, Shin'ichiro Kawasaki wrote:
> To confirm that the TEST_DEV namespace has metadata area for each LBA or
> not, introduce the helper function _test_dev_has_metadata(), which
> checks the sysfs attribute metadata_bytes.
>
> Also, to confirm that the metadata is not used as the extended LBA,
> introduce the helper function _test_dev_disables_extended_lba(), which
> checks the NVME_NS_FLBAS_META_EXT flag in the flbas field.
>
> Signed-off-by: Shin'ichiro Kawasaki<shinichiro.kawasaki at wdc.com>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list