]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid10: prepare data structures for handling replacement.
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2011 00:32:09 +0000 (11:32 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 9 Nov 2011 00:32:09 +0000 (11:32 +1100)
commit6447a6d027382b28c06d31a8b01ce716a25db594
tree34c9d856d5653a31793f66a5da41e77e948fc546
parentd1fac196c92528cfc90a4e15946e23993478e939
md/raid10: prepare data structures for handling replacement.

Allow each slot in the RAID10 to have 2 devices, the replaceable
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>
drivers/md/raid10.c
drivers/md/raid10.h