[PATCH blktests 13/15] nvme: delete all namespaces in _remove_nvmet_subsystem()

Daniel Wagner dwagner at suse.de
Fri Oct 25 08:48:08 PDT 2024


On Thu, Oct 24, 2024 at 10:00:23AM GMT, Shin'ichiro Kawasaki wrote:
> -	for ((i = iterations; i > 1; i--)); do
> -		_remove_nvmet_ns "${def_subsysnqn}" "$i"
> -	done
> -

Hmm, I read the two test nvme/016 and nvme/017 doing explicit allocation
and deallocation of namespaces. What is missing to check if any
namespace is left after the explicit _remove_nvmet_ns run. I think this
should be added and instead removing the loop.



More information about the Linux-nvme mailing list