[dm-devel] [PATCH 15/15] libmultipath: autodetect ALUA CLARiiON configurations
Benjamin Marzinski
bmarzins at redhat.com
Sun Mar 8 03:31:46 UTC 2015
This patch enables ALUA autodetection on EMC CLARiiON devices. EMC has
tested the change.
Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
---
libmultipath/hwtable.c | 2 ++
multipath.conf.defaults | 2 ++
2 files changed, 4 insertions(+)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index bf2c2ca..d51dcb8 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -272,6 +272,8 @@ static struct hwentry default_hw[] = {
.checker_name = EMC_CLARIION,
.prio_name = PRIO_EMC,
.prio_args = NULL,
+ .retain_hwhandler = RETAIN_HWHANDLER_ON,
+ .detect_prio = DETECT_PRIO_ON,
},
{
.vendor = "EMC",
diff --git a/multipath.conf.defaults b/multipath.conf.defaults
index 5f43c57..a12a4f4 100644
--- a/multipath.conf.defaults
+++ b/multipath.conf.defaults
@@ -263,6 +263,8 @@
# failback "immediate"
# rr_weight "uniform"
# no_path_retry 60
+# retain_attached_hw_handler yes
+# detect_prio yes
# }
# device {
# vendor "EMC"
--
1.8.3.1
More information about the dm-devel
mailing list