commit | 9ad1aefc8ae8d2e482b4cc4b7199e2354148bbdc | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:55 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:55 2011 +1100 |
tree | c501f70c4726aade7eec3d743741f1568bba41df | |
parent | 475b0321a4df381f64db10ddd750a8b7bb82d88b [diff] |
md/raid10: Handle replacement devices during resync. If we need to resync an array which has replacement devices, we always write any block checked to every replacement. If the resync was bitmap-based resync we will then complete the replacement normally. If it was a full resync, we mark the replacements as fully recovered when the resync finishes so no further recovery is needed. Signed-off-by: NeilBrown <neilb@suse.de>