[PATCH] nvme: retrigger ANA log update if group descriptor isn't found
Keith Busch
kbusch at kernel.org
Tue Dec 8 14:17:03 EST 2020
On Tue, Dec 08, 2020 at 03:03:52PM +0100, Christoph Hellwig wrote:
> On Mon, Dec 07, 2020 at 07:46:50AM -0800, Keith Busch wrote:
> > > But as I just outlined it just papers over buggy controllers. I really
> > > don't think we should just silently do that.
> >
> > Okay, that's fine with me too. I agree with you on what the correct
> > event sequence should be, but I just thought this looks like a fairly
> > harmless work-around.
>
> I see three major downsides:
You only listed two. :)
> (1) it papers over our host side bug where we do not process the
> different AENs in the order that the controller generated them
We only have one AEN outstanding at a time, though, so we can't process
them in a different order than the controller sent them, right?
> (2) the code is black magic as there is no indicator why this condition
> would happen
Would it help if Hannes adds a dev_warn() that this log refresh is
occuring from a controller's inconsistent reporting?
More information about the Linux-nvme
mailing list