[PATCH 1/1] nvme: retry security commands if media not ready

Christoph Hellwig hch at lst.de
Thu Oct 3 07:41:06 PDT 2024


On Thu, Oct 03, 2024 at 08:30:21AM -0500, Greg Joyce wrote:
> Thanks. I think that leads me to ask a larger question. If we always
> wait until media ready,

We don't generally wait - the namespaces only become online when they
are ready, but otherwise we should be up.  Unfortunately the technical
working group allowed some admin command to return media not ready,
probably to shoe horn existing implementation.  But this generally
is a bad quality of implementation and there is no good reason for it
if the little bit of media used by these comes from a separate pool
that doesn't take as long to recover.  Or in other words, if you see
this error someonone at IBM messed up writing their purchase spec..




More information about the Linux-nvme mailing list