md: ensure new badblocks are handled promptly.
authorNeilBrown <neilb@suse.de>
Thu, 8 Dec 2011 05:26:08 +0000 (16:26 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 8 Dec 2011 05:26:08 +0000 (16:26 +1100)
When we mark blocks as bad we need them to be acknowledged by the
metadata handler promptly.

For an in-kernel metadata handler that was already being done.  But
for an external metadata handler we need to alert it of the change by
sending a notification through the sysfs file.  This adds that
notification.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found