[PATCH blktests 08/15] nvme: simplify _get_nvmet_ports()
Daniel Wagner
dwagner at suse.de
Fri Oct 25 07:29:30 PDT 2024
On Thu, Oct 24, 2024 at 10:00:18AM GMT, 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.
> 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