[PATCH] nvme-core: update NS Attr Changed AEN handling for ANA group

Keith Busch kbusch at kernel.org
Wed Dec 9 10:53:21 EST 2020


On Wed, Dec 09, 2020 at 03:20:57PM +0000, Knight, Frederick wrote:
> When a namespace is created (and contained in an ANA Group), the act
> of creating that namespace results in a change to the ANA Log page -
> therefore AEN.  

That is wrong: creating a namespace doesn't do anything to the ANA log.
Only attached namespaces appear in the log. Creating a namespace
doesn't result in automatically attaching it to any controller.

You are thinking of Namespace Attach from section 5.19, and the spec
doesn't define any special exceptions for events resulting from *that*
command, which is also the command that triggered this thread.

If you want to claim that was a mistake in the text (I would agree it is
a mistake), then take it to the technical reflector rather than this
forum. The spec as currently written doesn't align with you.



More information about the Linux-nvme mailing list