summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-07-28 01:39:24 (GMT)
committerNeilBrown <neilb@suse.de>2011-07-28 01:39:24 (GMT)
commite875ecea266a543e643b19e44cf472f1412708f9 (patch)
treeb602d08f7aa4a743d3c27ad55e347d36991f0814 /ipc
parent40c356ce5ad1a6be817825e1da1bc7494349cc6d (diff)
downloadlinux-fsl-qoriq-e875ecea266a543e643b19e44cf472f1412708f9.tar.xz
md/raid10 record bad blocks as needed during recovery.
When recovering one or more devices, if all the good devices have bad blocks we should record a bad block on the device being rebuilt. If this fails, we need to abort the recovery. To ensure we don't think that we aborted later than we actually did, we need to move the check for MD_RECOVERY_INTR earlier in md_do_sync, in particular before mddev->curr_resync is updated. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions