md/raid10: record bad blocks due to write errors during resync/recovery.
authorNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:25 +0000 (11:39 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:25 +0000 (11:39 +1000)
commit1a0b7cd82657a590f163b090bd9123a3a6b9aae4
tree0dc3ccf6ad6ad88283e6d7924c38524865866cba
parentf84ee364dd15af11cada1e673f94128f62db189e
md/raid10: record bad blocks due to write errors during resync/recovery.

If we get a write error during resync/recovery don't fail the device
but instead record a bad block.  If that fails we can then fail the
device.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c