Skip to contentSkip to conversation

multipath-tools: change checker in RDAC devices with the native

PATCH In review Xose Vazquez Perez 2 participants 2 messages Jun 13, 2016 – Jun 14, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: change checker in RDAC devices with the native

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 <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
libmultipath/hwtable.c +2 -2
index c4258e1..44a4669 100644
@@ -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,
 	},
Signature · 1 line
2.5.5
Acked-by on v1 1/1
#1 lore raw
Quoted 32 lines · 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 <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
libmultipath/hwtable.c +1 -1
index c4258e1..44a4669 100644
@@ -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,
 	},

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 987

Quoted 8 lines
libmultipath/hwtable.c +1 -1
@@ -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.

Cheers,

Hannes

Signature · 5 lines
Dr. Hannes Reinecke		   Teamlead Storage & Networking
[email protected]			               +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)