commit | 8bd2f0a05b361e07d48bb34398593f5f523946b3 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Dec 08 16:26:08 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Thu Dec 08 16:26:08 2011 +1100 |
tree | a87860b4b8821b40eb9e6bb5333f71dfa8c3fb39 | |
parent | 52c64152a935e63d9ff73ce823730c9a23dedbff [diff] |
md: ensure new badblocks are handled promptly. 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>