From: "Jun'ichi Nomura" <j-nomura@ce.jp.nec.com>
To: device-mapper development <dm-devel@redhat.com>,
christophe.varoqui@opensvc.com
Subject: [PATCH] multipath-tools: Add new NEC diskarray to internal hardware table
Date: Wed, 20 Apr 2011 18:20:09 +0900 [thread overview]
Message-ID: <4DAEA549.70702@ce.jp.nec.com> (raw)
Hi Christophe,
This patch adds an entry for new NEC Storage M series to internal hwtable.
Could you include this change in your tree?
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
libmultipath/hwtable.c | 18 ++++++++++++++++++
multipath.conf.defaults | 14 ++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 9e6888e..c02caa8 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1031,6 +1031,24 @@ static struct hwentry default_hw[] = {
.prio_name = PRIO_RDAC,
.prio_args = NULL,
},
+ /* NEC Storage M Series */
+ {
+ .vendor = "NEC",
+ .product = "DISK ARRAY",
+ .getuid = DEFAULT_GETUID,
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 alua",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_UNDEF,
+ .minio = DEFAULT_MINIO,
+ .minio_rq = DEFAULT_MINIO_RQ,
+ .checker_name = TUR,
+ .prio_name = PRIO_ALUA,
+ .prio_args = NULL,
+ },
/*
* STK arrays
*
diff --git a/multipath.conf.defaults b/multipath.conf.defaults
index f8ca0a2..6daf812 100644
--- a/multipath.conf.defaults
+++ b/multipath.conf.defaults
@@ -743,4 +743,18 @@
# path_checker directio
# prio const
# }
+# device {
+# vendor "NEC"
+# product "DISK ARRAY"
+# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
+# features "0"
+# hardware_handler "1 alua"
+# path_selector "round-robin 0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
+# prio alua
+# }
#}
next reply other threads:[~2011-04-20 9:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-20 9:20 Jun'ichi Nomura [this message]
2011-04-20 9:42 ` [PATCH] multipath-tools: Add new NEC diskarray to internal hardware table Christophe Varoqui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DAEA549.70702@ce.jp.nec.com \
--to=j-nomura@ce.jp.nec.com \
--cc=christophe.varoqui@opensvc.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.