[PATCH 2/2] [RFC] nvme: enable asynchronous events notification by default

Christoph Hellwig hch at infradead.org
Fri Jun 24 01:17:26 PDT 2016


On Mon, Jun 20, 2016 at 04:21:35PM -0400, Keith Busch wrote:
> Instead of simply logging a message, is there something better we can do
> to notify a user of an async event result? The event should be masked
> by the controller until the appropriate log page is read, and I don't
> think scanning the kernel logs is how such a program wants to find out
> which page to read.

Yes, I'm not too excited about handling the AERs in kernel space,
having a userspace daemon to listen for them would generally be more
useful.

The only exception is the namespace changed AER that we already handle.
But while we're at it: why do we make use of the changed namespace
list log page in this case instead of doing a full recan.



More information about the Linux-nvme mailing list