multipath-tools: replace queue_if_no_path with NO_PATH_RETRY_QUEUE
PATCH 1/4 multipath-tools: replace queue_if_no_path with NO_PATH_RETRY_QUEUE
Besides man page states: "If both values are specified the order of precedence is no_path_retry, queue_if_no_path, dev_loss_tmo."
Thus remove queue_if_no_path where no_path_retry already was defined.
--- libmultipath/hwtable.c | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-)
libmultipath/hwtable.c +13 -16
@@ -55,7 +55,7 @@ static struct hwentry default_hw[] = {/* RA8000 / ESA12000 */ .vendor = "DEC", .product = "HSG80", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .hwhandler = "1 hp_sw", .pgpolicy = GROUP_BY_PRIO, .pgfailback = FAILBACK_UNDEF,
@@ -74,7 +74,6 @@ static struct hwentry default_hw[] = {/* MSA 1000/1500 and EVA 3000/5000, with old firmware */ .vendor = "(COMPAQ|HP)", .product = "(MSA|HSV)1[01]0", - .features = "1 queue_if_no_path", .hwhandler = "1 hp_sw", .pgpolicy = GROUP_BY_PRIO, .pgfailback = FAILBACK_UNDEF,
@@ -178,7 +177,6 @@ static struct hwentry default_hw[] = { .vendor = "^DGC", .product = "^(RAID|DISK|VRAID)", .bl_product = "LUNZ", - .features = "1 queue_if_no_path", .hwhandler = "1 emc", .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE,
@@ -265,7 +263,6 @@ static struct hwentry default_hw[] = { { .vendor = "FUJITSU", .product = "ETERNUS_DX(H|L|M|400|8000)", - .features = "1 queue_if_no_path", .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE, .no_path_retry = 10,
@@ -295,7 +292,7 @@ static struct hwentry default_hw[] = {/* AMS 2000 and HUS 100 families */ .vendor = "HITACHI", .product = "^DF", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE, .prio_name = PRIO_HDS,
@@ -453,7 +450,7 @@ static struct hwentry default_hw[] = {/* Enterprise Storage Server / Shark family */ .vendor = "IBM", .product = "^2105", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = GROUP_BY_SERIAL, .pgfailback = FAILBACK_UNDEF, },
@@ -461,7 +458,7 @@ static struct hwentry default_hw[] = {/* DS6000 */ .vendor = "IBM", .product = "^1750500", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE, .prio_name = PRIO_ALUA,
@@ -470,7 +467,7 @@ static struct hwentry default_hw[] = {/* DS8000 */ .vendor = "IBM", .product = "^2107900", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, },
@@ -478,7 +475,7 @@ static struct hwentry default_hw[] = {/* Storwize family / SAN Volume Controller / Flex System V7000 */ .vendor = "IBM", .product = "^2145", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE, .prio_name = PRIO_ALUA,
@@ -488,7 +485,7 @@ static struct hwentry default_hw[] = { .product = "S/390 DASD ECKD", .bl_product = "S/390", .uid_attribute = "ID_UID", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, },
@@ -497,7 +494,7 @@ static struct hwentry default_hw[] = { .product = "S/390 DASD FBA", .bl_product = "S/390", .uid_attribute = "ID_UID", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, },
@@ -505,7 +502,7 @@ static struct hwentry default_hw[] = {/* Power RAID */ .vendor = "IBM", .product = "^IPR", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .hwhandler = "1 alua", .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE,
@@ -524,7 +521,7 @@ static struct hwentry default_hw[] = {/* XIV Storage System */ .vendor = "IBM", .product = "2810XIV", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, },
@@ -569,7 +566,8 @@ static struct hwentry default_hw[] = {*/ .vendor = "NETAPP", .product = "LUN", - .features = "3 queue_if_no_path pg_init_retries 50", + .features = "2 pg_init_retries 50", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE, .flush_on_last_del = FLUSH_ENABLED,
@@ -603,7 +601,6 @@ static struct hwentry default_hw[] = { { .vendor = "NEXENTA", .product = "COMSTAR", - .features = "1 queue_if_no_path", .pgpolicy = GROUP_BY_SERIAL, .pgfailback = FAILBACK_UNDEF, .no_path_retry = 30,
@@ -767,7 +764,7 @@ static struct hwentry default_hw[] = { { .vendor = "PIVOT3", .product = "RAIGE VOLUME", - .features = "1 queue_if_no_path", + .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, },
Signature · 1 line
2.7.4
PATCH 2/4 multipath-tools: replace GROUP_BY_SERIAL with MULTIBUS for IBM 3542 and 2105
It doesn't make any sense to have, by default, GROUP_BY_SERIAL in real hardware.
--- libmultipath/hwtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
libmultipath/hwtable.c +2 -2
@@ -443,7 +443,7 @@ static struct hwentry default_hw[] = {/* DS4200 / FAStT200 */ .vendor = "IBM", .product = "^3542", - .pgpolicy = GROUP_BY_SERIAL, + .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, }, {
@@ -451,7 +451,7 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "^2105", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = GROUP_BY_SERIAL, + .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, }, {
Signature · 1 line
2.7.4
Re: [PATCH 2/4] multipath-tools: replace GROUP_BY_SERIAL with MULTIBUS for IBM 3542 and 2105
Hi Xose,
Group by serial sure can make sense for hardware not capable of multibus.
Can you or Hannes (listed as maintainer for IBM) confirm the concerned IBM arrays are multibus capable ?
Best regards,
Christophe Varoqui
OpenSVC
Quoted 37 lines · Xose Vazquez Perez
It doesn't make any sense to have, by default,
GROUP_BY_SERIALin real hardware.Cc Hannes Reinecke <[email protected]>Cc Christophe Varoqui <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- libmultipath/hwtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)libmultipath/hwtable.c +2
-3@@ -443,7 +443,7 @@ static struct hwentry default_hw[] = {/* DS4200 / FAStT200 */ .vendor = "IBM", .product = "^3542", - .pgpolicy = GROUP_BY_SERIAL, + .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, }, {@@ -451,7 +451,7 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "^2105", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = GROUP_BY_SERIAL, + .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, }, { --2.7.4
Re: [PATCH 2/4] multipath-tools: replace GROUP_BY_SERIAL with MULTIBUS for IBM 3542 and 2105
Quoted 28 lines · Christophe Varoqui
Hi Xose,
Group by serial sure can make sense for hardware not capable of multibus.
Can you or Hannes (listed as maintainer for IBM) confirm the concerned IBM arrays are multibus capable ?
Best regards,
Christophe Varoqui
OpenSVCOn Thu, Aug 18, 2016 at 7:58 PM, Xose Vazquez Perez <[email protected] <mailto:[email protected]>> wrote:
It doesn't make any sense to have, by default,
GROUP_BY_SERIALin real hardware.Cc: Hannes Reinecke <[email protected] <mailto:[email protected]>>
Cc: Christophe Varoqui <[email protected] <mailto:[email protected]>>
Cc: device-mapper development <[email protected] <mailto:[email protected]>>Signed-off-by Xose Vazquez Perez <[email protected]<mailto:[email protected]>>
---
libmultipath/hwtable.c| 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 12 lines
diff --git
a/libmultipath/hwtable.cb/libmultipath/hwtable.cindex aa3ea9b..72b5e1d 100644
---a/libmultipath/hwtable.c
+++b/libmultipath/hwtable.c
@@ -443,7 +443,7 @@ static struct hwentry default_hw[] = {
/* DS4200 / FAStT200 */
.vendor = "IBM",
.product = "^3542",
- .pgpolicy =GROUP_BY_SERIAL,
+ .pgpolicy = MULTIBUS,
.pgfailback =FAILBACK_UNDEF,
},
This is the IBM FAStT 200, which is IIRC an RDAC machine. So multibus will be wrong here, and it should be using the RDAC entry instead.
Quoted 10 lines
{
@@ -451,7 +451,7 @@ static struct hwentry default_hw[] = {
.vendor = "IBM",
.product = "^2105",
.no_path_retry =NO_PATH_RETRY_QUEUE,
- .pgpolicy =GROUP_BY_SERIAL,
+ .pgpolicy = MULTIBUS,
.pgfailback =FAILBACK_UNDEF,
},
{
That's the old IBM ESS 800; this is a fully symmetric active-active array. So yes, multibus is correct here.
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel
Re: [PATCH 2/4] multipath-tools: replace GROUP_BY_SERIAL with MULTIBUS for IBM 3542 and 2105
Thanks.
Patch pushed.
Quoted 66 lines · Hannes Reinecke
Quoted 28 lines · Christophe Varoqui
Hi Xose,
Group by serial sure can make sense for hardware not capable of multibus.
Can you or Hannes (listed as maintainer for IBM) confirm the concerned IBM arrays are multibus capable ?
Best regards,
Christophe Varoqui
OpenSVCOn Thu, Aug 18, 2016 at 7:58 PM, Xose Vazquez Perez <[email protected] <mailto:[email protected]>> wrote:
It doesn't make any sense to have, by default,
GROUP_BY_SERIALin real hardware.Cc: Hannes Reinecke <[email protected] <mailto:[email protected]>>
Cc: Christophe Varoqui <[email protected] <mailto:[email protected]>>
Cc: device-mapper development <[email protected] <mailto:[email protected]>>Signed-off-by Xose Vazquez Perez <[email protected]<mailto:[email protected]>>
---
libmultipath/hwtable.c| 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)Quoted 12 lines
diff --git
a/libmultipath/hwtable.cb/libmultipath/hwtable.cindex aa3ea9b..72b5e1d 100644
---a/libmultipath/hwtable.c
+++b/libmultipath/hwtable.c
@@ -443,7 +443,7 @@ static struct hwentry default_hw[] = {
/* DS4200 / FAStT200 */
.vendor = "IBM",
.product = "^3542",
- .pgpolicy =GROUP_BY_SERIAL,
+ .pgpolicy = MULTIBUS,
.pgfailback =FAILBACK_UNDEF,
},This is the IBM FAStT 200, which is IIRC an RDAC machine. So multibus will be wrong here, and it should be using the RDAC entry instead.
Quoted 10 lines
{
@@ -451,7 +451,7 @@ static struct hwentry default_hw[] = {
.vendor = "IBM",
.product = "^2105",
.no_path_retry =NO_PATH_RETRY_QUEUE,
- .pgpolicy =GROUP_BY_SERIAL,
+ .pgpolicy = MULTIBUS,
.pgfailback =FAILBACK_UNDEF,
},
{That's the old IBM ESS 800; this is a fully symmetric active-active array. So yes, multibus is correct here.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
[email protected] +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
Re: [PATCH 2/4] multipath-tools: replace GROUP_BY_SERIAL with MULTIBUS for IBM 3542 and 2105
Quoted 10 lines · Christophe Varoqui
Thanks.
Patch pushed.Quoted 7 lines
/* DS4200 / FAStT200 */
.vendor = "IBM",
.product = "^3542",
- .pgpolicy =GROUP_BY_SERIAL,
+ .pgpolicy = MULTIBUS,
.pgfailback =FAILBACK_UNDEF,
},
Quoted 2 lines
This is the IBM FAStT 200, which is IIRC an RDAC machine. So multibus will be wrong here, and it should be using the RDAC entry instead.
A patch is needed also in the kernel side(drivers/scsi/scsi_dh.c).
PATCH 3/4 multipath-tools: change default failback from manual to undefined
In reply to Xose Vazquez PerezDefault value is: manual
30 .pgfailback = FAILBACK_UNDEF,
45 .pgfailback = -FAILBACK_IMMEDIATE,manual is not used by any device.
I hope it's reasonable. If someone disagrees, drop it.
--- libmultipath/defaults.h | 2 +- libmultipath/hwtable.c | 32 +------------------------------- multipath/multipath.conf.5 | 8 +++++++- 3 files changed, 9 insertions(+), 33 deletions(-)
libmultipath/defaults.h +1 -1
@@ -12,7 +12,7 @@#define DEFAULT_MINIO 1000#define DEFAULT_MINIO_RQ 1#define DEFAULT_PGPOLICY FAILOVER -#define DEFAULT_FAILBACK -FAILBACK_MANUAL +#define DEFAULT_FAILBACK FAILBACK_UNDEF#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF#define DEFAULT_VERBOSITY 2
libmultipath/hwtable.c +1 -31
@@ -37,7 +37,6 @@ static struct hwentry default_hw[] = { .vendor = "APPLE", .product = "Xserve RAID", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * HPE
@@ -58,7 +57,6 @@ static struct hwentry default_hw[] = { .no_path_retry = NO_PATH_RETRY_QUEUE, .hwhandler = "1 hp_sw", .pgpolicy = GROUP_BY_PRIO, - .pgfailback = FAILBACK_UNDEF, .checker_name = HP_SW, .prio_name = PRIO_HP_SW, },
@@ -67,7 +65,6 @@ static struct hwentry default_hw[] = { .vendor = "HP", .product = "A6189A", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 12, }, {
@@ -76,7 +73,6 @@ static struct hwentry default_hw[] = { .product = "(MSA|HSV)1[01]0", .hwhandler = "1 hp_sw", .pgpolicy = GROUP_BY_PRIO, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 12, .checker_name = HP_SW, .prio_name = PRIO_HP_SW,
@@ -104,7 +100,6 @@ static struct hwentry default_hw[] = { .vendor = "HP", .product = "(MSA2[02]12fc|MSA2012i)", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 18, }, {
@@ -140,7 +135,6 @@ static struct hwentry default_hw[] = { .vendor = "HP", .product = "LOGICAL VOLUME", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 12, }, {
@@ -159,7 +153,6 @@ static struct hwentry default_hw[] = { .vendor = "DDN", .product = "SAN DataDirector", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * EMC
@@ -169,7 +162,6 @@ static struct hwentry default_hw[] = { .vendor = "EMC", .product = "SYMMETRIX", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 6, }, {
@@ -190,14 +182,12 @@ static struct hwentry default_hw[] = { .product = "Invista", .bl_product = "LUNZ", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 5, }, { .vendor = "XtremIO", .product = "XtremApp", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * DELL
@@ -212,7 +202,6 @@ static struct hwentry default_hw[] = { .vendor = "COMPELNT", .product = "Compellent Vol", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = NO_PATH_RETRY_QUEUE, }, {
@@ -258,7 +247,6 @@ static struct hwentry default_hw[] = { .vendor = "FSC", .product = "CentricStor", .pgpolicy = GROUP_BY_SERIAL, - .pgfailback = FAILBACK_UNDEF, }, { .vendor = "FUJITSU",
@@ -273,7 +261,6 @@ static struct hwentry default_hw[] = { .vendor = "(EUROLOGC|EuroLogc)", .product = "FC2502", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * Hitachi
@@ -286,7 +273,6 @@ static struct hwentry default_hw[] = { .vendor = "(HITACHI|HP)", .product = "^OPEN-", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* AMS 2000 and HUS 100 families */
@@ -307,7 +293,6 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "ProFibre 4000R", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* DS4300 / FAStT600 */
@@ -444,7 +429,6 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "^3542", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* Enterprise Storage Server / Shark family */
@@ -452,7 +436,6 @@ static struct hwentry default_hw[] = { .product = "^2105", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* DS6000 */
@@ -469,7 +452,6 @@ static struct hwentry default_hw[] = { .product = "^2107900", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* Storwize family / SAN Volume Controller / Flex System V7000 */
@@ -487,7 +469,6 @@ static struct hwentry default_hw[] = { .uid_attribute = "ID_UID", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, { .vendor = "IBM",
@@ -496,7 +477,6 @@ static struct hwentry default_hw[] = { .uid_attribute = "ID_UID", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* Power RAID */
@@ -523,7 +503,6 @@ static struct hwentry default_hw[] = { .product = "2810XIV", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * IBM Power Virtual SCSI Devices
@@ -535,14 +514,12 @@ static struct hwentry default_hw[] = { .vendor = "AIX", .product = "VDASD", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = (300 / DEFAULT_CHECKINT), }, {/* 3303 NVDISK */ .vendor = "IBM", .product = "3303[ ]+NVDISK", - .pgfailback = FAILBACK_UNDEF, .no_path_retry = (300 / DEFAULT_CHECKINT), }, {
@@ -602,7 +579,6 @@ static struct hwentry default_hw[] = { .vendor = "NEXENTA", .product = "COMSTAR", .pgpolicy = GROUP_BY_SERIAL, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 30, },/*
@@ -612,7 +588,6 @@ static struct hwentry default_hw[] = { .vendor = "SGI", .product = "TP9100", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, { .vendor = "SGI",
@@ -703,7 +678,6 @@ static struct hwentry default_hw[] = { .vendor = "SUN", .product = "(StorEdge 3510|T4)", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, { .vendor = "SUN",
@@ -766,7 +740,6 @@ static struct hwentry default_hw[] = { .product = "RAIGE VOLUME", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * Intel
@@ -818,7 +791,6 @@ static struct hwentry default_hw[] = { .vendor = "PURE", .product = "FlashArray", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .fast_io_fail = 10, .dev_loss = 60, },
@@ -830,7 +802,6 @@ static struct hwentry default_hw[] = { .vendor = "(HUAWEI|HUASY)", .product = "XSG1", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * Red Hat
@@ -852,7 +823,6 @@ static struct hwentry default_hw[] = { .vendor = "KOVE", .product = "XPD", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },#if 0 /*
@@ -882,7 +852,7 @@ static struct hwentry default_hw[] = { .hwhandler = "0", .prio_name = "const", .prio_args = "", - .pgfailback = -FAILBACK_MANUAL, + .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, .minio = 1000,
multipath/multipath.conf.5 +7 -1
@@ -422,6 +422,8 @@ Default value is: \fBmpath\fR .TP .B failback Tell multipathd how to manage path group failback. +To select \fIimmediate\fR or a \fIvalue\fR, it's mandatory that the device +has support for a working prioritizer and a 'preferred path'. .RS .TP 12 .I immediate
@@ -440,7 +442,11 @@ another node requested the failover. .I values > 0 Deferred failback (time to defer in seconds). .TP -Default value is: \fBmanual\fR +.\" XXX +.I <unset> +??? Undefined. +.TP +Default value is: \fB<unset>\fR .RE . .
Signature · 1 line
2.7.4
Re: [PATCH 3/4] multipath-tools: change default failback from manual to undefined
Wouldn't it be nicer to keep manual as the default and remove all FAILBACK_UNDEF from the hwtable ?
In the current code base, FAILBACK_UNDEF causes need_switch_pathgroup() to refresh each path prio and mpp->bestpg, and return to the caller it should switch pathgroup. But the caller (check_path()) won't switch anyway.
As I read it FAILBACK_UNDEF never fails back automatically, like FAILBACK_MANUAL, but causes unecessary work.
Hannes, Ben, do you confirm I read correctly ? Would you ack to removal of FAILBACK_UNDEF from the hwtable ?
Regards,
Christophe Varoqui
OpenSVC
Quoted 313 lines · Xose Vazquez Perez
Default value is: manual
30 .pgfailback = FAILBACK_UNDEF, 45 .pgfailback = -FAILBACK_IMMEDIATE,manual is not used by any device.
I hope it's reasonable. If someone disagrees, drop it.
Cc Hannes Reinecke <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- libmultipath/defaults.h | 2 +- libmultipath/hwtable.c | 32 +------------------------------- multipath/multipath.conf.5 | 8 +++++++- 3 files changed, 9 insertions(+), 33 deletions(-)libmultipath/defaults.h +1
-1@@ -12,7 +12,7 @@#define DEFAULT_MINIO 1000#define DEFAULT_MINIO_RQ 1#define DEFAULT_PGPOLICY FAILOVER -#define DEFAULT_FAILBACK -FAILBACK_MANUAL +#define DEFAULT_FAILBACK FAILBACK_UNDEF#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF#define DEFAULT_VERBOSITY 2libmultipath/hwtable.c +0
-18@@ -37,7 +37,6 @@ static struct hwentry default_hw[] = { .vendor = "APPLE", .product = "Xserve RAID", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * HPE @@ -58,7 +57,6 @@ static struct hwentry default_hw[] = { .no_path_retry = NO_PATH_RETRY_QUEUE, .hwhandler = "1 hp_sw", .pgpolicy = GROUP_BY_PRIO, - .pgfailback = FAILBACK_UNDEF, .checker_name = HP_SW, .prio_name = PRIO_HP_SW, },@@ -67,7 +65,6 @@ static struct hwentry default_hw[] = { .vendor = "HP", .product = "A6189A", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 12, }, {@@ -76,7 +73,6 @@ static struct hwentry default_hw[] = { .product = "(MSA|HSV)1[01]0", .hwhandler = "1 hp_sw", .pgpolicy = GROUP_BY_PRIO, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 12, .checker_name = HP_SW, .prio_name = PRIO_HP_SW,@@ -104,7 +100,6 @@ static struct hwentry default_hw[] = { .vendor = "HP", .product = "(MSA2[02]12fc|MSA2012i)", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 18, }, {@@ -140,7 +135,6 @@ static struct hwentry default_hw[] = { .vendor = "HP", .product = "LOGICAL VOLUME", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 12, }, {@@ -159,7 +153,6 @@ static struct hwentry default_hw[] = { .vendor = "DDN", .product = "SAN DataDirector", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * EMC @@ -169,7 +162,6 @@ static struct hwentry default_hw[] = { .vendor = "EMC", .product = "SYMMETRIX", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 6, }, {@@ -190,14 +182,12 @@ static struct hwentry default_hw[] = { .product = "Invista", .bl_product = "LUNZ", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 5, }, { .vendor = "XtremIO", .product = "XtremApp", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * DELL @@ -212,7 +202,6 @@ static struct hwentry default_hw[] = { .vendor = "COMPELNT", .product = "Compellent Vol", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = NO_PATH_RETRY_QUEUE, }, {@@ -258,7 +247,6 @@ static struct hwentry default_hw[] = { .vendor = "FSC", .product = "CentricStor", .pgpolicy = GROUP_BY_SERIAL, - .pgfailback = FAILBACK_UNDEF, }, { .vendor = "FUJITSU",@@ -273,7 +261,6 @@ static struct hwentry default_hw[] = { .vendor = "(EUROLOGC|EuroLogc)", .product = "FC2502", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * Hitachi @@ -286,7 +273,6 @@ static struct hwentry default_hw[] = { .vendor = "(HITACHI|HP)", .product = "^OPEN-", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* AMS 2000 and HUS 100 families */ @@ -307,7 +293,6 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "ProFibre 4000R", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* DS4300 / FAStT600 */ @@ -444,7 +429,6 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "^3542", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* Enterprise Storage Server / Shark family */ @@ -452,7 +436,6 @@ static struct hwentry default_hw[] = { .product = "^2105", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* DS6000 */ @@ -469,7 +452,6 @@ static struct hwentry default_hw[] = { .product = "^2107900", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* Storwize family / SAN Volume Controller / Flex System V7000 */
libmultipath/hwtable.c +1
-13@@ -487,7 +469,6 @@ static struct hwentry default_hw[] = { .uid_attribute = "ID_UID", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, { .vendor = "IBM",@@ -496,7 +477,6 @@ static struct hwentry default_hw[] = { .uid_attribute = "ID_UID", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, {/* Power RAID */ @@ -523,7 +503,6 @@ static struct hwentry default_hw[] = { .product = "2810XIV", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * IBM Power Virtual SCSI Devices @@ -535,14 +514,12 @@ static struct hwentry default_hw[] = { .vendor = "AIX", .product = "VDASD", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = (300 / DEFAULT_CHECKINT), }, {/* 3303 NVDISK */ .vendor = "IBM", .product = "3303[ ]+NVDISK", - .pgfailback = FAILBACK_UNDEF, .no_path_retry = (300 / DEFAULT_CHECKINT), }, {@@ -602,7 +579,6 @@ static struct hwentry default_hw[] = { .vendor = "NEXENTA", .product = "COMSTAR", .pgpolicy = GROUP_BY_SERIAL, - .pgfailback = FAILBACK_UNDEF, .no_path_retry = 30, },/* @@ -612,7 +588,6 @@ static struct hwentry default_hw[] = { .vendor = "SGI", .product = "TP9100", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, { .vendor = "SGI",@@ -703,7 +678,6 @@ static struct hwentry default_hw[] = { .vendor = "SUN", .product = "(StorEdge 3510|T4)", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, }, { .vendor = "SUN",@@ -766,7 +740,6 @@ static struct hwentry default_hw[] = { .product = "RAIGE VOLUME", .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * Intel @@ -818,7 +791,6 @@ static struct hwentry default_hw[] = { .vendor = "PURE", .product = "FlashArray", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, .fast_io_fail = 10, .dev_loss = 60, },@@ -830,7 +802,6 @@ static struct hwentry default_hw[] = { .vendor = "(HUAWEI|HUASY)", .product = "XSG1", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },/* * Red Hat @@ -852,7 +823,6 @@ static struct hwentry default_hw[] = { .vendor = "KOVE", .product = "XPD", .pgpolicy = MULTIBUS, - .pgfailback = FAILBACK_UNDEF, },#if 0 /* @@ -882,7 +852,7 @@ static struct hwentry default_hw[] = { .hwhandler = "0", .prio_name = "const", .prio_args = "", - .pgfailback = -FAILBACK_MANUAL, + .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, .minio = 1000,multipath/multipath.conf.5 +7
-2@@ -422,6 +422,8 @@ Default value is: \fBmpath\fR .TP .B failback Tell multipathd how to manage path group failback. +To select \fIimmediate\fR or a \fIvalue\fR, it's mandatory that the device +has support for a working prioritizer and a 'preferred path'. .RS .TP 12 .I immediate@@ -440,7 +442,11 @@ another node requested the failover. .I values > 0 Deferred failback (time to defer in seconds). .TP -Default value is: \fBmanual\fR +.\" XXX +.I <unset> +??? Undefined. +.TP +Default value is: \fB<unset>\fR .RE . . --2.7.4
Re: [PATCH 3/4] multipath-tools: change default failback from manual to undefined
Quoted 7 lines · Christophe Varoqui
Wouldn't it be nicer to keep manual as the default and remove all
FAILBACK_UNDEFfrom the hwtable ?In the current code base,
FAILBACK_UNDEFcausesneed_switch_pathgroup()to refresh each path prio andmpp->bestpg, and return to the caller it should switch pathgroup. But the caller (check_path()) won't switch anyway.
Quoted 6 lines
As I read it
FAILBACK_UNDEFnever fails back automatically, likeFAILBACK_MANUAL, but causes unecessary work.Hannes, Ben, do you confirm I read correctly ? Would you ack to removal of
FAILBACK_UNDEFfrom the hwtable ?
Yes, please.FAILBACK_UNDEF always was kinda pointless, as and we're now using defaults more aggressively I'm all for dropping FAILBACK_UNDEF and use FAILBACK_MANUAL as the default.
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel
Re: [PATCH 3/4] multipath-tools: change default failback from manual to undefined
Patch pushed.
Quoted 29 lines · Hannes Reinecke
Quoted 6 lines · Christophe Varoqui
Wouldn't it be nicer to keep manual as the default and remove all
FAILBACK_UNDEFfrom the hwtable ?In the current code base,
FAILBACK_UNDEFcausesneed_switch_pathgroup()to refresh each path prio andmpp->bestpg, and return to the caller it should switch pathgroup. But the caller (check_path()) won't switchanyway.
Quoted 7 lines
As I read it
FAILBACK_UNDEFnever fails back automatically, likeFAILBACK_MANUAL, but causes unecessary work.Hannes, Ben, do you confirm I read correctly ? Would you ack to removal of
FAILBACK_UNDEFfrom the hwtable ?Yes, please.
FAILBACK_UNDEFalways was kinda pointless, as and we're now using defaults more aggressively I'm all for droppingFAILBACK_UNDEFand useFAILBACK_MANUALas the default.Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
[email protected] +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
PATCH 4/4 multipath-tools: change default path_grouping_policy from failover to multibus
In reply to Xose Vazquez PerezDefault value is: failover
1 .pgpolicy = FAILOVER,
2 .pgpolicy = GROUP_BY_SERIAL,
25 .pgpolicy = MULTIBUS,
47 .pgpolicy = GROUP_BY_PRIO,failover is only used by 1 device: IBM/3303 NVDISK
I hope it's reasonable. If someone disagrees, drop it.
--- libmultipath/defaults.h | 2 +- libmultipath/hwtable.c | 28 ++-------------------------- multipath/multipath.conf.5 | 2 +- 3 files changed, 4 insertions(+), 28 deletions(-)
libmultipath/defaults.h +1 -1
@@ -11,7 +11,7 @@#define DEFAULT_HWHANDLER "0"#define DEFAULT_MINIO 1000#define DEFAULT_MINIO_RQ 1 -#define DEFAULT_PGPOLICY FAILOVER +#define DEFAULT_PGPOLICY MULTIBUS#define DEFAULT_FAILBACK FAILBACK_UNDEF#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF
libmultipath/hwtable.c +2 -26
@@ -36,7 +36,6 @@ static struct hwentry default_hw[] = { { .vendor = "APPLE", .product = "Xserve RAID", - .pgpolicy = MULTIBUS, },/* * HPE
@@ -64,7 +63,6 @@ static struct hwentry default_hw[] = {/* VIRTUAL ARRAY 7400 */ .vendor = "HP", .product = "A6189A", - .pgpolicy = MULTIBUS, .no_path_retry = 12, }, {
@@ -99,7 +97,6 @@ static struct hwentry default_hw[] = {/* MSA2000 family with old firmware */ .vendor = "HP", .product = "(MSA2[02]12fc|MSA2012i)", - .pgpolicy = MULTIBUS, .no_path_retry = 18, }, {
@@ -134,7 +131,6 @@ static struct hwentry default_hw[] = {/* Smart Array */ .vendor = "HP", .product = "LOGICAL VOLUME", - .pgpolicy = MULTIBUS, .no_path_retry = 12, }, {
@@ -152,7 +148,6 @@ static struct hwentry default_hw[] = { { .vendor = "DDN", .product = "SAN DataDirector", - .pgpolicy = MULTIBUS, },/* * EMC
@@ -161,7 +156,6 @@ static struct hwentry default_hw[] = {/* Symmetrix / DMX / VMAX */ .vendor = "EMC", .product = "SYMMETRIX", - .pgpolicy = MULTIBUS, .no_path_retry = 6, }, {
@@ -181,13 +175,11 @@ static struct hwentry default_hw[] = { .vendor = "EMC", .product = "Invista", .bl_product = "LUNZ", - .pgpolicy = MULTIBUS, .no_path_retry = 5, }, { .vendor = "XtremIO", .product = "XtremApp", - .pgpolicy = MULTIBUS, },/* * DELL
@@ -201,7 +193,6 @@ static struct hwentry default_hw[] = {*/ .vendor = "COMPELNT", .product = "Compellent Vol", - .pgpolicy = MULTIBUS, .no_path_retry = NO_PATH_RETRY_QUEUE, }, {
@@ -260,7 +251,6 @@ static struct hwentry default_hw[] = {/* FibreCAT S80 */ .vendor = "(EUROLOGC|EuroLogc)", .product = "FC2502", - .pgpolicy = MULTIBUS, },/* * Hitachi
@@ -272,7 +262,6 @@ static struct hwentry default_hw[] = {/* USP-V, HUS VM, VSP, VSP G1000 and VSP GX00 families */ .vendor = "(HITACHI|HP)", .product = "^OPEN-", - .pgpolicy = MULTIBUS, }, {/* AMS 2000 and HUS 100 families */
@@ -292,7 +281,6 @@ static struct hwentry default_hw[] = { { .vendor = "IBM", .product = "ProFibre 4000R", - .pgpolicy = MULTIBUS, }, {/* DS4300 / FAStT600 */
@@ -428,14 +416,12 @@ static struct hwentry default_hw[] = {/* DS4200 / FAStT200 */ .vendor = "IBM", .product = "^3542", - .pgpolicy = MULTIBUS, }, {/* Enterprise Storage Server / Shark family */ .vendor = "IBM", .product = "^2105", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, }, {/* DS6000 */
@@ -451,7 +437,6 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "^2107900", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, }, {/* Storwize family / SAN Volume Controller / Flex System V7000 */
@@ -468,7 +453,6 @@ static struct hwentry default_hw[] = { .bl_product = "S/390", .uid_attribute = "ID_UID", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, }, { .vendor = "IBM",
@@ -476,7 +460,6 @@ static struct hwentry default_hw[] = { .bl_product = "S/390", .uid_attribute = "ID_UID", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, }, {/* Power RAID */
@@ -502,7 +485,6 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "2810XIV", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, },/* * IBM Power Virtual SCSI Devices
@@ -513,7 +495,6 @@ static struct hwentry default_hw[] = { { .vendor = "AIX", .product = "VDASD", - .pgpolicy = MULTIBUS, .no_path_retry = (300 / DEFAULT_CHECKINT), }, {
@@ -521,6 +502,7 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "3303[ ]+NVDISK", .no_path_retry = (300 / DEFAULT_CHECKINT), + .pgpolicy = FAILOVER, }, { .vendor = "AIX",
@@ -587,7 +569,6 @@ static struct hwentry default_hw[] = { { .vendor = "SGI", .product = "TP9100", - .pgpolicy = MULTIBUS, }, { .vendor = "SGI",
@@ -677,7 +658,6 @@ static struct hwentry default_hw[] = { { .vendor = "SUN", .product = "(StorEdge 3510|T4)", - .pgpolicy = MULTIBUS, }, { .vendor = "SUN",
@@ -739,7 +719,6 @@ static struct hwentry default_hw[] = { .vendor = "PIVOT3", .product = "RAIGE VOLUME", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, },/* * Intel
@@ -790,7 +769,6 @@ static struct hwentry default_hw[] = { { .vendor = "PURE", .product = "FlashArray", - .pgpolicy = MULTIBUS, .fast_io_fail = 10, .dev_loss = 60, },
@@ -801,7 +779,6 @@ static struct hwentry default_hw[] = {/* OceanStor V3 */ .vendor = "(HUAWEI|HUASY)", .product = "XSG1", - .pgpolicy = MULTIBUS, },/* * Red Hat
@@ -822,7 +799,6 @@ static struct hwentry default_hw[] = { { .vendor = "KOVE", .product = "XPD", - .pgpolicy = MULTIBUS, },#if 0 /*
@@ -844,7 +820,7 @@ static struct hwentry default_hw[] = { .product = "PRODUCT", .revision = "REVISION", .bl_product = "BL_PRODUCT", - .pgpolicy = FAILOVER, + .pgpolicy = MULTIBUS, .uid_attribute = "ID_SERIAL", .selector = "service-time 0", .checker_name = TUR,
multipath/multipath.conf.5 +1 -1
@@ -204,7 +204,7 @@ per-multipath option in the configuration file. One priority group per target node name. Target node names are fetched in \fI/sys/class/fc_transport/target*/node_name\fR. .TP -Default value is: \fBfailover\fR +Default value is: \fBmultibus\fR .RE . .
Signature · 1 line
2.7.4
Re: [PATCH 4/4] multipath-tools: change default path_grouping_policy from failover to multibus
Dropped.
"failover" is the conservative default. The one we expect applies to hardware not even known to the hwtable.
Best regards,
Christophe Varoqui
OpenSVC
Quoted 269 lines · Xose Vazquez Perez
Default value is: failover
1 .pgpolicy = FAILOVER, 2 .pgpolicy = GROUP_BY_SERIAL, 25 .pgpolicy = MULTIBUS, 47 .pgpolicy = GROUP_BY_PRIO,failover is only used by 1 device: IBM/3303 NVDISK
I hope it's reasonable. If someone disagrees, drop it.
Cc Hannes Reinecke <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- libmultipath/defaults.h | 2 +- libmultipath/hwtable.c | 28 ++-------------------------- multipath/multipath.conf.5 | 2 +- 3 files changed, 4 insertions(+), 28 deletions(-)libmultipath/defaults.h +1
-1@@ -11,7 +11,7 @@#define DEFAULT_HWHANDLER "0"#define DEFAULT_MINIO 1000#define DEFAULT_MINIO_RQ 1 -#define DEFAULT_PGPOLICY FAILOVER +#define DEFAULT_PGPOLICY MULTIBUS#define DEFAULT_FAILBACK FAILBACK_UNDEF#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEFlibmultipath/hwtable.c +0
-15@@ -36,7 +36,6 @@ static struct hwentry default_hw[] = { { .vendor = "APPLE", .product = "Xserve RAID", - .pgpolicy = MULTIBUS, },/* * HPE @@ -64,7 +63,6 @@ static struct hwentry default_hw[] = {/* VIRTUAL ARRAY 7400 */ .vendor = "HP", .product = "A6189A", - .pgpolicy = MULTIBUS, .no_path_retry = 12, }, {@@ -99,7 +97,6 @@ static struct hwentry default_hw[] = {/* MSA2000 family with old firmware */ .vendor = "HP", .product = "(MSA2[02]12fc|MSA2012i)", - .pgpolicy = MULTIBUS, .no_path_retry = 18, }, {@@ -134,7 +131,6 @@ static struct hwentry default_hw[] = {/* Smart Array */ .vendor = "HP", .product = "LOGICAL VOLUME", - .pgpolicy = MULTIBUS, .no_path_retry = 12, }, {@@ -152,7 +148,6 @@ static struct hwentry default_hw[] = { { .vendor = "DDN", .product = "SAN DataDirector", - .pgpolicy = MULTIBUS, },/* * EMC @@ -161,7 +156,6 @@ static struct hwentry default_hw[] = {/* Symmetrix / DMX / VMAX */ .vendor = "EMC", .product = "SYMMETRIX", - .pgpolicy = MULTIBUS, .no_path_retry = 6, }, {@@ -181,13 +175,11 @@ static struct hwentry default_hw[] = { .vendor = "EMC", .product = "Invista", .bl_product = "LUNZ", - .pgpolicy = MULTIBUS, .no_path_retry = 5, }, { .vendor = "XtremIO", .product = "XtremApp", - .pgpolicy = MULTIBUS, },/* * DELL @@ -201,7 +193,6 @@ static struct hwentry default_hw[] = {*/ .vendor = "COMPELNT", .product = "Compellent Vol", - .pgpolicy = MULTIBUS, .no_path_retry = NO_PATH_RETRY_QUEUE, }, {@@ -260,7 +251,6 @@ static struct hwentry default_hw[] = {/* FibreCAT S80 */ .vendor = "(EUROLOGC|EuroLogc)", .product = "FC2502", - .pgpolicy = MULTIBUS, },/* * Hitachi @@ -272,7 +262,6 @@ static struct hwentry default_hw[] = {/* USP-V, HUS VM, VSP, VSP G1000 and VSP GX00 families */ .vendor = "(HITACHI|HP)", .product = "^OPEN-", - .pgpolicy = MULTIBUS, }, {/* AMS 2000 and HUS 100 families */ @@ -292,7 +281,6 @@ static struct hwentry default_hw[] = { { .vendor = "IBM", .product = "ProFibre 4000R", - .pgpolicy = MULTIBUS, }, {/* DS4300 / FAStT600 */ @@ -428,14 +416,12 @@ static struct hwentry default_hw[] = {/* DS4200 / FAStT200 */ .vendor = "IBM", .product = "^3542", - .pgpolicy = MULTIBUS, }, {/* Enterprise Storage Server / Shark family */ .vendor = "IBM", .product = "^2105", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, }, {/* DS6000 */ @@ -451,7 +437,6 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "^2107900", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, }, {/* Storwize family / SAN Volume Controller / Flex System V7000 */
libmultipath/hwtable.c +2
-11@@ -468,7 +453,6 @@ static struct hwentry default_hw[] = { .bl_product = "S/390", .uid_attribute = "ID_UID", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, }, { .vendor = "IBM",@@ -476,7 +460,6 @@ static struct hwentry default_hw[] = { .bl_product = "S/390", .uid_attribute = "ID_UID", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, }, {/* Power RAID */ @@ -502,7 +485,6 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "2810XIV", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, },/* * IBM Power Virtual SCSI Devices @@ -513,7 +495,6 @@ static struct hwentry default_hw[] = { { .vendor = "AIX", .product = "VDASD", - .pgpolicy = MULTIBUS, .no_path_retry = (300 / DEFAULT_CHECKINT), }, {@@ -521,6 +502,7 @@ static struct hwentry default_hw[] = { .vendor = "IBM", .product = "3303[ ]+NVDISK", .no_path_retry = (300 / DEFAULT_CHECKINT), + .pgpolicy = FAILOVER, }, { .vendor = "AIX",@@ -587,7 +569,6 @@ static struct hwentry default_hw[] = { { .vendor = "SGI", .product = "TP9100", - .pgpolicy = MULTIBUS, }, { .vendor = "SGI",@@ -677,7 +658,6 @@ static struct hwentry default_hw[] = { { .vendor = "SUN", .product = "(StorEdge 3510|T4)", - .pgpolicy = MULTIBUS, }, { .vendor = "SUN",@@ -739,7 +719,6 @@ static struct hwentry default_hw[] = { .vendor = "PIVOT3", .product = "RAIGE VOLUME", .no_path_retry = NO_PATH_RETRY_QUEUE, - .pgpolicy = MULTIBUS, },/* * Intel @@ -790,7 +769,6 @@ static struct hwentry default_hw[] = { { .vendor = "PURE", .product = "FlashArray", - .pgpolicy = MULTIBUS, .fast_io_fail = 10, .dev_loss = 60, },@@ -801,7 +779,6 @@ static struct hwentry default_hw[] = {/* OceanStor V3 */ .vendor = "(HUAWEI|HUASY)", .product = "XSG1", - .pgpolicy = MULTIBUS, },/* * Red Hat @@ -822,7 +799,6 @@ static struct hwentry default_hw[] = { { .vendor = "KOVE", .product = "XPD", - .pgpolicy = MULTIBUS, },#if 0 /* @@ -844,7 +820,7 @@ static struct hwentry default_hw[] = { .product = "PRODUCT", .revision = "REVISION", .bl_product = "BL_PRODUCT", - .pgpolicy = FAILOVER, + .pgpolicy = MULTIBUS, .uid_attribute = "ID_SERIAL", .selector = "service-time 0", .checker_name = TUR,multipath/multipath.conf.5 +1
-2@@ -204,7 +204,7 @@ per-multipath option in the configuration file. One priority group per target node name. Target node names are fetched in \fI/sys/class/fc_transport/target*/node_name\fR. .TP -Default value is: \fBfailover\fR +Default value is: \fBmultibus\fR .RE . . --2.7.4