[PATCH] nvme: retrigger ANA log update if group descriptor isn't found

Keith Busch kbusch at kernel.org
Mon Dec 7 10:31:21 EST 2020


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>



More information about the Linux-nvme mailing list