[PATCH 7/7] nvme: Send change uevent when AEN completes

Zou Ming zouming.zouming at huawei.com
Mon Jul 10 03:17:19 PDT 2017


Hi Keith:
   Thanks,Send All AEN info to user space looks good to me.

   In addition I have a question, is there a scene where repeated asynchronous events are received?
   Because the event is sent to the user space for asynchronous processing, and at the same time issued a new asynchronous event request command.
   The user space may be processed slower than the issued command, resulting in a duplicate asynchronous event report.

Best regards,
Zou Ming.

On 2017/7/8 0:23, Keith Busch wrote:
> This will give udev a chance to handle asynchronous event notification
> and clear the log to unmask future events of the same type. Since the
> core driver allows only one AEN request at a time, we can only have one
> possible oustanding uevent to send. This implementation saves the last
> AEN result from the IRQ handler, and sends the uevent change notification
> when the AEN work is rescheduled.




More information about the Linux-nvme mailing list