summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-12-23 00:17:54 +0100
committerNeilBrown <neilb@suse.de>2011-12-23 00:17:54 +0100
commit3a6de2924af602f9c1b5a5154438c37f2d712dfa (patch)
tree895462dfefd70827c5b6d860503d1244d003a56e /kernel/cpu.c
parentmd/raid5: If there is a spare and a want_replacement device, start replacement. (diff)
downloadlinux-3a6de2924af602f9c1b5a5154438c37f2d712dfa.tar.xz
linux-3a6de2924af602f9c1b5a5154438c37f2d712dfa.zip
md/raid5: Mark device want_replacement when we see a write error.
Now that WantReplacement drives are replaced cleanly, mark a drive as WantReplacement when we see a write error. It might get failed soon so the WantReplacement flag is irrelevant, but if the write error is recorded in the bad block log, we still want to activate any spare that might be available. Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions