[PATCH blktests v2 0/9] nvme: make NVME_TARGET_CONTROL work with remote targets
Shin'ichiro Kawasaki
shinichiro.kawasaki at wdc.com
Fri Nov 27 18:34:51 PST 2026
On Nov 18, 2026 / 10:26, Daniel Wagner wrote:
> Hi all,
>
> this series makes running the nvme tests against a remote target with
> NVME_TARGET_CONTROL actually work. The first six patches of v1 have been
> applied, this is the rest. It applies on top of the series that makes
> tests skip when a program they need is missing.
>
> The first two patches are fixes: nvme/047 looks up the namespace again
> after reconnecting, and the nvmet target picks free service IDs for its
> ports. The third is a cleanup, nvme/042 and nvme/043 iterate over the
> DH-HMAC-CHAP hashes by name.
>
> The remaining patches let tests skip instead of failing when the remote
> target lacks a feature they need, including the DH-HMAC-CHAP hashes and
> DH groups the target doesn't support, add port and host key support for
> remote targets, and add a NetApp ONTAP target as an example of a target
> that can do less than nvmet.
>
> Tested against nvmet in a second VM, which also exported other
> subsystems on its own ports, and against a NetApp ONTAP array. All tests
> that can run against a remote target pass, except nvme/077 against
> nvmet, which checks attr_qid_max in the local nvmet configfs. Against
> the array, nvme/061 and nvme/070 fail because it refuses the reconnect
> after a subsystem is deleted and doesn't support Identify CNS 07h, and
> nvme/068 because the host runs a 6.4 kernel. The tests that need the
> kernel target still pass with the local target.
>
> Signed-off-by: Daniel Wagner <dwagner at suse.de>
Daniel, thank you for the series. I think this series is almost ready to apply.
Hannes made one comment on the 1st patch. I see the point, but IMO, it can be
put out of the scope of the series.
I made a few minor comments. Let me wait a few more days to wait for some more
comments before I apply this series with some commit message edits and with a
follow-up commit.
More information about the Linux-nvme
mailing list