[PATCH] nvme: retrigger ANA log update if group descriptor isn't found
Keith Busch
kbusch at kernel.org
Mon Dec 7 10:46:50 EST 2020
On Mon, Dec 07, 2020 at 04:34:43PM +0100, Christoph Hellwig wrote:
> On Mon, Dec 07, 2020 at 07:31:21AM -0800, Keith Busch wrote:
> > On Sat, Dec 05, 2020 at 04:29:01PM +0100, Hannes Reinecke wrote:
> > > If ANA is enabled but no ANA group descriptor is found when creating
> > > a new namespace the ANA log is most likely out of date, so trigger
> > > a re-read. The namespace will be tagged with the NS_ANA_PENDING flag
> > > to exclude it from path selection until the ANA log has been re-read.
> > >
> > > Reported-by: Martin George <marting at netapp.com>
> > > Signed-off-by: Hannes Reinecke <hare at suse.de>
> >
> > This looks good to me.
> >
> > Reviewed-by: Keith Busch <kbusch at kernel.org>
>
> 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.
More information about the Linux-nvme
mailing list