summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-12-23 10:17:57 +1100
committerNeilBrown <neilb@suse.de>2011-12-23 10:17:57 +1100
commit19d671695e1931ebfd75b2b888778201aefe35ca (patch)
treeb3c54cdb0812632f830453b6a6c9b8b966c9dcc4 /drivers/md/raid5.c
parent7ef449d1ec3668acbba6af6a500d0c84636b436f (diff)
downloadop-kernel-dev-19d671695e1931ebfd75b2b888778201aefe35ca.zip
op-kernel-dev-19d671695e1931ebfd75b2b888778201aefe35ca.tar.gz
md/raid1: Mark device want_replacement when we see a write error.
Now that WantReplacement drives are replaced cleanly, mark a drive as want_replacement 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. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud