[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Signed-off-by: Benjamin Marzinski <bmarzins 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]