<div dir="ltr">Dropped.<div><br></div><div>"failover" is the conservative default. The one we expect applies to hardware not even known to the hwtable.</div><div><br></div><div>Best regards,</div><div>Christophe Varoqui</div><div>OpenSVC</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 18, 2016 at 7:58 PM, Xose Vazquez Perez <span dir="ltr"><<a href="mailto:xose.vazquez@gmail.com" target="_blank">xose.vazquez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Default value is: failover<br>
1 .pgpolicy = FAILOVER,<br>
2 .pgpolicy = GROUP_BY_SERIAL,<br>
25 .pgpolicy = MULTIBUS,<br>
47 .pgpolicy = GROUP_BY_PRIO,<br>
failover is only used by 1 device: IBM/3303 NVDISK<br>
<br>
I hope it's reasonable. If someone disagrees, drop it.<br>
<br>
Cc: Hannes Reinecke <<a href="mailto:hare@suse.de">hare@suse.de</a>><br>
Cc: Benjamin Marzinski <<a href="mailto:bmarzins@redhat.com">bmarzins@redhat.com</a>><br>
Cc: Christophe Varoqui <<a href="mailto:christophe.varoqui@opensvc.com">christophe.varoqui@opensvc.<wbr>com</a>><br>
Cc: device-mapper development <<a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a>><br>
Signed-off-by: Xose Vazquez Perez <<a href="mailto:xose.vazquez@gmail.com">xose.vazquez@gmail.com</a>><br>
---<br>
libmultipath/defaults.h | 2 +-<br>
libmultipath/hwtable.c | 28 ++--------------------------<br>
multipath/multipath.conf.5 | 2 +-<br>
3 files changed, 4 insertions(+), 28 deletions(-)<br>
<br>
diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h<br>
index a7c74fe..c1e8e74 100644<br>
--- a/libmultipath/defaults.h<br>
+++ b/libmultipath/defaults.h<br>
@@ -11,7 +11,7 @@<br>
#define DEFAULT_HWHANDLER "0"<br>
#define DEFAULT_MINIO 1000<br>
#define DEFAULT_MINIO_RQ 1<br>
-#define DEFAULT_PGPOLICY FAILOVER<br>
+#define DEFAULT_PGPOLICY MULTIBUS<br>
#define DEFAULT_FAILBACK FAILBACK_UNDEF<br>
#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE<br>
#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF<br>
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c<br>
index c4037d5..eedb360 100644<br>
--- a/libmultipath/hwtable.c<br>
+++ b/libmultipath/hwtable.c<br>
@@ -36,7 +36,6 @@ static struct hwentry default_hw[] = {<br>
{<br>
.vendor = "APPLE",<br>
.product = "Xserve RAID",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
/*<br>
* HPE<br>
@@ -64,7 +63,6 @@ static struct hwentry default_hw[] = {<br>
/* VIRTUAL ARRAY 7400 */<br>
.vendor = "HP",<br>
.product = "A6189A",<br>
- .pgpolicy = MULTIBUS,<br>
.no_path_retry = 12,<br>
},<br>
{<br>
@@ -99,7 +97,6 @@ static struct hwentry default_hw[] = {<br>
/* MSA2000 family with old firmware */<br>
.vendor = "HP",<br>
.product = "(MSA2[02]12fc|MSA2012i)",<br>
- .pgpolicy = MULTIBUS,<br>
.no_path_retry = 18,<br>
},<br>
{<br>
@@ -134,7 +131,6 @@ static struct hwentry default_hw[] = {<br>
/* Smart Array */<br>
.vendor = "HP",<br>
.product = "LOGICAL VOLUME",<br>
- .pgpolicy = MULTIBUS,<br>
.no_path_retry = 12,<br>
},<br>
{<br>
@@ -152,7 +148,6 @@ static struct hwentry default_hw[] = {<br>
{<br>
.vendor = "DDN",<br>
.product = "SAN DataDirector",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
/*<br>
* EMC<br>
@@ -161,7 +156,6 @@ static struct hwentry default_hw[] = {<br>
/* Symmetrix / DMX / VMAX */<br>
.vendor = "EMC",<br>
.product = "SYMMETRIX",<br>
- .pgpolicy = MULTIBUS,<br>
.no_path_retry = 6,<br>
},<br>
{<br>
@@ -181,13 +175,11 @@ static struct hwentry default_hw[] = {<br>
.vendor = "EMC",<br>
.product = "Invista",<br>
.bl_product = "LUNZ",<br>
- .pgpolicy = MULTIBUS,<br>
.no_path_retry = 5,<br>
},<br>
{<br>
.vendor = "XtremIO",<br>
.product = "XtremApp",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
/*<br>
* DELL<br>
@@ -201,7 +193,6 @@ static struct hwentry default_hw[] = {<br>
*/<br>
.vendor = "COMPELNT",<br>
.product = "Compellent Vol",<br>
- .pgpolicy = MULTIBUS,<br>
.no_path_retry = NO_PATH_RETRY_QUEUE,<br>
},<br>
{<br>
@@ -260,7 +251,6 @@ static struct hwentry default_hw[] = {<br>
/* FibreCAT S80 */<br>
.vendor = "(EUROLOGC|EuroLogc)",<br>
.product = "FC2502",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
/*<br>
* Hitachi<br>
@@ -272,7 +262,6 @@ static struct hwentry default_hw[] = {<br>
/* USP-V, HUS VM, VSP, VSP G1000 and VSP GX00 families */<br>
.vendor = "(HITACHI|HP)",<br>
.product = "^OPEN-",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
/* AMS 2000 and HUS 100 families */<br>
@@ -292,7 +281,6 @@ static struct hwentry default_hw[] = {<br>
{<br>
.vendor = "IBM",<br>
.product = "ProFibre 4000R",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
/* DS4300 / FAStT600 */<br>
@@ -428,14 +416,12 @@ static struct hwentry default_hw[] = {<br>
/* DS4200 / FAStT200 */<br>
.vendor = "IBM",<br>
.product = "^3542",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
/* Enterprise Storage Server / Shark family */<br>
.vendor = "IBM",<br>
.product = "^2105",<br>
.no_path_retry = NO_PATH_RETRY_QUEUE,<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
/* DS6000 */<br>
@@ -451,7 +437,6 @@ static struct hwentry default_hw[] = {<br>
.vendor = "IBM",<br>
.product = "^2107900",<br>
.no_path_retry = NO_PATH_RETRY_QUEUE,<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
/* Storwize family / SAN Volume Controller / Flex System V7000 */<br>
@@ -468,7 +453,6 @@ static struct hwentry default_hw[] = {<br>
.bl_product = "S/390",<br>
.uid_attribute = "ID_UID",<br>
.no_path_retry = NO_PATH_RETRY_QUEUE,<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
.vendor = "IBM",<br>
@@ -476,7 +460,6 @@ static struct hwentry default_hw[] = {<br>
.bl_product = "S/390",<br>
.uid_attribute = "ID_UID",<br>
.no_path_retry = NO_PATH_RETRY_QUEUE,<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
/* Power RAID */<br>
@@ -502,7 +485,6 @@ static struct hwentry default_hw[] = {<br>
.vendor = "IBM",<br>
.product = "2810XIV",<br>
.no_path_retry = NO_PATH_RETRY_QUEUE,<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
/*<br>
* IBM Power Virtual SCSI Devices<br>
@@ -513,7 +495,6 @@ static struct hwentry default_hw[] = {<br>
{<br>
.vendor = "AIX",<br>
.product = "VDASD",<br>
- .pgpolicy = MULTIBUS,<br>
.no_path_retry = (300 / DEFAULT_CHECKINT),<br>
},<br>
{<br>
@@ -521,6 +502,7 @@ static struct hwentry default_hw[] = {<br>
.vendor = "IBM",<br>
.product = "3303[ ]+NVDISK",<br>
.no_path_retry = (300 / DEFAULT_CHECKINT),<br>
+ .pgpolicy = FAILOVER,<br>
},<br>
{<br>
.vendor = "AIX",<br>
@@ -587,7 +569,6 @@ static struct hwentry default_hw[] = {<br>
{<br>
.vendor = "SGI",<br>
.product = "TP9100",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
.vendor = "SGI",<br>
@@ -677,7 +658,6 @@ static struct hwentry default_hw[] = {<br>
{<br>
.vendor = "SUN",<br>
.product = "(StorEdge 3510|T4)",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
{<br>
.vendor = "SUN",<br>
@@ -739,7 +719,6 @@ static struct hwentry default_hw[] = {<br>
.vendor = "PIVOT3",<br>
.product = "RAIGE VOLUME",<br>
.no_path_retry = NO_PATH_RETRY_QUEUE,<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
/*<br>
* Intel<br>
@@ -790,7 +769,6 @@ static struct hwentry default_hw[] = {<br>
{<br>
.vendor = "PURE",<br>
.product = "FlashArray",<br>
- .pgpolicy = MULTIBUS,<br>
.fast_io_fail = 10,<br>
.dev_loss = 60,<br>
},<br>
@@ -801,7 +779,6 @@ static struct hwentry default_hw[] = {<br>
/* OceanStor V3 */<br>
.vendor = "(HUAWEI|HUASY)",<br>
.product = "XSG1",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
/*<br>
* Red Hat<br>
@@ -822,7 +799,6 @@ static struct hwentry default_hw[] = {<br>
{<br>
.vendor = "KOVE",<br>
.product = "XPD",<br>
- .pgpolicy = MULTIBUS,<br>
},<br>
#if 0<br>
/*<br>
@@ -844,7 +820,7 @@ static struct hwentry default_hw[] = {<br>
.product = "PRODUCT",<br>
.revision = "REVISION",<br>
.bl_product = "BL_PRODUCT",<br>
- .pgpolicy = FAILOVER,<br>
+ .pgpolicy = MULTIBUS,<br>
.uid_attribute = "ID_SERIAL",<br>
.selector = "service-time 0",<br>
.checker_name = TUR,<br>
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5<br>
index 466ad94..8c0b47a 100644<br>
--- a/multipath/multipath.conf.5<br>
+++ b/multipath/multipath.conf.5<br>
@@ -204,7 +204,7 @@ per-multipath option in the configuration file.<br>
One priority group per target node name. Target node names are fetched<br>
in \fI/sys/class/fc_transport/<wbr>target*/node_name\fR.<br>
.TP<br>
-Default value is: \fBfailover\fR<br>
+Default value is: \fBmultibus\fR<br>
.RE<br>
.<br>
.<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.4<br>
<br>
</font></span></blockquote></div><br></div>