[dm-devel] [PATCH 05/18] multipath-tools: add Nimble to hwtable
Xose Vazquez Perez
xose.vazquez at gmail.com
Sat Jul 30 00:28:13 UTC 2016
Based on documentation provided by the manufacturer:
http://www.nimblestorage.com/bpg_nimble_storage_linux_fibre_channel.pdf
vendor "Nimble"
product "Server"
prio "alua"
path_grouping_policy group_by_prio
path_checker tur
hardware_handler "1 alua"
features "1 queue_if_no_path"
rr_weight priorities
rr_min_io_rq 20
failback 10
path_selector "round-robin 0"
dev_loss_tmo infinity
fast_io_fail_tmo 1
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 | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index bd0bd8c..673148a 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -785,6 +785,22 @@ static struct hwentry default_hw[] = {
.pgpolicy = MULTIBUS,
.no_path_retry = DEFAULT_NO_PATH_RETRY,
},
+ /*
+ * Nimble Storage
+ */
+ {
+ .vendor = "Nimble",
+ .product = "Server",
+ .prio_name = PRIO_ALUA,
+ .hwhandler = "1 alua",
+ .features = "1 queue_if_no_path",
+ .rr_weight = RR_WEIGHT_PRIO,
+ .minio_rq = 20,
+ .pgfailback = 10,
+ .selector = "round-robin 0",
+ .dev_loss = MAX_DEV_LOSS_TMO,
+ .fast_io_fail = 1,
+ },
#if 0
/*
* Copy this TEMPLATE to add new hardware.
--
2.7.4
More information about the dm-devel
mailing list