All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH resend] ALUA support for PURE FlashArray
@ 2019-12-28  0:24 Xose Vazquez Perez
  2020-03-02 14:10 ` Xose Vazquez Perez
  0 siblings, 1 reply; 5+ messages in thread
From: Xose Vazquez Perez @ 2019-12-28  0:24 UTC (permalink / raw)
  Cc: DM-DEVEL ML, Xose Vazquez Perez, Brian Bunker

From: Brian Bunker <brian@purestorage.com>

Hello all,

It has been some time since we updated our PURE FlashArray
configuration. The Linux vendors that we had been seeing in the field
were using very old versions of multipath-tools, so we haven’t needed to
change anything for some time. With the release of RHEL8, some of our
earlier values have been lost by upstream changes.

In addition we have our Active Cluster feature which leverages ALUA
since our last patch. The ALUA confguration will work for all
FlashArrays with or without Active Cluster.

We are changing 3 things.

1. ALUA support
2. Fast fail timeout from the default of 5 seconds to 10 seconds (We
   need this for our FC NPIV port migration).
3. Maximum sector size of 4MB. Some Linux vendors don’t honor the block
   limits VPD page of INQUIRY).

Thanks,
Brian

Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM-DEVEL ML <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Signed-off-by: Brian Bunker <brian@purestorage.com>
---
 libmultipath/hwtable.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 16627ec..9bc59f1 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1039,7 +1039,12 @@ static struct hwentry default_hw[] = {
 		/* FlashArray */
 		.vendor        = "PURE",
 		.product       = "FlashArray",
-		.pgpolicy      = MULTIBUS,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.hwhandler     = "1 alua",
+		.prio_name     = PRIO_ALUA,
+		.fast_io_fail  = 10,
+		.max_sectors_kb = 4096,
 	},
 	/*
 	 * Huawei
-- 
2.24.1

Brian Bunker
SW Eng
brian@purestorage.com


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

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

* Re: [PATCH resend] ALUA support for PURE FlashArray
  2019-12-28  0:24 [PATCH resend] ALUA support for PURE FlashArray Xose Vazquez Perez
@ 2020-03-02 14:10 ` Xose Vazquez Perez
  2020-03-02 14:19   ` Christophe Varoqui
  0 siblings, 1 reply; 5+ messages in thread
From: Xose Vazquez Perez @ 2020-03-02 14:10 UTC (permalink / raw)
  Cc: DM-DEVEL ML, Brian Bunker

On 12/28/19 1:24 AM, Xose Vazquez Perez wrote:

Hi Christophe,

This one is missing.

Thank you.

> From: Brian Bunker <brian@purestorage.com>
> 
> Hello all,
> 
> It has been some time since we updated our PURE FlashArray
> configuration. The Linux vendors that we had been seeing in the field
> were using very old versions of multipath-tools, so we haven’t needed to
> change anything for some time. With the release of RHEL8, some of our
> earlier values have been lost by upstream changes.
> 
> In addition we have our Active Cluster feature which leverages ALUA
> since our last patch. The ALUA confguration will work for all
> FlashArrays with or without Active Cluster.
> 
> We are changing 3 things.
> 
> 1. ALUA support
> 2. Fast fail timeout from the default of 5 seconds to 10 seconds (We
>     need this for our FC NPIV port migration).
> 3. Maximum sector size of 4MB. Some Linux vendors don’t honor the block
>     limits VPD page of INQUIRY).
> 
> Thanks,
> Brian
> 
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: DM-DEVEL ML <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> Signed-off-by: Brian Bunker <brian@purestorage.com>
> ---
>   libmultipath/hwtable.c | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index 16627ec..9bc59f1 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -1039,7 +1039,12 @@ static struct hwentry default_hw[] = {
>   		/* FlashArray */
>   		.vendor        = "PURE",
>   		.product       = "FlashArray",
> -		.pgpolicy      = MULTIBUS,
> +		.pgpolicy      = GROUP_BY_PRIO,
> +		.pgfailback    = -FAILBACK_IMMEDIATE,
> +		.hwhandler     = "1 alua",
> +		.prio_name     = PRIO_ALUA,
> +		.fast_io_fail  = 10,
> +		.max_sectors_kb = 4096,
>   	},
>   	/*
>   	 * Huawei
> 


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

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

* Re: [PATCH resend] ALUA support for PURE FlashArray
  2020-03-02 14:10 ` Xose Vazquez Perez
