[dm-devel] [PATCH 14/16] libmultipath: blacklist blktap devices

Benjamin Marzinski bmarzins at redhat.com
Wed Dec 11 06:43:08 UTC 2013


Multipath can't run on top of blktap devices, so it should just ignore them.

Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
---
 libmultipath/blacklist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c
index d597350..79ddcde 100644
--- a/libmultipath/blacklist.c
+++ b/libmultipath/blacklist.c
@@ -164,7 +164,7 @@ setup_default_blist (struct config * conf)
 	if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))
 		return 1;
 
-	str = STRDUP("^hd[a-z]");
+	str = STRDUP("^(td|hd)[a-z]");
 	if (!str)
 		return 1;
 	if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))
-- 
1.8.4.2




More information about the dm-devel mailing list