[PATCH 4/4] nvmet: add --qid-max support for subsystem creation and setup

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Sep 29 18:43:43 PDT 2025


On 9/28/25 04:51, Max Gurtovoy wrote:
> Introduce support for the --qid-max argument to both
> _create_nvmet_subsystem and _nvmet_target_setup functions, allowing
> configuration of the maximum queue ID through the "attr_qid_max" sysfs
> attribute when available. This enables more flexible queue management
> for NVMe subsystems.
>
> Additionally, update test 048 to set qid_max via the new --qid-max
> workflow. This will follow the new logic added to the NVMe target
> driver, which forbid changing the attr_qid_max for a discovered
> subsystem.
>
> Also increase the sleep durations to adjust real RDMA HW devices.
>
> Signed-off-by: Max Gurtovoy<mgurtovoy at nvidia.com>
> ---

Looks good.

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

-ck




More information about the Linux-nvme mailing list