diff options
author | NeilBrown <neilb@suse.de> | 2011-07-28 03:33:00 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-28 03:33:00 +0200 |
commit | d8f05d2995d467a91db1af01637e6ffd94660ca8 (patch) | |
tree | e35959bc4f6c370c982df8222eb818c720b94ffd /block | |
parent | md/raid1: Handle write errors by updating badblock log. (diff) | |
download | linux-d8f05d2995d467a91db1af01637e6ffd94660ca8.tar.xz linux-d8f05d2995d467a91db1af01637e6ffd94660ca8.zip |
md/raid1: record badblocks found during resync etc.
If we find a bad block while writing as part of resync/recovery we
need to report that back to raid1d which must record the bad block,
or fail the device.
Similarly when fixing a read error, a further error should just
record a bad block if possible rather than failing the device.
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions