dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [PATCH] multipath-tools: change .pgpolicy and .pgfailback to default values in the template
@ 2016-08-01 15:31 Xose Vazquez Perez
  0 siblings, 0 replies; only message in thread
From: Xose Vazquez Perez @ 2016-08-01 15:31 UTC (permalink / raw)
  Cc: device-mapper development, Xose Vazquez Perez

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 d65a353..e95db96 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -875,7 +875,7 @@ static struct hwentry default_hw[] = {
 		.product       = "PRODUCT",
 		.revision      = "REVISION",
 		.bl_product    = "BL_PRODUCT",
-		.pgpolicy      = GROUP_BY_PRIO,
+		.pgpolicy      = FAILOVER,
 		.uid_attribute = "ID_SERIAL",
 		.selector      = "service-time 0",
 		.checker_name  = TUR,
@@ -883,7 +883,7 @@ static struct hwentry default_hw[] = {
 		.hwhandler     = "0",
 		.prio_name     = "const",
 		.prio_args     = "",
-		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.pgfailback    = -FAILBACK_MANUAL,
 		.rr_weight     = RR_WEIGHT_NONE,
 		.no_path_retry = NO_PATH_RETRY_UNDEF,
 		.minio         = 1000,
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-01 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 15:31 [PATCH] multipath-tools: change .pgpolicy and .pgfailback to default values in the template Xose Vazquez Perez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).