From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doron Tal1" Subject: Question about multipath device compiled defaults Date: Thu, 5 Nov 2015 08:59:31 +0200 Message-ID: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9069487449968896631==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids --===============9069487449968896631== Content-Type: multipart/alternative; boundary="=_alternative 00266818C2257EF4_=" --=_alternative 00266818C2257EF4_= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="US-ASCII" Hi all, I would like to know how and what procedure i should follow if i want to=20 modify or add new settings to the device mapper defaults. So for example how can i modify existing compiled settings for the 2810XIV = device? in case i want to add a new device and it settings, how can it be=20 done? Thx in advance for your help with this matter. Regards, =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Doron Tal Software Specialist, Interoperability Team=20 XIV, an IBM global brand Phone: +972-(0)3-689-7293 Mobile: +972-(0)54-5989-222 Fax: +972-(0)3-647-8925 E-mail: dorontal@il.ibm.com --=_alternative 00266818C2257EF4_= Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="US-ASCII" Hi all,

I would like to know how and what procedure i should follow if i want to modify or add new settings to the device mapper defaults.
So for example how c= an i modify existing compiled settings for the 2810XIV device? in case i want to add a new device and it settings, how can it be done?

Thx in advance for your help with this matter.

Regar= ds,
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Doron Tal
Software Spec= ialist, Interoperability Team

XIV, an IBM global brand
Phone: +9= 72-(0)3-689-7293
Mobile: +972-(0)54-5989-222
Fax:   &n= bsp; +972-(0)3-647-8925
E-mail:
dorontal@il.ibm.com=
--=_alternative 00266818C2257EF4_=-- --===============9069487449968896631== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============9069487449968896631==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mauricio Faria de Oliveira Subject: Re: Question about multipath device compiled defaults Date: Tue, 19 Jan 2016 14:35:32 -0200 Message-ID: <569E65D4.4020002@linux.vnet.ibm.com> References: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: DORONTAL@il.ibm.com Cc: device-mapper development List-Id: dm-devel.ids On 11/05/2015 04:59 AM, Doron Tal1 wrote: > I would like to know how and what procedure i should follow if i want to > modify or add new settings to the device mapper defaults. The defaults are in hwtable.c [1]. > So for example how can i modify existing compiled settings for the > 2810XIV device? in case i want to add a new device and it settings, how > can it be done? To modify the compiled settings, you have to modify it and recompile. To modify the runtime settings (based on the defaults), you can modify /etc/multipath.conf (see its manpage [2] with 'man multipath.conf'). You can verify the the setting values used during multipath discovery with 'multipath -v3' for example, or "multipathd -k'show config'". Hope this might still help at this time, [1] http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/hwtable.c [2] http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=multipath/multipath.conf.5 -- Mauricio Faria de Oliveira IBM Linux Technology Center From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Varoqui Subject: Re: Question about multipath device compiled defaults Date: Tue, 19 Jan 2016 17:48:42 +0100 Message-ID: References: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com> <569E65D4.4020002@linux.vnet.ibm.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5888926943117853677==" Return-path: In-Reply-To: <569E65D4.4020002@linux.vnet.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development Cc: DORONTAL@il.ibm.com List-Id: dm-devel.ids --===============5888926943117853677== Content-Type: multipart/alternative; boundary=047d7b3a7f5c6487830529b2a4b0 --047d7b3a7f5c6487830529b2a4b0 Content-Type: text/plain; charset=UTF-8 Hi, and when you are ready, you can post the patch here so I can merge it upstream. Thanks, Christophe Varoqui OpenSVC On Tue, Jan 19, 2016 at 5:35 PM, Mauricio Faria de Oliveira < mauricfo@linux.vnet.ibm.com> wrote: > On 11/05/2015 04:59 AM, Doron Tal1 wrote: > >> I would like to know how and what procedure i should follow if i want to >> modify or add new settings to the device mapper defaults. >> > > The defaults are in hwtable.c [1]. > > So for example how can i modify existing compiled settings for the >> 2810XIV device? in case i want to add a new device and it settings, how >> can it be done? >> > > To modify the compiled settings, you have to modify it and recompile. > > To modify the runtime settings (based on the defaults), you can modify > /etc/multipath.conf (see its manpage [2] with 'man multipath.conf'). > > You can verify the the setting values used during multipath discovery > with 'multipath -v3' for example, or "multipathd -k'show config'". > > Hope this might still help at this time, > > [1] > http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/hwtable.c > [2] > http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=multipath/multipath.conf.5 > > -- > Mauricio Faria de Oliveira > IBM Linux Technology Center > > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel > --047d7b3a7f5c6487830529b2a4b0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

