commit | 69335ef3bc5b766f34db2d688be1d35313138bca | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:54 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:54 2011 +1100 |
tree | dcd87ffc4c97540d374a20de7380368e3679ac3b | |
parent | 3a6de2924af602f9c1b5a5154438c37f2d712dfa [diff] |
md/raid10: prepare data structures for handling replacement. Allow each slot in the RAID10 to have 2 devices, the want_replacement and the replacement. Also an r10bio to have 2 bios, and for resync/recovery allocate the second bio if there are any replacement devices. Signed-off-by: NeilBrown <neilb@suse.de>