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

Hannes Reinecke hare at suse.de
Wed Dec 9 11:02:05 EST 2020


On 12/9/20 4:53 PM, Keith Busch wrote:
> 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.
> 
Actually, no, we're not thinking about 'Namespace Attach'.
This is a normal namespace creation on the controller side.

I do agree that 'Namespace Attach' would have different constrains and 
rules under which AENs will be sent, but this is not what our initial 
use-case was about.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



More information about the Linux-nvme mailing list