and when you are ready, you c= an post the patch here so I can merge it upstream.

Thank= s,
Christophe Varoqui
OpenSVC

On Tue, Jan 19, 2016 at 5:35 PM= , Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>= ; wrote:
On 11/05= /2015 04:59 AM, Doron Tal1 wrote:
I would like to know how and what procedure i should follow if i want to modify or add new settings to the device mapper defaults.

The defaults are in hwtable.c [1].

So for example how can i modify existing compiled settings for the
2810XIV device? in case i want to add a new device and it settings, how
can it be done?

To modify the compiled settings, you have to modify it and recompile.

To modify the runtime settings (based on the defaults), you can modify
/etc/multipath.conf (see its manpage [2] with 'man multipath.conf')= .

You can verify the the setting values used during multipath discovery
with 'multipath -v3' for example, or "multipathd -k'show c= onfig'".

Hope this might still help at this time,

[1] ht= tp://git.opensvc.com/gitweb.cgi?p=3Dmultipath-tools/.git;a=3Dblob;f=3Dlibmu= ltipath/hwtable.c
[2] http://git.opensvc.com/gitweb.cgi?p=3Dmultipath-tools/.git;a=3Dblob;f=3Dm= ultipath/multipath.conf.5

--
Mauricio Faria de Oliveira
IBM Linux Technology Center

--
dm-devel mailing list
dm-devel@redhat.co= m
https://www.redhat.com/mailman/listinfo/dm-devel=

--047d7b3a7f5c6487830529b2a4b0-- --===============5888926943117853677== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5888926943117853677==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Bunker Subject: Re: Question about multipath device compiled defaults Date: Tue, 19 Jan 2016 14:17:39 -0800 Message-ID: References: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com> <569E65D4.4020002@linux.vnet.ibm.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6126659575084078757==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids --===============6126659575084078757== Content-Type: multipart/alternative; boundary=001a1141e9b6ca8d630529b73c17 --001a1141e9b6ca8d630529b73c17 Content-Type: text/plain; charset=UTF-8 There are just two files I touch, so the patch is simple: diff -Naur 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 -Naur 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 { #} Thanks, Brian On Tue, Jan 19, 2016 at 8:48 AM, Christophe Varoqui < christophe.varoqui@opensvc.com> wrote: > Hi, > > and when you are ready, you can post the patch here so I can merge it > upstream. > > Thanks, > Christophe Varoqui > OpenSVC > > On Tue, Jan 19, 2016 at 5:35 PM, Mauricio Faria de Oliveira < > mauricfo@linux.vnet.ibm.com> wrote: > >> On 11/05/2015 04:59 AM, Doron Tal1 wrote: >> >>> I would like to know how and what procedure i should follow if i want to >>> modify or add new settings to the device mapper defaults. >>> >> >> The defaults are in hwtable.c [1]. >> >> So for example how can i modify existing compiled settings for the >>> 2810XIV device? in case i want to add a new device and it settings, how >>> can it be done? >>> >> >> To modify the compiled settings, you have to modify it and recompile. >> >> To modify the runtime settings (based on the defaults), you can modify >> /etc/multipath.conf (see its manpage [2] with 'man multipath.conf'). >> >> You can verify the the setting values used during multipath discovery >> with 'multipath -v3' for example, or "multipathd -k'show config'". >> >> Hope this might still help at this time, >> >> [1] >> http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/hwtable.c >> [2] >> http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=multipath/multipath.conf.5 >> >> -- >> Mauricio Faria de Oliveira >> IBM Linux Technology Center >> >> -- >> dm-devel mailing list >> dm-devel@redhat.com >> https://www.redhat.com/mailman/listinfo/dm-devel >> > > > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel > -- Brian Bunker PURE Storage, Inc. brian@purestorage.com --001a1141e9b6ca8d630529b73c17 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
There are just two files I touch, so the patch is simple:<= div>
diff -Naur 3/multipath-tools/libmultipath/hwtable.c= 4/multipath-tools/libmultipath/hwtable.c
--- 3/multipath-tools/l= ibmultipath/hwtable.c =C2=A0 =C2=A02016-01-14 17:47:06.000000000 -0800
+++ 4/multipath-tools/libmultipath/hwtable.c =C2=A0 =C2=A02016-01-14 = 18:33:45.000000000 -0800
@@ -1166,6 +1166,22 @@
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .prio_name =C2=A0 =C2=A0 = =3D PRIO_ALUA,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 .prio_args =C2=A0 =C2=A0 =3D NULL,
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 },
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0{
+ =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .vendor =C2=A0 =C2=A0 =C2=A0 =C2=A0= =3D "PURE",
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 .product =C2=A0 =C2=A0 =C2=A0 =3D "FlashArray",
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .features =C2=A0 =C2=A0= =C2=A0=3D DEFAULT_FEATURES,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 .hwhandler =C2=A0 =C2=A0 =3D DEFAULT_HWHANDLER,
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .selector =C2=A0 =C2=A0 = =C2=A0=3D "queue-length 0",
+ =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 .pgpolicy =C2=A0 =C2=A0 =C2=A0=3D MULTIBUS,
<= div>+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .pgfailback =C2=A0 = =C2=A0=3D -FAILBACK_IMMEDIATE,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 .checker_name =C2=A0=3D TUR,
+ =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .fast_io_fail =C2=A0=3D 10,
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.user_friendly_names= =3D USER_FRIENDLY_NAMES_OFF,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 .prio_name =C2=A0 =C2=A0 =3D DEFAULT_PRIO,
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.no_path_retry =3D 0= ,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.dev_l= oss =C2=A0 =C2=A0 =C2=A0=3D 60,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 .prio_args =C2=A0 =C2=A0 =3D NULL,
+ =C2=A0 =C2= =A0 =C2=A0 }, =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 /*
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0* EOL
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0*/
diff -Naur 3/multipath-tools/mu= ltipath.conf.defaults 4/multipath-tools/multipath.conf.defaults
-= -- 3/multipath-tools/multipath.conf.defaults =C2=A0 2016-01-14 17:47:06.000= 000000 -0800
+++ 4/multipath-tools/multipath.conf.defaults =C2=A0= 2016-01-14 18:35:50.000000000 -0800
@@ -940,6 +940,17 @@
=C2=A0# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rr_weight "= uniform"
=C2=A0# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0no_path_retry "queue"
=C2=A0# =C2=A0 =C2=A0 =C2= =A0}
+# =C2=A0 =C2=A0 =C2=A0 device {
+# =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 vendor "PURE"
+# =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 path_selector "queue-len= gth 0"
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 p= ath_grouping_policy "multibus"
+# =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 path_checker "tur"
+# =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fast_io_fail_tmo 10
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 user_friendly_names &q= uot;no"
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = no_path_retry 0
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 features 0
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 dev_loss_tmo 60
+# =C2=A0 =C2=A0 =C2=A0 }
=C2=A0#}<= /div>
=C2=A0#multipaths {
=C2=A0#}

=

Thanks,
Brian
=
On Tue, Jan 19, 2016 at 8:48 AM, Christophe = Varoqui <christophe.varoqui@opensvc.com> wrote:=
Hi,

=
and when you are ready, you can post the patch here so I can merge it= upstream.

Thanks,
Christophe Varoqui
OpenSVC

On Tue, Jan 19, 2016 at 5:35 PM= , Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>= ; wrote:
On 11/05/2015 04:59= AM, Doron Tal1 wrote:
I would like to know how and what procedure i should follow if i want to modify or add new settings to the device mapper defaults.

The defaults are in hwtable.c [1].

So for example how can i modify existing compiled settings for the
2810XIV device? in case i want to add a new device and it settings, how
can it be done?

To modify the compiled settings, you have to modify it and recompile.

To modify the runtime settings (based on the defaults), you can modify
/etc/multipath.conf (see its manpage [2] with 'man multipath.conf')= .

You can verify the the setting values used during multipath discovery
with 'multipath -v3' for example, or "multipathd -k'show c= onfig'".

Hope this might still help at this time,

[1] ht= tp://git.opensvc.com/gitweb.cgi?p=3Dmultipath-tools/.git;a=3Dblob;f=3Dlibmu= ltipath/hwtable.c
[2] http://git.opensvc.com/gitweb.cgi?p=3Dmultipath-tools/.git;a=3Dblob;f=3Dm= ultipath/multipath.conf.5

--
Mauricio Faria de Oliveira
IBM Linux Technology Center

--
dm-devel mailing list
dm-devel@redhat.co= m
https://www.redhat.com/mailman/listinfo/dm-devel=


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel=



--
--001a1141e9b6ca8d630529b73c17-- --===============6126659575084078757== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6126659575084078757==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Varoqui Subject: Re: Question about multipath device compiled defaults Date: Wed, 20 Jan 2016 07:58:20 +0100 Message-ID: References: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com> <569E65D4.4020002@linux.vnet.ibm.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8351660329513751609==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids --===============8351660329513751609== Content-Type: multipart/alternative; boundary=001a11c33e96e70cf50529be82b2 --001a11c33e96e70cf50529be82b2 Content-Type: text/plain; charset=UTF-8 Ok, merged. On Tue, Jan 19, 2016 at 11:17 PM, Brian Bunker wrote: > There are just two files I touch, so the patch is simple: > > diff -Naur 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 -Naur 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 { > #} > > > Thanks, > Brian > > On Tue, Jan 19, 2016 at 8:48 AM, Christophe Varoqui < > christophe.varoqui@opensvc.com> wrote: > >> Hi, >> >> and when you are ready, you can post the patch here so I can merge it >> upstream. >> >> Thanks, >> Christophe Varoqui >> OpenSVC >> >> On Tue, Jan 19, 2016 at 5:35 PM, Mauricio Faria de Oliveira < >> mauricfo@linux.vnet.ibm.com> wrote: >> >>> On 11/05/2015 04:59 AM, Doron Tal1 wrote: >>> >>>> I would like to know how and what procedure i should follow if i want to >>>> modify or add new settings to the device mapper defaults. >>>> >>> >>> The defaults are in hwtable.c [1]. >>> >>> So for example how can i modify existing compiled settings for the >>>> 2810XIV device? in case i want to add a new device and it settings, how >>>> can it be done? >>>> >>> >>> To modify the compiled settings, you have to modify it and recompile. >>> >>> To modify the runtime settings (based on the defaults), you can modify >>> /etc/multipath.conf (see its manpage [2] with 'man multipath.conf'). >>> >>> You can verify the the setting values used during multipath discovery >>> with 'multipath -v3' for example, or "multipathd -k'show config'". >>> >>> Hope this might still help at this time, >>> >>> [1] >>> http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/hwtable.c >>> [2] >>> http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=multipath/multipath.conf.5 >>> >>> -- >>> Mauricio Faria de Oliveira >>> IBM Linux Technology Center >>> >>> -- >>> dm-devel mailing list >>> dm-devel@redhat.com >>> https://www.redhat.com/mailman/listinfo/dm-devel >>> >> >> >> -- >> dm-devel mailing list >> dm-devel@redhat.com >> https://www.redhat.com/mailman/listinfo/dm-devel >> > > > > -- > Brian Bunker > PURE Storage, Inc. > brian@purestorage.com > > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel > --001a11c33e96e70cf50529be82b2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok, merged.

On Tue, Jan 19, 2016 at 11:17 PM, Brian Bunker <bri= an@purestorage.com> wrote:
=
There are just two files I touch, so the patch is simple:<= div>
diff -Naur 3/multipath-tools/libmultipath/hwtable.c= 4/multipath-tools/libmultipath/hwtable.c
--- 3/multipath-tools/l= ibmultipath/hwtable.c =C2=A0 =C2=A02016-01-14 17:47:06.000000000 -0800
+++ 4/multipath-tools/libmultipath/hwtable.c =C2=A0 =C2=A02016-01-14 = 18:33:45.000000000 -0800
@@ -1166,6 +1166,22 @@
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .prio_name =C2=A0 =C2=A0 = =3D PRIO_ALUA,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 .prio_args =C2=A0 =C2=A0 =3D NULL,
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 },
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0{
+ =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .vendor =C2=A0 =C2=A0 =C2=A0 =C2=A0= =3D "PURE",
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 .product =C2=A0 =C2=A0 =C2=A0 =3D "FlashArray",
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .features =C2=A0 =C2=A0= =C2=A0=3D DEFAULT_FEATURES,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 .hwhandler =C2=A0 =C2=A0 =3D DEFAULT_HWHANDLER,
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .selector =C2=A0 =C2=A0 = =C2=A0=3D "queue-length 0",
+ =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 .pgpolicy =C2=A0 =C2=A0 =C2=A0=3D MULTIBUS,
<= div>+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .pgfailback =C2=A0 = =C2=A0=3D -FAILBACK_IMMEDIATE,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 .checker_name =C2=A0=3D TUR,
+ =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .fast_io_fail =C2=A0=3D 10,
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.user_friendly_names= =3D USER_FRIENDLY_NAMES_OFF,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 .prio_name =C2=A0 =C2=A0 =3D DEFAULT_PRIO,
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.no_path_retry =3D 0= ,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.dev_l= oss =C2=A0 =C2=A0 =C2=A0=3D 60,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 .prio_args =C2=A0 =C2=A0 =3D NULL,
+ =C2=A0 =C2= =A0 =C2=A0 }, =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 /*
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0* EOL
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0*/
diff -Naur 3/multipath-tools/mu= ltipath.conf.defaults 4/multipath-tools/multipath.conf.defaults
-= -- 3/multipath-tools/multipath.conf.defaults =C2=A0 2016-01-14 17:47:06.000= 000000 -0800
+++ 4/multipath-tools/multipath.conf.defaults =C2=A0= 2016-01-14 18:35:50.000000000 -0800
@@ -940,6 +940,17 @@
=C2=A0# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rr_weight "= uniform"
=C2=A0# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0no_path_retry "queue"
=C2=A0# =C2=A0 =C2=A0 =C2= =A0}
+# =C2=A0 =C2=A0 =C2=A0 device {
+# =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 vendor "PURE"
+# =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 path_selector "queue-len= gth 0"
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 p= ath_grouping_policy "multibus"
+# =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 path_checker "tur"
+# =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fast_io_fail_tmo 10
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 user_friendly_names &q= uot;no"
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = no_path_retry 0
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 features 0
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 dev_loss_tmo 60
+# =C2=A0 =C2=A0 =C2=A0 }
=C2=A0#}<= /div>
=C2=A0#multipaths {
=C2=A0#}

=

Thanks,
Brian
=

On Tue, Jan 19, 2016 = at 8:48 AM, Christophe Varoqui <christophe.varoqui@opensvc.co= m> wrote:
=
Hi,

and when you are ready, you can post the patch= here so I can merge it upstream.

Thanks,
Chri= stophe Varoqui
OpenSVC

On Tue, Jan 19, 2016 at 5:35 PM, Mauri= cio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> wrote:
On 11/05/2015 04:59 AM, Do= ron Tal1 wrote:
I would like to know how and what procedure i should follow if i want to modify or add new settings to the device mapper defaults.

The defaults are in hwtable.c [1].

So for example how can i modify existing compiled settings for the
2810XIV device? in case i want to add a new device and it settings, how
can it be done?

To modify the compiled settings, you have to modify it and recompile.

To modify the runtime settings (based on the defaults), you can modify
/etc/multipath.conf (see its manpage [2] with 'man multipath.conf')= .

You can verify the the setting values used during multipath discovery
with 'multipath -v3' for example, or "multipathd -k'show c= onfig'".

Hope this might still help at this time,

[1] ht= tp://git.opensvc.com/gitweb.cgi?p=3Dmultipath-tools/.git;a=3Dblob;f=3Dlibmu= ltipath/hwtable.c
[2] http://git.opensvc.com/gitweb.cgi?p=3Dmultipath-tools/.git;a=3Dblob;f=3Dm= ultipath/multipath.conf.5

--
Mauricio Faria de Oliveira
IBM Linux Technology Center

--
dm-devel mailing list
dm-devel@redhat.co= m
https://www.redhat.com/mailman/listinfo/dm-devel=


--
dm-devel mailing list
dm-devel@redhat.co= m
https://www.redhat.com/mailman/listinfo/dm-devel=



--

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel=

