[PATCH blktests] nvme/052: wait for namespace removal before recreating namespace
Daniel Wagner
dwagner at suse.de
Thu Aug 22 07:49:24 PDT 2024
On Thu, Aug 22, 2024 at 11:59:35AM GMT, Shinichiro Kawasaki wrote:
> I can agree with this point: it is odd to suppress errors only for the namespace
> removal case. I did so to catch other potential errors that _find_nvme_ns() may
> return in the future for the namespace creation case. But still this way misses
> other potential errors for the namespace removal case. Maybe I was overthinking.
> Let's simplify the test with just doing
>
> ns=$(_find_nvme_ns "${uuid}" 2>/dev/null)
>
> as you suggest. Still the test case can detect the kernel regression, and I
> think it's good enough. Will reflect this to v2.
Not sure if this is relevant, but I'd like to see that we return error
codes so that the caller can actually decide to ignore the failure or
not.
More information about the Linux-nvme
mailing list