On Sun, Jul 2, 2017 at 9:53 PM, Yasunori Goto <y-goto(a)jp.fujitsu.com> wrote:
2) I suppose a notification daemon may be necessary to inform the
threshold event (to syslog, to other servers, or logging management OSS, etc....)
Please correct me, if ndctl has this feature already...
ndctl doesn't have a daemon yet, but libndctl is growing helper
library calls that would used for such a daemon one day.
ndctl_dimm_get_health_eventfd() is there today provides a file
descriptor for DIMM events, and I'll be adding similar eventfd calls
for the region and namespace level badblocks files so userspace is
notified of new media errors.