diff mbox

[15/15] libmultipath: autodetect ALUA CLARiiON configurations

Message ID 1425785506-20419-16-git-send-email-bmarzins@redhat.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Benjamin Marzinski March 8, 2015, 3:31 a.m. UTC
This patch enables ALUA autodetection on EMC CLARiiON devices. EMC has
tested the change.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
 libmultipath/hwtable.c  | 2 ++
 multipath.conf.defaults | 2 ++
 2 files changed, 4 insertions(+)
diff mbox

Patch

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"