diff options
author | NeilBrown <neilb@suse.de> | 2011-07-28 11:39:24 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-28 11:39:24 +1000 |
commit | e875ecea266a543e643b19e44cf472f1412708f9 (patch) | |
tree | b602d08f7aa4a743d3c27ad55e347d36991f0814 /block/blk-integrity.c | |
parent | 40c356ce5ad1a6be817825e1da1bc7494349cc6d (diff) |
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 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions