summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-08-01 22:35:43 (GMT)
committerNeilBrown <neilb@suse.de>2012-08-01 22:35:43 (GMT)
commitd9f691c365a83ce2530f0e46b947365c2db44ea0 (patch)
tree7348c3cb64de3445ddc4d1b4d622f7719129f365 /drivers
parentf54a9d0e59c4bea3db733921ca9147612a6f292c (diff)
downloadlinux-d9f691c365a83ce2530f0e46b947365c2db44ea0.tar.xz
md/dm-raid: DM_RAID should select MD_RAID10
Now that DM_RAID supports raid10, it needs to select that code to ensure it is included. Cc: Jonathan Brassow <jbrassow@redhat.com> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 10f122a..1de441a 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -277,13 +277,14 @@ config DM_MIRROR
needed for live data migration tools such as 'pvmove'.
config DM_RAID
- tristate "RAID 1/4/5/6 target"
+ tristate "RAID 1/4/5/6/10 target"
depends on BLK_DEV_DM
select MD_RAID1
+ select MD_RAID10
select MD_RAID456
select BLK_DEV_MD
---help---
- A dm target that supports RAID1, RAID4, RAID5 and RAID6 mappings
+ A dm target that supports RAID1, RAID10, RAID4, RAID5 and RAID6 mappings
A RAID-5 set of N drives with a capacity of C MB per drive provides
the capacity of C * (N - 1) MB, and protects against a failure