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

Keith Busch keith.busch at intel.com
Mon Jun 20 13:21:35 PDT 2016


On Mon, Jun 20, 2016 at 02:03:37PM -0300, Guilherme G. Piccoli wrote:
> The goal of my patch is to do the 'job' of nvme-cli automatically from
> within the driver.
> 
> One thing I was thinking is to add a sysfs parameter to be able to avoid the
> automatic enablement of async events in case we have a bogus adapter showing
> too many events, for example...not sure if this is necessary though, so I
> didn't add the parameter on this submission.

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.



More information about the Linux-nvme mailing list