[PATCH] nvme: make controller 'state' sysfs attribute pollable

Christoph Hellwig hch at lst.de
Wed Sep 20 07:59:31 PDT 2017


On Wed, Sep 20, 2017 at 12:40:32PM +0200, Johannes Thumshirn wrote:
> Notify sysfs about changes of a nvme controller so user-space can watch the
> file via poll() or select() in order to react to a state change.

Userspace has no business polling for the state.



More information about the Linux-nvme mailing list