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

[dm-devel] [PATCH] libmultipath/hwtable.c: Compellent Definition



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 Compellent com
(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 compellent com
+        */
+       {
+               .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)
 {


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