Skip to content
Commit f2a371c5 authored by NeilBrown's avatar NeilBrown
Browse files

md: notify the 'degraded' sysfs attribute on failure.



We currently only 'notify' changes to the 'degraded' attribute
when it decreases, not when it increases.

Notifying on failure is a little awkward as it happen in
interrupt context.
So instead, notify when we remove the failed device from the array,
which is very soon afterwards.

Reported-and-tested-by: default avatarMikhail Balabin <mbalabin@gmail.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 19d67169
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment