Re: [PATCH] libnvdimm, pmem: Add sysfs notifications to badblocks

From: Kani, Toshimitsu
Date: Mon Jun 12 2017 - 16:19:18 EST


On Mon, 2017-06-12 at 10:42 -0600, Toshi Kani wrote:
> Sysfs "badblocks" information may be updated during run-time via
> MCE, SCI, and sysfs "scrub".
>
> Add support to send sysfs notifications to sysfs "badblocks" file
> under region and pmem directories when their badblocks information
> is re-evaluated (but is not necessarily changed) during run-time.

Thinking further, this notification should be sent when a badblock is
cleared via _DSM. I will update and send v2.

-Toshi