--001a11c33e96e70cf50529be82b2-- --===============8351660329513751609== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8351660329513751609==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Bunker Subject: Re: Question about multipath device compiled defaults Date: Wed, 20 Jan 2016 08:15:22 -0800 Message-ID: References: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com> <569E65D4.4020002@linux.vnet.ibm.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7144725582639848357==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids --===============7144725582639848357== Content-Type: multipart/alternative; boundary=001a113b8fea0642020529c64b05 --001a113b8fea0642020529c64b05 Content-Type: text/plain; charset=UTF-8 Thank you. Any ideas how long it typically takes the distros like RHEL, etc. to pull these changes down, or do they need to be pinged explicitly that there are changes available that we want them to consider? Brian On Tue, Jan 19, 2016 at 10:58 PM, Christophe Varoqui < christophe.varoqui@opensvc.com> wrote: > Ok, merged. > > On Tue, Jan 19, 2016 at 11:17 PM, Brian Bunker > wrote: > >> There are just two files I touch, so the patch is simple: >> >> diff -Naur 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 -Naur 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 { >> #} >> >> >> Thanks, >> Brian >> >> On Tue, Jan 19, 2016 at 8:48 AM, Christophe Varoqui < >> christophe.varoqui@opensvc.com> wrote: >> >>> Hi, >>> >>> and when you are ready, you can post the patch here so I can merge it >>> upstream. >>> >>> Thanks, >>> Christophe Varoqui >>> OpenSVC >>> >>> On Tue, Jan 19, 2016 at 5:35 PM, Mauricio Faria de Oliveira < >>> mauricfo@linux.vnet.ibm.com> wrote: >>> >>>> On 11/05/2015 04:59 AM, Doron Tal1 wrote: >>>> >>>>> I would like to know how and what procedure i should follow if i want >>>>> to >>>>> modify or add new settings to the device mapper defaults. >>>>> >>>> >>>> The defaults are in hwtable.c [1]. >>>> >>>> So for example how can i modify existing compiled settings for the >>>>> 2810XIV device? in case i want to add a new device and it settings, how >>>>> can it be done? >>>>> >>>> >>>> To modify the compiled settings, you have to modify it and recompile. >>>> >>>> To modify the runtime settings (based on the defaults), you can modify >>>> /etc/multipath.conf (see its manpage [2] with 'man multipath.conf'). >>>> >>>> You can verify the the setting values used during multipath discovery >>>> with 'multipath -v3' for example, or "multipathd -k'show config'". >>>> >>>> Hope this might still help at this time, >>>> >>>> [1] >>>> http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/hwtable.c >>>> [2] >>>> http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=multipath/multipath.conf.5 >>>> >>>> -- >>>> Mauricio Faria de Oliveira >>>> IBM Linux Technology Center >>>> >>>> -- >>>> dm-devel mailing list >>>> dm-devel@redhat.com >>>> https://www.redhat.com/mailman/listinfo/dm-devel >>>> >>> >>> >>> -- >>> dm-devel mailing list >>> dm-devel@redhat.com >>> https://www.redhat.com/mailman/listinfo/dm-devel >>> >> >> >> >> -- >> Brian Bunker >> PURE Storage, Inc. >> brian@purestorage.com >> >> -- >> dm-devel mailing list >> dm-devel@redhat.com >> https://www.redhat.com/mailman/listinfo/dm-devel >> > > > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel > -- Brian Bunker PURE Storage, Inc. brian@purestorage.com --001a113b8fea0642020529c64b05 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you. Any ideas how long it typically takes the distr= os like RHEL, etc. to pull these changes down, or do they need to be pinged= explicitly that there are changes available that we want them to consider?=

Brian

On Tue, Jan 19, 2016 at 10:58 PM, Christophe Varoqui <christophe.varoqui@opensvc.com> wrote:
Ok, merged.

On Tue, Jan 19, 2016 at 11:17 PM, Brian Bunker <= ;brian@purestora= ge.com> wrote:
There are just two files I touch, so the patch is simple:

diff -Naur 3/multipath-tools/libmultipath/hwtable.c 4/multipath= -tools/libmultipath/hwtable.c
--- 3/multipath-tools/libmultipath/= hwtable.c =C2=A0 =C2=A02016-01-14 17:47:06.000000000 -0800
+++ 4/= multipath-tools/libmultipath/hwtable.c =C2=A0 =C2=A02016-01-14 18:33:45.000= 000000 -0800
@@ -1166,6 +1166,22 @@
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .prio_name =C2=A0 =C2=A0 =3D PRIO_AL= UA,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .prio= _args =C2=A0 =C2=A0 =3D NULL,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 },
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0{
+ =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 .vendor =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "PURE&= quot;,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .produc= t =C2=A0 =C2=A0 =C2=A0 =3D "FlashArray",
+ =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .features =C2=A0 =C2=A0 =C2=A0=3D DE= FAULT_FEATURES,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 .hwhandler =C2=A0 =C2=A0 =3D DEFAULT_HWHANDLER,
+ =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .selector =C2=A0 =C2=A0 =C2=A0=3D &q= uot;queue-length 0",
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 .pgpolicy =C2=A0 =C2=A0 =C2=A0=3D MULTIBUS,
+ =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .pgfailback =C2=A0 =C2=A0=3D = -FAILBACK_IMMEDIATE,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 .checker_name =C2=A0=3D TUR,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 .fast_io_fail =C2=A0=3D 10,
+ =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.user_friendly_names =3D USER_FRI= ENDLY_NAMES_OFF,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 .prio_name =C2=A0 =C2=A0 =3D DEFAULT_PRIO,
+ =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.no_path_retry =3D 0,
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.dev_loss =C2=A0 =C2= =A0 =C2=A0=3D 60,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 .prio_args =C2=A0 =C2=A0 =3D NULL,
+ =C2=A0 =C2=A0 =C2=A0 }, = =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 /*
<= div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0* EOL
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0*/
diff -Naur 3/multipath-tools/multipath.conf.defau= lts 4/multipath-tools/multipath.conf.defaults
--- 3/multipath-too= ls/multipath.conf.defaults =C2=A0 2016-01-14 17:47:06.000000000 -0800
=
+++ 4/multipath-tools/multipath.conf.defaults =C2=A0 2016-01-14 18:35:= 50.000000000 -0800
@@ -940,6 +940,17 @@
=C2=A0# =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rr_weight "uniform"
=C2=A0# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no_path_retry= "queue"
=C2=A0# =C2=A0 =C2=A0 =C2=A0}
+# =C2= =A0 =C2=A0 =C2=A0 device {
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 vendor "PURE"
+# =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 path_selector "queue-length 0"
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 path_grouping_policy &= quot;multibus"
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 path_checker "tur"
+# =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 fast_io_fail_tmo 10
+# =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 user_friendly_names "no"
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no_path_retry 0
=
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 features 0
+# =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dev_loss_tmo 60
+# =C2=A0 =C2=A0 =C2=A0 }
=C2=A0#}
=C2=A0#multipa= ths {
=C2=A0#}


