]> git.karo-electronics.de Git - karo-tx-linux.git/commit
DM RAID: Add rebuild capability for RAID10
authorJonathan Brassow <jbrassow@redhat.com>
Thu, 27 Sep 2012 02:37:26 +0000 (12:37 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 27 Sep 2012 02:37:26 +0000 (12:37 +1000)
commit300f9eeb7200b3eff6195b02af160dceb4f5b497
tree854e4a67051f3ba32b875a8a5c36c89ac4a826df
parent4ec91f095986bcfefcff81b55312c2c789ab7fcc
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 <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Documentation/device-mapper/dm-raid.txt
drivers/md/dm-raid.c