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

Shinichiro Kawasaki shinichiro.kawasaki at wdc.com
Fri Nov 22 23:55:59 PST 2024


On Nov 20, 2024 / 19:20, Shin'ichiro Kawasaki wrote:
> From: Hannes Reinecke <hare at suse.de>
> 
> A subsystem might have more than one namespace, so delete all of them in
> _remove_nvmet_subsystem().
> 
> This change was to be made before the commit 67e25d71bc58 ("nvme/052: do
> not create namespace when setting up the target"), which assumes that
> _remove_nvmet_subsystem() delets all namespaces. However, commit order
> was modified then the test case nvme/052 now fails without this commit.
> 
> Signed-off-by: Hannes Reinecke <hare at suse.de>
> [Shin'ichiro: resolved conflicts]
> Fixes: 67e25d71bc58 ("nvme/052: do not create namespace when setting up the target")
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>

FYI, I have applied it. Thanks.


More information about the Linux-nvme mailing list