[PATCH blktests 13/15] nvme: delete all namespaces in _remove_nvmet_subsystem()
Shinichiro Kawasaki
shinichiro.kawasaki at wdc.com
Tue Oct 29 01:22:58 PDT 2024
On Oct 25, 2024 / 17:48, Daniel Wagner wrote:
> 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.
My understanding is the this change will be required when two new test cases
get added with multiple ports set up. I will drop this patch from this series,
and will include to the last series which will add the test cases. I hope it
will allow easier review and discussion.
More information about the Linux-nvme
mailing list