diff options
| author | NeilBrown <[email protected]> | 2012-01-08 13:46:41 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2012-01-10 21:35:14 +0000 |
| commit | f2a371c5e74dd5685ab47effa4ac7b23b1fdaae5 (patch) | |
| tree | e1960be50588ef0a4461fa54609df7ebea95eac5 /fs/jbd2/commit.c | |
| parent | md/raid1: Mark device want_replacement when we see a write error. (diff) | |
| download | kernel-f2a371c5e74dd5685ab47effa4ac7b23b1fdaae5.tar.gz kernel-f2a371c5e74dd5685ab47effa4ac7b23b1fdaae5.zip | |
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 <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
