[lkml]   [2017]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] nvme: make controller 'state' sysfs attribute pollable

>>> 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.
> Please consider this patch. At least upstream multipath-tools is using the sysfs state now:
> [1];a=commitdiff;h=29c3b0446c4d919859f9e87b291563d483aab594
> [2];a=commitdiff;h=d2561442cc0b444e8a728bac2c1466468816ee9d

I have to agree with Christoph that we need to be able to keep the
controller states internal as they are bound to change at any point.

We do need to move into debugfs to avoid the confusion...

 \ /
  Last update: 2017-09-25 07:37    [W:0.135 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site