All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] multipath-tools: change checker in RDAC devices with the native
@ 2016-06-13 17:02 Xose Vazquez Perez
  2016-06-14  5:58 ` Hannes Reinecke
  0 siblings, 1 reply; 2+ messages in thread
From: Xose Vazquez Perez @ 2016-06-13 17:02 UTC (permalink / raw)
  Cc: device-mapper development, Xose Vazquez Perez

Replace TUR checker with RDAC for:
"OPENstorage D280"
"STK6580_6780"

I don't know if it's a bug or feature, but for all other RDAC devices
"hwhandler" "checker" and "prio" are rdac.

*This patch needs an explicit ACK from Hannes and Christophe*

Cc: Hannes Reinecke <hare@suse.de>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 libmultipath/hwtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index c4258e1..44a4669 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -949,7 +949,7 @@ static struct hwentry default_hw[] = {
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.rr_weight     = RR_WEIGHT_NONE,
 		.no_path_retry = NO_PATH_RETRY_UNDEF,
-		.checker_name  = TUR,
+		.checker_name  = RDAC,
 		.prio_name     = PRIO_RDAC,
 		.prio_args     = NULL,
 	},
@@ -981,7 +981,7 @@ static struct hwentry default_hw[] = {
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.rr_weight     = RR_WEIGHT_NONE,
 		.no_path_retry = NO_PATH_RETRY_UNDEF,
-		.checker_name  = TUR,
+		.checker_name  = RDAC,
 		.prio_name     = PRIO_RDAC,
 		.prio_args     = NULL,
 	},
-- 
2.5.5

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

* Re: [PATCH] multipath-tools: change checker in RDAC devices with the native
  2016-06-13 17:02 [PATCH] multipath-tools: change checker in RDAC devices with the native Xose Vazquez Perez
@ 2016-06-14  5:58 ` Hannes Reinecke
  0 siblings, 0 replies; 2+ messages in thread
From: Hannes Reinecke @ 2016-06-14  5:58 UTC (permalink / raw)
  To: Xose Vazquez Perez; +Cc: device-mapper development

On 06/13/2016 07:02 PM, Xose Vazquez Perez wrote:
> Replace TUR checker with RDAC for:
> "OPENstorage D280"
> "STK6580_6780"
> 
> I don't know if it's a bug or feature, but for all other RDAC devices
> "hwhandler" "checker" and "prio" are rdac.
> 
> *This patch needs an explicit ACK from Hannes and Christophe*
> 
> Cc: Hannes Reinecke <hare@suse.de>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: device-mapper development <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> ---
>  libmultipath/hwtable.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index c4258e1..44a4669 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -949,7 +949,7 @@ static struct hwentry default_hw[] = {
>  		.pgfailback    = -FAILBACK_IMMEDIATE,
>  		.rr_weight     = RR_WEIGHT_NONE,
>  		.no_path_retry = NO_PATH_RETRY_UNDEF,
> -		.checker_name  = TUR,
> +		.checker_name  = RDAC,
>  		.prio_name     = PRIO_RDAC,
>  		.prio_args     = NULL,
>  	},
> @@ -981,7 +981,7 @@ static struct hwentry default_hw[] = {
>  		.pgfailback    = -FAILBACK_IMMEDIATE,
>  		.rr_weight     = RR_WEIGHT_NONE,
>  		.no_path_retry = NO_PATH_RETRY_UNDEF,
> -		.checker_name  = TUR,
> +		.checker_name  = RDAC,
>  		.prio_name     = PRIO_RDAC,
>  		.prio_args     = NULL,
>  	},
> 
Actually it doesn't matter; 'TUR' will work better under high I/O load,
whereas RDAC has quirks for some array-specific settings.
But for consistencies sake we should be switching to 'RDAC' here, too.

Acked-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)

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

end of thread, other threads:[~2016-06-14  5:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-13 17:02 [PATCH] multipath-tools: change checker in RDAC devices with the native Xose Vazquez Perez
2016-06-14  5:58 ` Hannes Reinecke

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.