[PATCH 7/7] nvme: Send change uevent when AEN completes
Guilherme G. Piccoli
gpiccoli at linux.vnet.ibm.com
Fri Jul 14 05:50:20 PDT 2017
On 07/13/2017 06:29 PM, Keith Busch wrote:
> On Fri, Jul 07, 2017 at 08:14:36PM +0200, Christoph Hellwig wrote:
>> Can we have an nvme-aen helper that gets invoked by a trivial udev rule,
>> which would read a config file for policy?
> Sure, I can work on an aen helper for udev. Do you know if there is an
> existing project for these sorts of things that would take this feature?
We were planning to implement this here on LTC, and some ideas in
discussion is whether such tool could be integrated to nvme-cli, like a
"nvmed" tool, a daemon to handle the events. Advantages of the daemon
are possible implementation of RAS features like trigger actions based
on adapter's error, etc.
Do you think this kind of tool is interesting? Suggestions on this topic
are greatly appreciated. One of our concerns is that AEN events still
need to be enabled by the user, not all events are enabled by default.
One such tool would allow friendly configuration on which events user
wants to enable.
More information about the Linux-nvme