All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Remove duplicate hwtable entry for XtremIO
@ 2015-03-30  6:23 Hannes Reinecke
  2015-03-30  6:23 ` [PATCH 2/2] Merge Dell MD3XXX hardware table entries Hannes Reinecke
  2015-04-08  9:46 ` [PATCH 1/2] Remove duplicate hwtable entry for XtremIO Xose Vazquez Perez
  0 siblings, 2 replies; 3+ messages in thread
From: Hannes Reinecke @ 2015-03-30  6:23 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: dm-devel, Xose Vazquez Perez

Commit b47e607408e1edce3a03744b4aefa292723c7fc6 introduced a new
hwtable entry for EMC XtremIO instead of updating the existing
one.

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 libmultipath/hwtable.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 13611fe..fa4b20f 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -294,11 +294,11 @@ static struct hwentry default_hw[] = {
 		.product       = "XtremApp",
 		.features      = DEFAULT_FEATURES,
 		.hwhandler     = DEFAULT_HWHANDLER,
+		.selector      = "queue-length 0",
 		.pgpolicy      = MULTIBUS,
 		.pgfailback    = FAILBACK_UNDEF,
-		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = 5,
 		.checker_name  = TUR,
+		.fast_io_fail  = 5,
 		.prio_name     = DEFAULT_PRIO,
 		.prio_args     = NULL,
 	},
@@ -1166,19 +1166,6 @@ static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_ALUA,
 		.prio_args     = NULL,
 	},
-	{
-		.vendor        = "XtremIO",
-		.product       = "XtremApp",
-		.features      = DEFAULT_FEATURES,
-		.hwhandler     = DEFAULT_HWHANDLER,
-		.selector      = "queue-length 0",
-		.pgpolicy      = MULTIBUS,
-		.pgfailback    = -FAILBACK_IMMEDIATE,
-		.checker_name  = DIRECTIO,
-		.fast_io_fail  = 15,
-		.prio_name     = DEFAULT_PRIO,
-		.prio_args     = NULL,
-	},
 	/*
 	 * EOL
 	 */
-- 
1.8.4.5

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

* [PATCH 2/2] Merge Dell MD3XXX hardware table entries
  2015-03-30  6:23 [PATCH 1/2] Remove duplicate hwtable entry for XtremIO Hannes Reinecke
@ 2015-03-30  6:23 ` Hannes Reinecke
  2015-04-08  9:46 ` [PATCH 1/2] Remove duplicate hwtable entry for XtremIO Xose Vazquez Perez
  1 sibling, 0 replies; 3+ messages in thread
From: Hannes Reinecke @ 2015-03-30  6:23 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: dm-devel, Xose Vazquez Perez

