Skip to contentSkip to conversation

multipath: update netapp config

PATCH Superseded Benjamin Marzinski 2 participants 2 messages Jan 8, 2013 – Jan 10, 2013 Device mapper

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Benjamin Marzinski

author maintainer
#0 lore raw

PATCH 1/1 multipath: update netapp config

The netapp config now used the retain_attached_hwhandler and detect_prio options to automatically configure correctly for both ALUA and non-ALUA setups. NetApp also requested that dev_loss_tmo be set to the maximum for netapp devices.

---
 libmultipath/hwtable.c |    3 +++
 1 file changed, 3 insertions(+)
libmultipath/hwtable.c +3 -0
Index: multipath-tools-120821/libmultipath/hwtable.c
===================================================================
@@ -871,9 +871,12 @@ static struct hwentry default_hw[] = {
 		.rr_weight     = RR_WEIGHT_NONE,
 		.no_path_retry = NO_PATH_RETRY_UNDEF,
 		.minio         = 128,
+		.dev_loss      = MAX_DEV_LOSS_TMO,
 		.checker_name  = TUR,
 		.prio_name     = PRIO_ONTAP,
 		.prio_args     = NULL,
+		.retain_hwhandler = RETAIN_HWHANDLER_ON,
+		.detect_prio   = DETECT_PRIO_ON,
 	},
 	/*
 	 * NEXENTA/COMSTAR controller family
#1 lore raw
Quoted 18 lines · Benjamin Marzinski

The netapp config now used the retain_attached_hwhandler and detect_prio options to automatically configure correctly for both ALUA and non-ALUA setups. NetApp also requested that dev_loss_tmo be set to the maximum for netapp devices.

---
 libmultipath/hwtable.c |    3 +++
 1 file changed, 3 insertions(+)

Index: multipath-tools-120821/libmultipath/hwtable.c
===================================================================

libmultipath/hwtable.c +0 -0
@@ -871,9 +871,12 @@ static struct hwentry default_hw[] = {
 		.rr_weight     = RR_WEIGHT_NONE,
 		.no_path_retry = NO_PATH_RETRY_UNDEF,

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

Quoted 10 lines
libmultipath/hwtable.c +3 -0
 		.minio         = 128,
+		.dev_loss      = MAX_DEV_LOSS_TMO,
 		.checker_name  = TUR,
 		.prio_name     = PRIO_ONTAP,
 		.prio_args     = NULL,
+		.retain_hwhandler = RETAIN_HWHANDLER_ON,
+		.detect_prio   = DETECT_PRIO_ON,
 	},
 	/*
 	 * NEXENTA/COMSTAR controller family

ditto.