]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid10: simplify read error handling during 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)
commitc9395ecc1d3e9ead18c2b55390a771d74b28ecaf
treea3ff2ec212d4f69a06a64b3a6841895b8cf85673
parent4d206afac1dc9cc699a8263653958350b9daa504
md/raid10: simplify read error handling during recovery.

If a read error is detected during recovery the code currently
fails the read device.
This isn't really necessary.  recovery_request_write will signal
a write error to end_sync_write and it will record a write
error on the destination device which will record a bad block
there or kick it from the array.

So just remove this call to do md_error.

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