From: NeilBrown Date: Sun, 8 Jan 2012 13:46:41 +0000 (+1100) Subject: md: notify the 'degraded' sysfs attribute on failure. X-Git-Tag: v3.3-rc1~100^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2a371c5e74dd5685ab47effa4ac7b23b1fdaae5;p=pandora-kernel.git 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: Mikhail Balabin Signed-off-by: NeilBrown --- Reading git-diff-tree failed