commit | d8f05d2995d467a91db1af01637e6ffd94660ca8 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Jul 28 11:33:00 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu Jul 28 11:33:00 2011 +1000 |
tree | e35959bc4f6c370c982df8222eb818c720b94ffd | |
parent | cd5ff9a16f0831f68c1024d5d776075b5123b034 [diff] |
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>