[PATCH] multipath-tools: add dcssblk to default blacklist

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

 



[libmultipath] Add "^dcssblk[0-9]*" to default blacklist.

Added some System z specific device nodes, which would otherwise cause
problems, to default blacklist.

Signed-off-by: Stefan Bader <shbader@xxxxxxxxxx>

---
 libmultipath/blacklist.c |    6 ++++++
 1 file changed, 6 insertions(+)

Index: multipath-tools-0.4.7.latest-20070723/libmultipath/blacklist.c
===================================================================
--- multipath-tools-0.4.7.latest-20070723.orig/libmultipath/blacklist.c
+++ multipath-tools-0.4.7.latest-20070723/libmultipath/blacklist.c
@@ -121,6 +121,12 @@ setup_default_blist (struct config * con
        if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))
                return 1;
 
+       str = STRDUP("^dcssblk[0-9]*");
+       if (!str)
+               return 1;
+       if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))
+               return 1;
+
        vector_foreach_slot (conf->hwtable, hwe, i) {
                if (hwe->bl_product) {
                        if (alloc_ble_device(conf->blist_device))



Mit freundlichem Gruß / Regards,
Stefan Bader

SW Linux on zSeries Development
Stefan.Bader@xxxxxxxxxx

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
----------------------------------------------------------------------------------
  When all other means of communication fail, try words.

Attachment: mp-tools-blacklist-dcssblk.patch
Description: Binary data

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux