[dm-devel] [PATCH] dm-raid: select the config option CONFIG_MD_RAID0
Mikulas Patocka
mpatocka at redhat.com
Tue Mar 28 16:53:39 UTC 2017
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 <mpatocka at redhat.com>
Fixes: 0cf4503174c1 ("dm raid: add support for the MD RAID0 personality")
Cc: stable at vger.kernel.org # 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
More information about the dm-devel
mailing list