Remove duplicate entries and merge MD36xxi/MD36xxf into a single
one.

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 libmultipath/hwtable.c | 53 ++++----------------------------------------------
 1 file changed, 4 insertions(+), 49 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index fa4b20f..f83f3e7 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -728,7 +728,7 @@ static struct hwentry default_hw[] = {
 		.prio_args     = NULL,
 	},
 	{
-		/* DELL MD3000 */
+		/* DELL MD3000/MD3000i */
 		.vendor        = "DELL",
 		.product       = "MD3000",
 		.bl_product    = "Universal Xport",
@@ -743,22 +743,7 @@ static struct hwentry default_hw[] = {
 		.prio_args     = NULL,
 	},
 	{
-		/* DELL MD3000i */
-		.vendor        = "DELL",
-		.product       = "MD3000i",
-		.bl_product    = "Universal Xport",
-		.features      = "2 pg_init_retries 50",
-		.hwhandler     = "1 rdac",
-		.pgpolicy      = GROUP_BY_PRIO,
-		.pgfailback    = -FAILBACK_IMMEDIATE,
-		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = 15,
-		.checker_name  = RDAC,
-		.prio_name     = PRIO_RDAC,
-		.prio_args     = NULL,
-	},
-	{
-		/* DELL MD32xx */
+		/* DELL MD32xx/MD32xxi */
 		.vendor        = "DELL",
 		.product       = "MD32xx",
 		.bl_product    = "Universal Xport",
@@ -773,39 +758,9 @@ static struct hwentry default_hw[] = {
 		.prio_args     = NULL,
 	},
 	{
-		/* DELL MD32xxi */
-		.vendor        = "DELL",
-		.product       = "MD32xxi",
-		.bl_product    = "Universal Xport",
-		.features      = "2 pg_init_retries 50",
-		.hwhandler     = "1 rdac",
-		.pgpolicy      = GROUP_BY_PRIO,
-		.pgfailback    = -FAILBACK_IMMEDIATE,
-		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = 15,
-		.checker_name  = RDAC,
-		.prio_name     = PRIO_RDAC,
-		.prio_args     = NULL,
-	},
-	{
-		/* DELL MD36xxi */
-		.vendor        = "DELL",
-		.product       = "MD36xxi",
-		.bl_product    = "Universal Xport",
-		.features      = "2 pg_init_retries 50",
-		.hwhandler     = "1 rdac",
-		.pgpolicy      = GROUP_BY_PRIO,
-		.pgfailback    = -FAILBACK_IMMEDIATE,
-		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = 15,
-		.checker_name  = RDAC,
-		.prio_name     = PRIO_RDAC,
-		.prio_args     = NULL,
-	},
-	{
-		/* DELL MD36xxf */
+		/* DELL MD36xxi/MD36xxf */
 		.vendor        = "DELL",
-		.product       = "MD36xxf",
+		.product       = "MD36xx(i|f)",
 		.bl_product    = "Universal Xport",
 		.features      = "2 pg_init_retries 50",
 		.hwhandler     = "1 rdac",
-- 
1.8.4.5

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

* Re: [PATCH 1/2] Remove duplicate hwtable entry for XtremIO
  2015-03-30  6:23 [PATCH 1/2] Remove duplicate hwtable entry for XtremIO Hannes Reinecke
  2015-03-30  6:23 ` [PATCH 2/2] Merge Dell MD3XXX hardware table entries Hannes Reinecke
@ 2015-04-08  9:46 ` Xose Vazquez Perez
  1 sibling, 0 replies; 3+ messages in thread
From: Xose Vazquez Perez @ 2015-04-08  9:46 UTC (permalink / raw)
  To: Hannes Reinecke, Christophe Varoqui; +Cc: dm-devel, Vincent Chen

On 03/30/2015 08:23 AM, Hannes Reinecke wrote:

> Commit b47e607408e1edce3a03744b4aefa292723c7fc6 introduced a new
> hwtable entry for EMC XtremIO instead of updating the existing
> one.
> 
> Signed-off-by: Hannes Reinecke <hare@suse.de>
> ---
>  libmultipath/hwtable.c | 17 ++---------------
>  1 file changed, 2 insertions(+), 15 deletions(-)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index 13611fe..fa4b20f 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -294,11 +294,11 @@ static struct hwentry default_hw[] = {
>  		.product       = "XtremApp",
>  		.features      = DEFAULT_FEATURES,
>  		.hwhandler     = DEFAULT_HWHANDLER,
> +		.selector      = "queue-length 0",
>  		.pgpolicy      = MULTIBUS,
>  		.pgfailback    = FAILBACK_UNDEF,
> -		.rr_weight     = RR_WEIGHT_NONE,
> -		.no_path_retry = 5,
>  		.checker_name  = TUR,
> +		.fast_io_fail  = 5,
>  		.prio_name     = DEFAULT_PRIO,
>  		.prio_args     = NULL,
>  	},
> @@ -1166,19 +1166,6 @@ static struct hwentry default_hw[] = {
>  		.prio_name     = PRIO_ALUA,
>  		.prio_args     = NULL,
>  	},
> -	{
> -		.vendor        = "XtremIO",
> -		.product       = "XtremApp",
> -		.features      = DEFAULT_FEATURES,
> -		.hwhandler     = DEFAULT_HWHANDLER,
> -		.selector      = "queue-length 0",
> -		.pgpolicy      = MULTIBUS,
> -		.pgfailback    = -FAILBACK_IMMEDIATE,
> -		.checker_name  = DIRECTIO,
> -		.fast_io_fail  = 15,
> -		.prio_name     = DEFAULT_PRIO,
> -		.prio_args     = NULL,
> -	},
>  	/*
>  	 * EOL
>  	 */
> 

CC: Vincent Chen <vincent.y.chen@emc.com> and Benjamin Marzinski <bmarzins@redhat.com>
because this patch modifies a previous configuration 83302a2f64ca8ee8dac5d6ac08e8eb8a5e9af343

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

end of thread, other threads:[~2015-04-08  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30  6:23 [PATCH 1/2] Remove duplicate hwtable entry for XtremIO Hannes Reinecke
2015-03-30  6:23 ` [PATCH 2/2] Merge Dell MD3XXX hardware table entries Hannes Reinecke
2015-04-08  9:46 ` [PATCH 1/2] Remove duplicate hwtable entry for XtremIO Xose Vazquez Perez

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.