[PATCH blktests 0/4] nvme: add nvmet zone report and FC regression tests

Shin'ichiro Kawasaki shinichiro.kawasaki at wdc.com
Tue Oct 20 03:41:42 PDT 2026


On Oct 14, 2026 / 19:00, Andrea Parri wrote:
> Add regression tests for three nvmet bugs fixed by the kernel series
> "nvmet: fix stale data exposure and ZNS validation" [1]:
> 
>   nvme/071  "nvmet-fc: only send read data for successful commands"
>   nvme/072  "nvmet: zns: don't leak stale memory in zone management receive"
>   nvme/073  "nvmet: zns: reject a NUMD whose byte count wraps"
> 
> The nvme/072 fix is already applied to nvme-7.4; the other two are still
> under review.
> 
> Patch 1 adds the zoned null_blk target setup, cleanup and zone report
> status check that nvme/072 and nvme/073 share.  Patches 2-4 add one test
> each, with a small C helper for nvme/071 and nvme/072 where nvme-cli
> cannot express the check.
> 
> All three tests run on every configured transport.  On a kernel without
> the fixes, nvme/072 and nvme/073 fail over loop, tcp, rdma and fc, and
> nvme/071 fails over fc, the only affected transport.  All three pass
> with the fixes applied.
> 
> The tests take the next free numbers, nvme/071 to nvme/073.  If other
> nvme tests land first, I'm happy to renumber them and resend.
> 
> [1] https://lore.kernel.org/r/20261012141239.156408-1-parri.andrea@gmail.com

Andrea, thank you for this series. I ran the new test cases and they work as
expected. They all failed with the kernel v7.3, and they all passed with the
kernel fix patch series.

Overall, the patches in this series look good to me. I made some comments for
further improvement. Please check and see if they make sense for you.



More information about the Linux-nvme mailing list