Skip to contentSkip to conversation

multipath-tools: add INFINIDAT devices to hardware table

PATCH New Xose Vazquez Perez 1 participant 1 message Jun 13, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add INFINIDAT devices to hardware table

based on documentation provided by the manufacturer:
https://support.infinidat.com/hc/en-us/articles/202319222

vendor "NFINIDAT" <----- This is not a bug, it's _NFINIDAT_
product "InfiniBox.*"
prio alua
path_grouping_policy group_by_prio path_checker tur
path_selector "round-robin 0"
features "0"
failback 30
rr_weight priorities
no_path_retry fail
rr_min_io 1 # for kernels up to 2.6.31
rr_min_io_rq 1 # for kernels 2.6.31 or newer flush_on_last_del yes
fast_io_fail_tmo 5
dev_loss_tmo 30

Cc Benjamin Marzinski <[email protected]>
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
libmultipath/hwtable.c +22 -0
index 44a4669..650dee6 100644
@@ -1211,6 +1211,28 @@ static struct hwentry default_hw[] = {
 		.dev_loss      = 30,
 	},
 	/*
+	 * Infinidat, Inc.
+	 *
+	 * Maintainer : Christophe Varoqui
+	 * Mail : [email protected]
+	 */
+	{
+		.vendor        = "NFINIDAT",
+		.product       = "InfiniBox.*",
+		.prio_name     = PRIO_ALUA,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.checker_name  = TUR,
+		.selector      = "round-robin 0",
+		.features      = DEFAULT_FEATURES,
+		.pgfailback    = 30,
+		.rr_weight     = RR_WEIGHT_PRIO,
+		.no_path_retry = NO_PATH_RETRY_FAIL,
+		.minio_rq      = 1,
+		.flush_on_last_del = FLUSH_ENABLED,
+		.fast_io_fail  = 5,
+		.dev_loss      = 30,
+	},
+	/*
 	 * EOL
 	 */
 	{
Signature · 1 line
2.5.5