device-mapper-multipath/0110-RHBZ-blacklist-vd-devs.patch
Benjamin Marzinski 7f1b6e321b device-mapper-multipath-0.4.9-73
Add 0110-RHBZ-blacklist-vd-devs.patch
  * blacklist vd[a-z] devices, since they don't have a WWID for
    multipath to use.
2015-02-18 19:05:19 -06:00

18 lines
608 B
Diff

---
libmultipath/blacklist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: multipath-tools-130222/libmultipath/blacklist.c
===================================================================
--- multipath-tools-130222.orig/libmultipath/blacklist.c
+++ multipath-tools-130222/libmultipath/blacklist.c
@@ -169,7 +169,7 @@ setup_default_blist (struct config * con
if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))
return 1;
- str = STRDUP("^(td|hd)[a-z]");
+ str = STRDUP("^(td|hd|vd)[a-z]");
if (!str)
return 1;
if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))