@ 2020-03-02 14:19   ` Christophe Varoqui
  0 siblings, 0 replies; 5+ messages in thread
From: Christophe Varoqui @ 2020-03-02 14:19 UTC (permalink / raw)
  To: Xose Vazquez Perez; +Cc: DM-DEVEL ML, Brian Bunker


[-- Attachment #1.1: Type: text/plain, Size: 2414 bytes --]

Hi Xose, Brian,

I don't have the original patch in my mailbox, ... only Xose's
notifications.
Brian, please resend to: me, cc: list

Best,
Christophe.

On Mon, Mar 2, 2020 at 3:10 PM Xose Vazquez Perez <xose.vazquez@gmail.com>
wrote:

> On 12/28/19 1:24 AM, Xose Vazquez Perez wrote:
>
> Hi Christophe,
>
> This one is missing.
>
> Thank you.
>
> > From: Brian Bunker <brian@purestorage.com>
> >
> > Hello all,
> >
> > It has been some time since we updated our PURE FlashArray
> > configuration. The Linux vendors that we had been seeing in the field
> > were using very old versions of multipath-tools, so we haven’t needed to
> > change anything for some time. With the release of RHEL8, some of our
> > earlier values have been lost by upstream changes.
> >
> > In addition we have our Active Cluster feature which leverages ALUA
> > since our last patch. The ALUA confguration will work for all
> > FlashArrays with or without Active Cluster.
> >
> > We are changing 3 things.
> >
> > 1. ALUA support
> > 2. Fast fail timeout from the default of 5 seconds to 10 seconds (We
> >     need this for our FC NPIV port migration).
> > 3. Maximum sector size of 4MB. Some Linux vendors don’t honor the block
> >     limits VPD page of INQUIRY).
> >
> > Thanks,
> > Brian
> >
> > Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> > Cc: DM-DEVEL ML <dm-devel@redhat.com>
> > Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> > Signed-off-by: Brian Bunker <brian@purestorage.com>
> > ---
> >   libmultipath/hwtable.c | 7 ++++++-
> >   1 file changed, 6 insertions(+), 1 deletion(-)
> >
> > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> > index 16627ec..9bc59f1 100644
> > --- a/libmultipath/hwtable.c
> > +++ b/libmultipath/hwtable.c
> > @@ -1039,7 +1039,12 @@ static struct hwentry default_hw[] = {
> >               /* FlashArray */
> >               .vendor        = "PURE",
> >               .product       = "FlashArray",
> > -             .pgpolicy      = MULTIBUS,
> > +             .pgpolicy      = GROUP_BY_PRIO,
> > +             .pgfailback    = -FAILBACK_IMMEDIATE,
> > +             .hwhandler     = "1 alua",
> > +             .prio_name     = PRIO_ALUA,
> > +             .fast_io_fail  = 10,
> > +             .max_sectors_kb = 4096,
> >       },
> >       /*
> >        * Huawei
> >
>
>

[-- Attachment #1.2: Type: text/html, Size: 3531 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

* Re: [PATCH resend] ALUA support for PURE FlashArray
  2020-03-02 14:53 Xose Vazquez Perez
@ 2020-03-02 15:03 ` Christophe Varoqui
  0 siblings, 0 replies; 5+ messages in thread
From: Christophe Varoqui @ 2020-03-02 15:03 UTC (permalink / raw)
  To: Xose Vazquez Perez; +Cc: DM-DEVEL ML, Brian Bunker


