[dm-devel] [PATCH 2/2] multipath-tools: delete retain_hwhandler and detect_prio attributes when they are equal to default values
Xose Vazquez Perez
xose.vazquez at gmail.com
Sat Jul 9 00:48:47 UTC 2016
3 .retain_hwhandler = RETAIN_HWHANDLER_ON,
3 .detect_prio = DETECT_PRIO_ON,
Cc: Hannes Reinecke <hare at suse.de>
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: device-mapper development <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
libmultipath/hwtable.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index e5c3fef..b4656c7 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -212,8 +212,6 @@ static struct hwentry default_hw[] = {
.no_path_retry = (300 / DEFAULT_CHECKINT),
.checker_name = EMC_CLARIION,
.prio_name = PRIO_EMC,
- .retain_hwhandler = RETAIN_HWHANDLER_ON,
- .detect_prio = DETECT_PRIO_ON,
},
{
.vendor = "EMC",
@@ -611,8 +609,6 @@ static struct hwentry default_hw[] = {
.minio = 128,
.dev_loss = MAX_DEV_LOSS_TMO,
.prio_name = PRIO_ONTAP,
- .retain_hwhandler = RETAIN_HWHANDLER_ON,
- .detect_prio = DETECT_PRIO_ON,
},
{
/* IBM NSeries */
@@ -815,8 +811,6 @@ static struct hwentry default_hw[] = {
.no_path_retry = 30,
.checker_name = RDAC,
.prio_name = PRIO_RDAC,
- .detect_prio = DETECT_PRIO_ON,
- .retain_hwhandler = RETAIN_HWHANDLER_ON,
},
{
.vendor = "STK",
--
2.7.4
More information about the dm-devel
mailing list