Than= ks,
Brian

On Tue, Jan 19, 2016 at 8:48 AM, Christophe Varoqui <christophe.varoqui@opensvc.com> wrote:
Hi,

and when= you are ready, you can post the patch here so I can merge it upstream.
Thanks,
Christophe Varoqui
OpenSVC

= On Tue, Jan 19, 2016 at 5:35 PM, Mauricio Faria de Oliveira <mau= ricfo@linux.vnet.ibm.com> wrote:
On 11/05/2015 04:59 AM, Doron Tal1 wrote:
I would like to know how and what procedure i should follow if i want to modify or add new settings to the device mapper defaults.

The defaults are in hwtable.c [1].

So for example how can i modify existing compiled settings for the
2810XIV device? in case i want to add a new device and it settings, how
can it be done?

To modify the compiled settings, you have to modify it and recompile.

To modify the runtime settings (based on the defaults), you can modify
/etc/multipath.conf (see its manpage [2] with 'man multipath.conf')= .

You can verify the the setting values used during multipath discovery
with 'multipath -v3' for example, or "multipathd -k'show c= onfig'".

Hope this might still help at this time,

[1] ht= tp://git.opensvc.com/gitweb.cgi?p=3Dmultipath-tools/.git;a=3Dblob;f=3Dlibmu= ltipath/hwtable.c
[2] http://git.opensvc.com/gitweb.cgi?p=3Dmultipath-tools/.git;a=3Dblob;f=3Dm= ultipath/multipath.conf.5

--
Mauricio Faria de Oliveira
IBM Linux Technology Center

--
dm-devel mailing list
dm-devel@redhat.co= m
https://www.redhat.com/mailman/listinfo/dm-devel=


--
dm-devel mailing list
dm-devel@redhat.co= m
https://www.redhat.com/mailman/listinfo/dm-devel=



--

--
dm-devel mailing list
dm-devel@redhat.co= m
https://www.redhat.com/mailman/listinfo/dm-devel=


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel=



--
--001a113b8fea0642020529c64b05-- --===============7144725582639848357== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7144725582639848357==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mauricio Faria de Oliveira Subject: Re: Question about multipath device compiled defaults Date: Wed, 20 Jan 2016 15:47:57 -0200 Message-ID: <569FC84D.4070301@linux.vnet.ibm.com> References: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com> <569E65D4.4020002@linux.vnet.ibm.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development Cc: brian@purestorage.com List-Id: dm-devel.ids Hi Brian, On 01/20/2016 02:15 PM, Brian Bunker wrote: > Any ideas how long it typically takes the distros like RHEL, etc. to > pull these changes down, or do they need to be pinged explicitly that > there are changes available that we want them to consider? It's a good idea to let them know (e.g., bug/feature report). I've worked a bit w/ Ubuntu, RHEL, and SLES. Even though the changes might eventually make downstream, some distros won't pull everything (reasonably), but only the pieces they find/know to be required or desired by users/customers -- specially on released/ stable distro versions. So, letting them know / ask for consideration usually helps. -- Mauricio Faria de Oliveira IBM Linux Technology Center