[PATCH] nvme: ignore zone validate errors on subsequent scans

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Fri Oct 23 16:34:46 EDT 2020


On 10/23/20 12:22, Keith Busch wrote:
> Revalidating nvme zoned namespaces requires IO commands, and there are
> controller states that prevent IO. For example, a sanitize in progress
> is required to fail all IO, but we don't want to remove a namespace
> we've previously added just because the controller is in such a state.
> Suppress the error in this case.
>
> Reported-by: Michael Nguyen <michael.nguyen at wdc.com>
> Signed-off-by: Keith Busch <kbusch at kernel.org>
> ---
> Yet another reason zone management commands should have been in the
> admin command set!

Agree, I've raised this question.

Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>




More information about the Linux-nvme mailing list