Since the commit 0cf4503174c1, the dm-raid subsystem can activate a RAID-0
array. Therefore, add MD_RAID0 to the dependencies of DM_RAID, so that
MD_RAID0 will be selected when DM_RAID is selected.

Signed-off-by: Mikulas Patocka <[email protected]>
Fixes: 0cf4503174c1 ("dm raid: add support for the MD RAID0 personality")
Cc: [email protected]      # v4.2+

---
 drivers/md/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6/drivers/md/Kconfig
===================================================================
--- linux-2.6.orig/drivers/md/Kconfig
+++ linux-2.6/drivers/md/Kconfig
@@ -365,6 +365,7 @@ config DM_LOG_USERSPACE
 config DM_RAID
        tristate "RAID 1/4/5/6/10 target"
        depends on BLK_DEV_DM
+       select MD_RAID0
        select MD_RAID1
        select MD_RAID10
        select MD_RAID456

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to