[dm-devel] getting support for PURE FlashArray into multipath-tools

Brian Bunker brian at purestorage.com
Fri Jan 15 02:53:02 UTC 2016


Hello dm-devel,

How do I go about getting PURE into the list of supported arrays in
multipath? The patch would something like this:

diff -uNr 3/multipath-tools/libmultipath/hwtable.c
4/multipath-tools/libmultipath/hwtable.c
--- 3/multipath-tools/libmultipath/hwtable.c    2016-01-14
17:47:06.000000000 -0800
+++ 4/multipath-tools/libmultipath/hwtable.c    2016-01-14
18:33:45.000000000 -0800
@@ -1166,6 +1166,22 @@
                .prio_name     = PRIO_ALUA,
                .prio_args     = NULL,
        },
+        {
+               .vendor        = "PURE",
+               .product       = "FlashArray",
+               .features      = DEFAULT_FEATURES,
+               .hwhandler     = DEFAULT_HWHANDLER,
+               .selector      = "queue-length 0",
+               .pgpolicy      = MULTIBUS,
+               .pgfailback    = -FAILBACK_IMMEDIATE,
+               .checker_name  = TUR,
+               .fast_io_fail  = 10,
+                .user_friendly_names = USER_FRIENDLY_NAMES_OFF,
+               .prio_name     = DEFAULT_PRIO,
+                .no_path_retry = 0,
+                .dev_loss      = 60,
+               .prio_args     = NULL,
+       },
        /*
         * EOL
         */
diff -uNr 3/multipath-tools/multipath.conf.defaults
4/multipath-tools/multipath.conf.defaults
--- 3/multipath-tools/multipath.conf.defaults   2016-01-14
17:47:06.000000000 -0800
+++ 4/multipath-tools/multipath.conf.defaults   2016-01-14
18:35:50.000000000 -0800
@@ -940,6 +940,17 @@
 #              rr_weight "uniform"
 #              no_path_retry "queue"
 #      }
+#       device {
+#               vendor "PURE"
+#               path_selector "queue-length 0"
+#               path_grouping_policy "multibus"
+#               path_checker "tur"
+#               fast_io_fail_tmo 10
+#               user_friendly_names "no"
+#               no_path_retry 0
+#               features 0
+#               dev_loss_tmo 60
+#       }
 #}
 #multipaths {
 #}

Let me know what is needed to move forward from here.

Thanks,
Brian

-- 
Brian Bunker
PURE Storage, Inc. <http://www.purestorage.com>
brian at purestorage.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160114/ae2ec6b1/attachment.htm>


More information about the dm-devel mailing list