Add nexenta comstart hardware defaults.
authorChristophe Varoqui <christophe.varoqui@free.fr>
Fri, 22 Jan 2010 17:45:39 +0000 (18:45 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Fri, 22 Jan 2010 17:53:12 +0000 (18:53 +0100)
Testing was sponsored by Alyseo SARL.

libmultipath/hwtable.c
multipath.conf.defaults

index fabf9a8..7c2d06f 100644 (file)
@@ -739,6 +739,27 @@ static struct hwentry default_hw[] = {
                .checker_name  = DIRECTIO,
                .prio_name     = PRIO_NETAPP,
        },
+       /*
+        * NEXENTA/COMSTAR controller family
+        *
+        * Maintainer : Yacine Kheddache
+        * Mail : yacine@alyseo.com
+        */
+       {
+               .vendor        = "NEXENTA",
+               .product       = "COMSTAR",
+               .getuid        = DEFAULT_GETUID,
+               .features      = "1 queue_if_no_path",
+               .hwhandler     = DEFAULT_HWHANDLER,
+               .selector      = DEFAULT_SELECTOR,
+               .pgpolicy      = GROUP_BY_SERIAL,
+               .pgfailback    = -FAILBACK_IMMEDIATE,
+               .rr_weight     = RR_WEIGHT_NONE,
+               .no_path_retry = 30,
+               .minio         = 128,
+               .checker_name  = DIRECTIO,
+               .prio_name     = DEFAULT_PRIO,
+       },
        /*
         * IBM NSeries (NETAPP) controller family
         *
index 7aeed79..4f8806a 100644 (file)
 #              prio                    netapp
 #      }
 #      device {
+#              vendor                  "NEXENTA"
+#              product                 "COMSTAR"
+#              getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
+#              features                "1 queue_if_no_path"
+#              hardware_handler        "0"
+#              path_selector           "round-robin 0"
+#              path_grouping_policy    group_by_serial
+#              failback                immediate
+#              rr_weight               uniform
+#              no_path_retry           30
+#              rr_min_io               128
+#              path_checker            directio
+#              prio                    const
+#      }
+#      device {
 #              vendor                  "IBM"
 #              product                 "Nseries.*"
 #              getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"