* [PATCH] IBM hwtable update
@ 2005-12-07 11:11 Hannes Reinecke
2005-12-07 11:45 ` Stefan Bader
0 siblings, 1 reply; 3+ messages in thread
From: Hannes Reinecke @ 2005-12-07 11:11 UTC (permalink / raw)
To: christophe varoqui; +Cc: device-mapper development
[-- Attachment #1: Type: text/plain, Size: 355 bytes --]
Hi Christophe,
attached is a patch to update hwtable.c with some IBM Storage Servers.
Especially the DS6000 should be handled properly as it again has
asymmetric paths.
Cheers,
Hannes
--
Dr. Hannes Reinecke hare@suse.de
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
[-- Attachment #2: multipath-tools-ibm-hwtable-update.patch --]
[-- Type: text/x-patch, Size: 1617 bytes --]
Subject: Hardware entries for IBM Storage Servers
Several IBM Storage Servers (most notably the DS range) need
specific hardware entries. This patch adds hardware entries
for:
- IBM ESS F20 (aka Shark)
- IBM DS6000
- IBM DS8000
- IBM SVC
Signed-off-by: Hannes Reinecke <hare@suse.de>
---
libmultipath/hwtable.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -39,6 +39,20 @@ setup_default_hwtable (vector hw)
"1 queue_if_no_path", "emc_clariion", -FAILBACK_IMMEDIATE);
r += store_hwe_ext(hw, "IBM", "3542", GROUP_BY_SERIAL, DEFAULT_GETUID,
NULL, "0", "0", "tur", FAILBACK_UNDEF);
+ /* IBM ESS F20 aka Shark */
+ r += store_hwe_ext(hw, "IBM", "2105F20", GROUP_BY_SERIAL,
+ DEFAULT_GETUID, NULL, "0", "1 queue_if_no_path",
+ "tur", FAILBACK_UNDEF);
+ /* IBM DS6000 */
+ r += store_hwe_ext(hw, "IBM", "1750500", GROUP_BY_PRIO, DEFAULT_GETUID,
+ "/sbin/mpath_prio_alua /dev/%n", "0", "1 queue_if_no_path",
+ "tur", FAILBACK_UNDEF);
+ /* IBM DS8000 */
+ r += store_hwe_ext(hw, "IBM", "2107900", GROUP_BY_SERIAL, DEFAULT_GETUID,
+ NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF);
+ /* IBM SAN Volume Controller */
+ r += store_hwe_ext(hw, "IBM", "2145", MULTIBUS, DEFAULT_GETUID,
+ NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF);
r += store_hwe_ext(hw, "NETAPP", "LUN", GROUP_BY_PRIO, DEFAULT_GETUID,
"/sbin/mpath_prio_netapp /dev/%n", NULL,
"1 queue_if_no_path", "readsector0", FAILBACK_UNDEF);
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] IBM hwtable update
2005-12-07 11:11 [PATCH] IBM hwtable update Hannes Reinecke
@ 2005-12-07 11:45 ` Stefan Bader
2005-12-08 16:45 ` lbt
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Bader @ 2005-12-07 11:45 UTC (permalink / raw)
To: device-mapper development; +Cc: christophe varoqui
Hi Christophe, Hannes,
I thought I had already sent parts of these but they don't seem to be in
the git head when
I look now. I'd suggest a small change for the DS6000 aka 1750500. Since
paths with
higher prio are more appreciated, wouldn'T FAILBACK_IMMEDIATE make more
sense?
Regards,
Stefan
SW Linux on zSeries Development & Services
Stefan.Bader@de.ibm.com
----------------------------------------------------------------------------------
When all other means of communication fail, try words.
dm-devel-bounces@redhat.com wrote on 07.12.2005 12:11:23:
> Hi Christophe,
>
> attached is a patch to update hwtable.c with some IBM Storage Servers.
> Especially the DS6000 should be handled properly as it again has
> asymmetric paths.
>
> Cheers,
>
> Hannes
> --
> Dr. Hannes Reinecke hare@suse.de
> SuSE Linux Products GmbH S390 & zSeries
> Maxfeldstraße 5 +49 911 74053 688
> 90409 Nürnberg http://www.suse.de
> Subject: Hardware entries for IBM Storage Servers
>
> Several IBM Storage Servers (most notably the DS range) need
> specific hardware entries. This patch adds hardware entries
> for:
>
> - IBM ESS F20 (aka Shark)
> - IBM DS6000
> - IBM DS8000
> - IBM SVC
>
> Signed-off-by: Hannes Reinecke <hare@suse.de>
>
> ---
>
> libmultipath/hwtable.c | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -39,6 +39,20 @@ setup_default_hwtable (vector hw)
> "1 queue_if_no_path", "emc_clariion", -FAILBACK_IMMEDIATE);
> r += store_hwe_ext(hw, "IBM", "3542", GROUP_BY_SERIAL,
DEFAULT_GETUID,
> NULL, "0", "0", "tur", FAILBACK_UNDEF);
> + /* IBM ESS F20 aka Shark */
> + r += store_hwe_ext(hw, "IBM", "2105F20", GROUP_BY_SERIAL,
> + DEFAULT_GETUID, NULL, "0", "1 queue_if_no_path",
> + "tur", FAILBACK_UNDEF);
> + /* IBM DS6000 */
> + r += store_hwe_ext(hw, "IBM", "1750500", GROUP_BY_PRIO,
DEFAULT_GETUID,
> + "/sbin/mpath_prio_alua /dev/%n", "0", "1 queue_if_no_path",
> + "tur", FAILBACK_UNDEF);
> + /* IBM DS8000 */
> + r += store_hwe_ext(hw, "IBM", "2107900", GROUP_BY_SERIAL,
DEFAULT_GETUID,
> + NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF);
> + /* IBM SAN Volume Controller */
> + r += store_hwe_ext(hw, "IBM", "2145", MULTIBUS, DEFAULT_GETUID,
> + NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF);
> r += store_hwe_ext(hw, "NETAPP", "LUN", GROUP_BY_PRIO,
DEFAULT_GETUID,
> "/sbin/mpath_prio_netapp /dev/%n", NULL,
> "1 queue_if_no_path", "readsector0", FAILBACK_UNDEF);
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] IBM hwtable update
2005-12-07 11:45 ` Stefan Bader
@ 2005-12-08 16:45 ` lbt
0 siblings, 0 replies; 3+ messages in thread
From: lbt @ 2005-12-08 16:45 UTC (permalink / raw)
To: device-mapper development
[-- Attachment #1.1: Type: text/plain, Size: 3581 bytes --]
I think FAILBACK_IMMEDIATE for DS6000 makes more sense. Also for SVC (2145)
the same settings should be used as DS6000 since it is also an asymetric
device,
i.e.
r += store_hwe_ext(hw, "IBM", "2145", GROUP_BY_PRIO, DEFAULT_GETUID,
"/sbin/mpath_prio_alua /dev/%n", "0", "1 queue_if_no_path",
"tur", FAILBACK_IMMEDIATE);
On 12/7/05, Stefan Bader <Stefan.Bader@de.ibm.com> wrote:
>
> Hi Christophe, Hannes,
>
> I thought I had already sent parts of these but they don't seem to be in
> the git head when
> I look now. I'd suggest a small change for the DS6000 aka 1750500. Since
> paths with
> higher prio are more appreciated, wouldn'T FAILBACK_IMMEDIATE make more
> sense?
>
> Regards,
> Stefan
>
> SW Linux on zSeries Development & Services
> Stefan.Bader@de.ibm.com
>
> ----------------------------------------------------------------------------------
> When all other means of communication fail, try words.
>
> dm-devel-bounces@redhat.com wrote on 07.12.2005 12:11:23:
>
> > Hi Christophe,
> >
> > attached is a patch to update hwtable.c with some IBM Storage Servers.
> > Especially the DS6000 should be handled properly as it again has
> > asymmetric paths.
> >
> > Cheers,
> >
> > Hannes
> > --
> > Dr. Hannes Reinecke hare@suse.de
> > SuSE Linux Products GmbH S390 & zSeries
> > Maxfeldstraße 5 +49 911 74053 688
> > 90409 Nürnberg http://www.suse.de
> > Subject: Hardware entries for IBM Storage Servers
> >
> > Several IBM Storage Servers (most notably the DS range) need
> > specific hardware entries. This patch adds hardware entries
> > for:
> >
> > - IBM ESS F20 (aka Shark)
> > - IBM DS6000
> > - IBM DS8000
> > - IBM SVC
> >
> > Signed-off-by: Hannes Reinecke <hare@suse.de>
> >
> > ---
> >
> > libmultipath/hwtable.c | 14 ++++++++++++++
> > 1 files changed, 14 insertions(+), 0 deletions(-)
> >
> > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> > --- a/libmultipath/hwtable.c
> > +++ b/libmultipath/hwtable.c
> > @@ -39,6 +39,20 @@ setup_default_hwtable (vector hw)
> > "1 queue_if_no_path", "emc_clariion", -FAILBACK_IMMEDIATE);
> > r += store_hwe_ext(hw, "IBM", "3542", GROUP_BY_SERIAL,
> DEFAULT_GETUID,
> > NULL, "0", "0", "tur", FAILBACK_UNDEF);
> > + /* IBM ESS F20 aka Shark */
> > + r += store_hwe_ext(hw, "IBM", "2105F20", GROUP_BY_SERIAL,
> > + DEFAULT_GETUID, NULL, "0", "1 queue_if_no_path",
> > + "tur", FAILBACK_UNDEF);
> > + /* IBM DS6000 */
> > + r += store_hwe_ext(hw, "IBM", "1750500", GROUP_BY_PRIO,
> DEFAULT_GETUID,
> > + "/sbin/mpath_prio_alua /dev/%n", "0", "1 queue_if_no_path",
> > + "tur", FAILBACK_UNDEF);
> > + /* IBM DS8000 */
> > + r += store_hwe_ext(hw, "IBM", "2107900", GROUP_BY_SERIAL,
> DEFAULT_GETUID,
> > + NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF);
> > + /* IBM SAN Volume Controller */
> > + r += store_hwe_ext(hw, "IBM", "2145", MULTIBUS, DEFAULT_GETUID,
> > + NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF);
> > r += store_hwe_ext(hw, "NETAPP", "LUN", GROUP_BY_PRIO,
> DEFAULT_GETUID,
> > "/sbin/mpath_prio_netapp /dev/%n", NULL,
> > "1 queue_if_no_path", "readsector0", FAILBACK_UNDEF);
> > --
> > 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
>
[-- Attachment #1.2: Type: text/html, Size: 5800 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-08 16:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-07 11:11 [PATCH] IBM hwtable update Hannes Reinecke
2005-12-07 11:45 ` Stefan Bader
2005-12-08 16:45 ` lbt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.