DM RAID: Add rebuild capability for RAID10
authorJonathan Brassow <[email protected]>
Thu, 11 Oct 2012 02:40:24 +0000 (13:40 +1100)
committerNeilBrown <[email protected]>
Thu, 11 Oct 2012 02:40:24 +0000 (13:40 +1100)
commit4ec1e369af83f7ecdfbd48a905e44fc9910115ba
tree5e7287f870140e041190604ede472ae4d7fa2baf
parenteb6491236f283eb6ebc5421fcdb14b86701a7e36
DM RAID: Add rebuild capability for RAID10

DM RAID:  Add code to validate replacement slots for RAID10 arrays

RAID10 can handle 'copies - 1' failures for each mirror group.  This code
ensures the user has provided a valid array - one whose devices specified for
rebuild do not exceed the amount of redundancy available.

Signed-off-by: Jonathan Brassow <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Documentation/device-mapper/dm-raid.txt
drivers/md/dm-raid.c