[PATCH] libmultipath/hwtable.c: Compellent Definition

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

 



The following is the patch to include a hardware definition for
Compellent's SAN. This is my first patch so hopefully I did everything
correctly. The definition in config form is below, if for some reason my
code doesn't match that, please inform me.

        device {
                vendor "COMPELNT"
                product "Compellent Vol"
                path_grouping_policy multibus
                path_checker tur
                checker tur
                failback immediate
                no_path_retry queue
        }

---
Jim Lester | Linux Product Specialist
Jim.Lester@xxxxxxxxxxxxxx
(o) 952.294.2802
(c) 763.218.6012
Compellent Technologies | www.compellent.com

--- multipath-tools/libmultipath/hwtable.c      2008-07-10
17:05:53.000000000 -0500
+++ multipath-tools.my/libmultipath/hwtable.c   2008-07-10
17:17:27.000000000 -0500
@@ -706,6 +706,27 @@
                .prio_name     = PRIO_RDAC,
        },
        /*
+        * Compellent Technologies, Inc.
+        *
+        * Maintainer : Jim Lester, Compellent
+        * Mail : jim.lester@xxxxxxxxxxxxxx
+        */
+       {
+               .vendor        = "COMPELNT",
+               .product       = "Compellent Vol",
+               .getuid        = DEFAULT_GETUID,
+               .features      = DEFAULT_FEATURES,
+               .hwhandler     = DEFAULT_HWHANDLER,
+               .selector      = DEFAULT_SELECTOR,
+               .pgpolicy      = MULTIBUS,
+               .pgfailback    = -FAILBACK_IMMEDIATE,
+               .rr_weight     = RR_WEIGHT_NONE,
+               .no_path_retry = NO_PATH_RETRY_QUEUE,
+               .minio         = DEFAULT_MINIO,
+               .checker_name  = TUR,
+               .prio_name     = DEFAULT_PRIO,
+       },
+       /*
         * EOL
         */
        {
@@ -725,6 +746,7 @@
        },
 };

+
 extern int
 setup_default_hwtable (vector hw)
 {

--
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