[-- Attachment #1.1: Type: text/plain, Size: 2137 bytes --]

Applied,
thanks.

On Mon, Mar 2, 2020 at 3:53 PM Xose Vazquez Perez <xose.vazquez@gmail.com>
wrote:

> From: Brian Bunker <brian@purestorage.com>
>
> Hello all,
>
> It has been some time since we updated our PURE FlashArray
> configuration. The Linux vendors that we had been seeing in the field
> were using very old versions of multipath-tools, so we haven’t needed to
> change anything for some time. With the release of RHEL8, some of our
> earlier values have been lost by upstream changes.
>
> In addition we have our Active Cluster feature which leverages ALUA
> since our last patch. The ALUA confguration will work for all
> FlashArrays with or without Active Cluster.
>
> We are changing 3 things.
>
> 1. ALUA support
> 2. Fast fail timeout from the default of 5 seconds to 10 seconds (We
>    need this for our FC NPIV port migration).
> 3. Maximum sector size of 4MB. Some Linux vendors don’t honor the block
>    limits VPD page of INQUIRY).
>
> Thanks,
> Brian
>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: DM-DEVEL ML <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> Signed-off-by: Brian Bunker <brian@purestorage.com>
> ---
>  libmultipath/hwtable.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index 16627ec..9bc59f1 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -1039,7 +1039,12 @@ static struct hwentry default_hw[] = {
>                 /* FlashArray */
>                 .vendor        = "PURE",
>                 .product       = "FlashArray",
> -               .pgpolicy      = MULTIBUS,
> +               .pgpolicy      = GROUP_BY_PRIO,
> +               .pgfailback    = -FAILBACK_IMMEDIATE,
> +               .hwhandler     = "1 alua",
> +               .prio_name     = PRIO_ALUA,
> +               .fast_io_fail  = 10,
> +               .max_sectors_kb = 4096,
>         },
>         /*
>          * Huawei
> --
> 2.24.1
>
> Brian Bunker
> SW Eng
> brian@purestorage.com
>

[-- Attachment #1.2: Type: text/html, Size: 3088 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

* [PATCH resend] ALUA support for PURE FlashArray
@ 2020-03-02 14:53 Xose Vazquez Perez
  2020-03-02 15:03 ` Christophe Varoqui
  0 siblings, 1 reply; 5+ messages in thread
From: Xose Vazquez Perez @ 2020-03-02 14:53 UTC (permalink / raw)
  Cc: DM-DEVEL ML, Xose Vazquez Perez, Brian Bunker

From: Brian Bunker <brian@purestorage.com>

Hello all,

It has been some time since we updated our PURE FlashArray
configuration. The Linux vendors that we had been seeing in the field
were using very old versions of multipath-tools, so we haven’t needed to
change anything for some time. With the release of RHEL8, some of our
earlier values have been lost by upstream changes.

In addition we have our Active Cluster feature which leverages ALUA
since our last patch. The ALUA confguration will work for all
FlashArrays with or without Active Cluster.

We are changing 3 things.

1. ALUA support
2. Fast fail timeout from the default of 5 seconds to 10 seconds (We
   need this for our FC NPIV port migration).
3. Maximum sector size of 4MB. Some Linux vendors don’t honor the block
   limits VPD page of INQUIRY).

Thanks,
Brian

Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM-DEVEL ML <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Signed-off-by: Brian Bunker <brian@purestorage.com>
---
 libmultipath/hwtable.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 16627ec..9bc59f1 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1039,7 +1039,12 @@ static struct hwentry default_hw[] = {
 		/* FlashArray */
 		.vendor        = "PURE",
 		.product       = "FlashArray",
-		.pgpolicy      = MULTIBUS,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.hwhandler     = "1 alua",
+		.prio_name     = PRIO_ALUA,
+		.fast_io_fail  = 10,
+		.max_sectors_kb = 4096,
 	},
 	/*
 	 * Huawei
-- 
2.24.1

Brian Bunker
SW Eng
brian@purestorage.com


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

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

end of thread, other threads:[~2020-03-02 15:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-28  0:24 [PATCH resend] ALUA support for PURE FlashArray Xose Vazquez Perez
2020-03-02 14:10 ` Xose Vazquez Perez
2020-03-02 14:19   ` Christophe Varoqui
2020-03-02 14:53 Xose Vazquez Perez
2020-03-02 15:03 ` Christophe Varoqui

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.