summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-07-28 03:39:25 +0200
committerNeilBrown <neilb@suse.de>2011-07-28 03:39:25 +0200
commite684e41db3bad44f1262341300b827c0d94ae220 (patch)
treea3ff2ec212d4f69a06a64b3a6841895b8cf85673 /drivers/md/dm.h
parentmd/raid10: record bad blocks due to write errors during resync/recovery. (diff)
downloadlinux-e684e41db3bad44f1262341300b827c0d94ae220.tar.xz
linux-e684e41db3bad44f1262341300b827c0d94ae220.zip
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>
Diffstat (limited to 'drivers/md/dm.h')
0 files changed, 0 insertions, 0 deletions