[PATCH blktests v2 08/13] nvme: simplify _get_nvmet_ports()

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Oct 30 00:57:37 PDT 2024


On 10/29/24 23:51, Shin'ichiro Kawasaki wrote:
> From: Hannes Reinecke<hare at suse.de>
>
> Rework the loop to iterate over ports, and check for the correct
> subsysnqn afterwards. With that we can drop 'sed' calls and simplify
> the loop.
>
> Signed-off-by: Hannes Reinecke<hare at suse.de.>
> Reviewed-by: Daniel Wagner<dwagner at suse.de>
> Signed-off-by: Shin'ichiro Kawasaki<shinichiro.kawasaki at wdc.com>

much better, looks good.

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

-ck




More information about the Linux-nvme mailing list