<div dir="ltr">Ok, merged.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 19, 2016 at 11:17 PM, Brian Bunker <span dir="ltr"><<a href="mailto:brian@purestorage.com" target="_blank">brian@purestorage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There are just two files I touch, so the patch is simple:<div><br></div><div><div>diff -Naur 3/multipath-tools/libmultipath/hwtable.c 4/multipath-tools/libmultipath/hwtable.c</div><div>--- 3/multipath-tools/libmultipath/hwtable.c 2016-01-14 17:47:06.000000000 -0800</div><div>+++ 4/multipath-tools/libmultipath/hwtable.c 2016-01-14 18:33:45.000000000 -0800</div><div>@@ -1166,6 +1166,22 @@</div><div> .prio_name = PRIO_ALUA,</div><div> .prio_args = NULL,</div><div> },</div><div>+ {</div><div>+ .vendor = "PURE",</div><div>+ .product = "FlashArray",</div><div>+ .features = DEFAULT_FEATURES,</div><div>+ .hwhandler = DEFAULT_HWHANDLER,</div><div>+ .selector = "queue-length 0",</div><div>+ .pgpolicy = MULTIBUS,</div><div>+ .pgfailback = -FAILBACK_IMMEDIATE,</div><div>+ .checker_name = TUR,</div><div>+ .fast_io_fail = 10,</div><div>+ .user_friendly_names = USER_FRIENDLY_NAMES_OFF,</div><div>+ .prio_name = DEFAULT_PRIO,</div><div>+ .no_path_retry = 0,</div><div>+ .dev_loss = 60,</div><div>+ .prio_args = NULL,</div><div>+ }, </div><div> /*</div><div> * EOL</div><div> */</div><div>diff -Naur 3/multipath-tools/multipath.conf.defaults 4/multipath-tools/multipath.conf.defaults</div><div>--- 3/multipath-tools/multipath.conf.defaults 2016-01-14 17:47:06.000000000 -0800</div><div>+++ 4/multipath-tools/multipath.conf.defaults 2016-01-14 18:35:50.000000000 -0800</div><div>@@ -940,6 +940,17 @@</div><div> # rr_weight "uniform"</div><div> # no_path_retry "queue"</div><div> # }</div><div>+# device {</div><div>+# vendor "PURE"</div><div>+# path_selector "queue-length 0"</div><div>+# path_grouping_policy "multibus"</div><div>+# path_checker "tur"</div><div>+# fast_io_fail_tmo 10</div><div>+# user_friendly_names "no"</div><div>+# no_path_retry 0</div><div>+# features 0</div><div>+# dev_loss_tmo 60</div><div>+# }</div><div> #}</div><div> #multipaths {</div><div> #}</div></div><div><br></div><div><br></div><div>Thanks,<br>Brian</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Jan 19, 2016 at 8:48 AM, Christophe Varoqui <span dir="ltr"><<a href="mailto:christophe.varoqui@opensvc.com" target="_blank">christophe.varoqui@opensvc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div>and when you are ready, you can post the patch here so I can merge it upstream.<div><br></div><div>Thanks,</div><div>Christophe Varoqui</div><div>OpenSVC</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 19, 2016 at 5:35 PM, Mauricio Faria de Oliveira <span dir="ltr"><<a href="mailto:mauricfo@linux.vnet.ibm.com" target="_blank">mauricfo@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 11/05/2015 04:59 AM, Doron Tal1 wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would like to know how and what procedure i should follow if i want to<br>
modify or add new settings to the device mapper defaults.<br>
</blockquote>
<br></span>
The defaults are in hwtable.c [1].<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So for example how can i modify existing compiled settings for the<br>
2810XIV device? in case i want to add a new device and it settings, how<br>
can it be done?<br>
</blockquote>
<br></span>
To modify the compiled settings, you have to modify it and recompile.<br>
<br>
To modify the runtime settings (based on the defaults), you can modify<br>
/etc/multipath.conf (see its manpage [2] with 'man multipath.conf').<br>
<br>
You can verify the the setting values used during multipath discovery<br>
with 'multipath -v3' for example, or "multipathd -k'show config'".<br>
<br>
Hope this might still help at this time,<br>
<br>
[1] <a href="http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/hwtable.c" rel="noreferrer" target="_blank">http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/hwtable.c</a><br>
[2] <a href="http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=multipath/multipath.conf.5" rel="noreferrer" target="_blank">http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=multipath/multipath.conf.5</a><span><font color="#888888"><br>
<br>
-- <br>
Mauricio Faria de Oliveira<br>
IBM Linux Technology Center<br>
<br>
--<br>
dm-devel mailing list<br>
<a href="mailto:dm-devel@redhat.com" target="_blank">dm-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/dm-devel" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/dm-devel</a><br>
</font></span></blockquote></div><br></div>
</div></div><br>--<br>
dm-devel mailing list<br>
<a href="mailto:dm-devel@redhat.com" target="_blank">dm-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/dm-devel" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/dm-devel</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div>Brian Bunker</div><div><a href="http://www.purestorage.com" target="_blank">PURE Storage, Inc.</a><br></div><div><a href="mailto:brian@purestorage.com" target="_blank">brian@purestorage.com</a></div></div>
</font></span></div>
<br>--<br>
dm-devel mailing list<br>
<a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/dm-devel" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/dm-devel</a><br></blockquote></div><br></div>