Nir Soffer has uploaded a new change for review.

Change subject: multipath-conf: Add (disabled) overrides section
......................................................................

multipath-conf: Add (disabled) overrides section

Upstream multipath is supporting new "overrides" section, allowing
overriding certain options in all built-in devices options. Using this
new section, we can remove the devices entries, and replace them with
2 entries in the overrides section.

The new section is currently disabled until this feature is available on
all supported platforms.

Comments in the generated multipath configuration will help users to use
this option if it is already available on their platform.

For more info see multipath-tools commit 3b40d0d9f39fe (libmultipath:
add overrides section to multipath.conf).

Change-Id: I204db18c33f8cd3ef37fc4e9fa02edc0fd3ec963
Relates-To: https://bugzilla.redhat.com/880738
Signed-off-by: Nir Soffer <[email protected]>
---
M lib/vdsm/tool/configurators/multipath.py
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/89/42189/1

diff --git a/lib/vdsm/tool/configurators/multipath.py 
b/lib/vdsm/tool/configurators/multipath.py
index 93f9f6b..213488a 100644
--- a/lib/vdsm/tool/configurators/multipath.py
+++ b/lib/vdsm/tool/configurators/multipath.py
@@ -49,6 +49,7 @@
 }
 
 devices {
+    # Remove devices entries when overrides section is available.
     device {
         # multipath.conf.default
         vendor                  "HITACHI"
@@ -93,6 +94,16 @@
         no_path_retry           fail
     }
 }
+
+# Enable when this section is available on all supported platforms.
+# Options defined here override device specific options embedded into
+# multipathd.
+#
+# overrides {
+#      features                "0"
+#      no_path_retry           fail
+# }
+
 """ % {"current_tag": _MPATH_CONF_TAG}
 
 _MAX_CONF_COPIES = 5


-- 
To view, visit https://gerrit.ovirt.org/42189
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I204db18c33f8cd3ef37fc4e9fa02edc0fd3ec963
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to