[PATCH blktests 05/15] nvme/{rc,002,016,017,030}: pass port ID to genctr helper functions
Daniel Wagner
dwagner at suse.de
Fri Oct 25 07:24:26 PDT 2024
On Thu, Oct 24, 2024 at 10:00:15AM GMT, Shin'ichiro Kawasaki wrote:
> Commit "nvme: sanitize transport parameter in _create_nvmet_port()"
> introduced wwnn and wwpn calculation based on port ID for fc transport.
> This means that --traddr and --host-traddr options for "nvme discover"
> command should reflect the port ID. This change was missing for the
> genctr, or Generation Counter, related helper functions and it made
> the test case nvme/030 fail.
>
> To avoid the failure, pass the port ID to the genctr related helper
> functions and reflect the port ID for fc transport.
>
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>
Reviewed-by: Daniel Wagner <dwagner at suse.de>
More information about the Linux-nvme
mailing list