All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-devel] [PATCH] update HPE MSA builtin config
@ 2022-04-29 22:09 Benjamin Marzinski
  2022-05-02 10:31 ` Martin Wilck
  2022-05-03  7:13 ` Martin Wilck
  0 siblings, 2 replies; 6+ messages in thread
From: Benjamin Marzinski @ 2022-04-29 22:09 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: device-mapper development, Jon Paul, Martin Wilck

Make the config better align to MSA 4th, 5th and 6th Generation systems.

Suggested-by: Jon Paul <Jon.Paul@hpe.com>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
 libmultipath/hwtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 0e1c0a41..0f0795c3 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -182,8 +182,8 @@ static struct hwentry default_hw[] = {
 	},
 	{
 		/* MSA 1040, 1050, 1060, 2040, 2050 and 2060 families */
-		.vendor        = "HP",
-		.product       = "MSA [12]0[456]0 SA[NS]",
+		.vendor        = "(HP|HPE)",
+		.product       = "MSA [12]0[456]0 (SAN|SAS|FC|iSCSI)",
 		.pgpolicy      = GROUP_BY_PRIO,
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.no_path_retry = 18,
-- 
2.17.2

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [dm-devel] [PATCH] update HPE MSA builtin config
  2022-04-29 22:09 [dm-devel] [PATCH] update HPE MSA builtin config Benjamin Marzinski
@ 2022-05-02 10:31 ` Martin Wilck
  2022-05-02 16:01   ` Benjamin Marzinski
  2022-05-03  7:13 ` Martin Wilck
  1 sibling, 1 reply; 6+ messages in thread
From: Martin Wilck @ 2022-05-02 10:31 UTC (permalink / raw)
  To: bmarzins, christophe.varoqui; +Cc: dm-devel, Jon.Paul, xose.vazquez

On Fri, 2022-04-29 at 17:09 -0500, Benjamin Marzinski wrote:
> Make the config better align to MSA 4th, 5th and 6th Generation
> systems.
> 
> Suggested-by: Jon Paul <Jon.Paul@hpe.com>
> Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
> ---
>  libmultipath/hwtable.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index 0e1c0a41..0f0795c3 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -182,8 +182,8 @@ static struct hwentry default_hw[] = {
>         },
>         {
>                 /* MSA 1040, 1050, 1060, 2040, 2050 and 2060 families
> */
> -               .vendor        = "HP",
> -               .product       = "MSA [12]0[456]0 SA[NS]",
> +               .vendor        = "(HP|HPE)",

This changes nothing unless you use "^(HP|HPE)$", as our regex matching
is by substring.

Regards,
Martin


> +               .product       = "MSA [12]0[456]0
> (SAN|SAS|FC|iSCSI)",
>                 .pgpolicy      = GROUP_BY_PRIO,
>                 .pgfailback    = -FAILBACK_IMMEDIATE,
>                 .no_path_retry = 18,


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dm-devel] [PATCH] update HPE MSA builtin config
  2022-05-02 10:31 ` Martin Wilck
@ 2022-05-02 16:01   ` Benjamin Marzinski
  2022-05-02 20:30     ` Benjamin Marzinski
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Marzinski @ 2022-05-02 16:01 UTC (permalink / raw)
  To: Martin Wilck; +Cc: dm-devel, Jon.Paul, xose.vazquez

On Mon, May 02, 2022 at 10:31:36AM +0000, Martin Wilck wrote:
> On Fri, 2022-04-29 at 17:09 -0500, Benjamin Marzinski wrote:
> > Make the config better align to MSA 4th, 5th and 6th Generation
> > systems.
> > 
> > Suggested-by: Jon Paul <Jon.Paul@hpe.com>
> > Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
> > ---
> >  libmultipath/hwtable.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> > index 0e1c0a41..0f0795c3 100644
> > --- a/libmultipath/hwtable.c
> > +++ b/libmultipath/hwtable.c
> > @@ -182,8 +182,8 @@ static struct hwentry default_hw[] = {
> >         },
> >         {
> >                 /* MSA 1040, 1050, 1060, 2040, 2050 and 2060 families
> > */
> > -               .vendor        = "HP",
> > -               .product       = "MSA [12]0[456]0 SA[NS]",
> > +               .vendor        = "(HP|HPE)",
> 
> This changes nothing unless you use "^(HP|HPE)$", as our regex matching
> is by substring.

Fair enough. I'm just passing along the config I got. I'm not sure if
they what it to be more immediately obvious to people looking at the
configs that this applies to their device (which could have a vendor
string of "HPE"). I'll leave it to HP to decide what, if anything, they
want to change here.

-Ben 
 
> Regards,
> Martin
> 
> 
> > +               .product       = "MSA [12]0[456]0
> > (SAN|SAS|FC|iSCSI)",
> >                 .pgpolicy      = GROUP_BY_PRIO,
> >                 .pgfailback    = -FAILBACK_IMMEDIATE,
> >                 .no_path_retry = 18,
> 
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dm-devel] [PATCH] update HPE MSA builtin config
  2022-05-02 16:01   ` Benjamin Marzinski
@ 2022-05-02 20:30     ` Benjamin Marzinski
  2022-05-03  7:13       ` Martin Wilck
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Marzinski @ 2022-05-02 20:30 UTC (permalink / raw)
  To: Martin Wilck; +Cc: dm-devel, Jon.Paul, xose.vazquez

On Mon, May 02, 2022 at 11:01:40AM -0500, Benjamin Marzinski wrote:
> On Mon, May 02, 2022 at 10:31:36AM +0000, Martin Wilck wrote:
> > On Fri, 2022-04-29 at 17:09 -0500, Benjamin Marzinski wrote:
> > > Make the config better align to MSA 4th, 5th and 6th Generation
> > > systems.
> > > 
> > > Suggested-by: Jon Paul <Jon.Paul@hpe.com>
> > > Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
> > > ---
> > >  libmultipath/hwtable.c | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> > > index 0e1c0a41..0f0795c3 100644
> > > --- a/libmultipath/hwtable.c
> > > +++ b/libmultipath/hwtable.c
> > > @@ -182,8 +182,8 @@ static struct hwentry default_hw[] = {
> > >         },
> > >         {
> > >                 /* MSA 1040, 1050, 1060, 2040, 2050 and 2060 families
> > > */
> > > -               .vendor        = "HP",
> > > -               .product       = "MSA [12]0[456]0 SA[NS]",
> > > +               .vendor        = "(HP|HPE)",
> > 
> > This changes nothing unless you use "^(HP|HPE)$", as our regex matching
> > is by substring.
> 
> Fair enough. I'm just passing along the config I got. I'm not sure if
> they what it to be more immediately obvious to people looking at the
> configs that this applies to their device (which could have a vendor
> string of "HPE"). I'll leave it to HP to decide what, if anything, they
> want to change here.

I've talked to HP, and they would like to keep (HP|HPE), since they feel
that it's more obvious to readers. They are fine with whatever anchors
we feel should be added to the regular expression. I personally don't
think it matters much. Most of our vendor strings are unanchored and
since the product string must also match, it seems unlikely to cause
issues.

Do you have a strong feeling on this? Otherwise, I'm fine with the
config as they gave it to me.

-Ben

> 
> -Ben 
>  
> > Regards,
> > Martin
> > 
> > 
> > > +               .product       = "MSA [12]0[456]0
> > > (SAN|SAS|FC|iSCSI)",
> > >                 .pgpolicy      = GROUP_BY_PRIO,
> > >                 .pgfailback    = -FAILBACK_IMMEDIATE,
> > >                 .no_path_retry = 18,
> > 
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://listman.redat.com/mailman/listinfo/dm-devel
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dm-devel] [PATCH] update HPE MSA builtin config
  2022-05-02 20:30     ` Benjamin Marzinski
@ 2022-05-03  7:13       ` Martin Wilck
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Wilck @ 2022-05-03  7:13 UTC (permalink / raw)
  To: bmarzins; +Cc: dm-devel, Jon.Paul, xose.vazquez

On Mon, 2022-05-02 at 15:30 -0500, Benjamin Marzinski wrote:
> 
> Do you have a strong feeling on this? Otherwise, I'm fine with the
> config as they gave it to me.

Ok. No strong feelings.

Martin

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dm-devel] [PATCH] update HPE MSA builtin config
  2022-04-29 22:09 [dm-devel] [PATCH] update HPE MSA builtin config Benjamin Marzinski
  2022-05-02 10:31 ` Martin Wilck
@ 2022-05-03  7:13 ` Martin Wilck
  1 sibling, 0 replies; 6+ messages in thread
From: Martin Wilck @ 2022-05-03  7:13 UTC (permalink / raw)
  To: bmarzins, christophe.varoqui; +Cc: dm-devel, Jon.Paul

On Fri, 2022-04-29 at 17:09 -0500, Benjamin Marzinski wrote:
> Make the config better align to MSA 4th, 5th and 6th Generation
> systems.
> 
> Suggested-by: Jon Paul <Jon.Paul@hpe.com>
> Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>

Reviewed-by: Martin Wilck <mwilck@suse.com>

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-03  7:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 22:09 [dm-devel] [PATCH] update HPE MSA builtin config Benjamin Marzinski
2022-05-02 10:31 ` Martin Wilck
2022-05-02 16:01   ` Benjamin Marzinski
2022-05-02 20:30     ` Benjamin Marzinski
2022-05-03  7:13       ` Martin Wilck
2022-05-03  7:13 ` Martin Wilck

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.