md/raid10: handle further errors during fix_read_error better.
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)
commit58c54fcca3bac5bf9290cfed31c76e4c4bfbabaf
tree25f663873429468c3b582bc7544f983759b7592e
parent5e5702898e93eee7d69b6efde109609a89a61001
md/raid10: handle further errors during fix_read_error better.

If we find more read/write errors we should record a bad block before
failing the device.

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