Blame SOURCES/0105-RHBZ-1180032-find-multipaths-man.patch

4728c8
---
4728c8
 multipath/multipath.conf.5 |   22 ++++++++++++++++++++++
4728c8
 1 file changed, 22 insertions(+)
4728c8
4728c8
Index: multipath-tools-130222/multipath/multipath.conf.5
4728c8
===================================================================
4728c8
--- multipath-tools-130222.orig/multipath/multipath.conf.5
4728c8
+++ multipath-tools-130222/multipath/multipath.conf.5
4728c8
@@ -84,6 +84,28 @@ directory where the dynamic shared objec
4728c8
 dependent, commonly
4728c8
 .I /lib/multipath
4728c8
 .TP
4728c8
+.B find_multipaths
4728c8
+If set to
4728c8
+.I yes
4728c8
+, instead of trying to create a multipath device for every non-blacklisted
4728c8
+path, multipath will only create a device if one of three condidions are
4728c8
+met.
4728c8
+.I 1
4728c8
+There are at least two non-blacklisted paths with the same wwid,
4728c8
+.I 2
4728c8
+the user manually forces the creation, by specifying a device with the multipath
4728c8
+command, or
4728c8
+.I 3
4728c8
+a path has the same WWID as a multipath device that was previously created
4728c8
+while find_multipaths was set (even if that multipath device doesn't currently
4728c8
+exist).
4728c8
+Whenever a multipath device is created with find_multipaths set, multipath will
4728c8
+remeber the WWID of the device, so that it will automatically create the
4728c8
+device again, as soon as it sees a path with that WWID. This should allow most
4728c8
+users to have multipath automatically choose the correct paths to make into
4728c8
+multipath devices, without having to edit the blacklist; Default is
4728c8
+.I no
4728c8
+.TP
4728c8
 .B verbosity
4728c8
 default verbosity. Higher values increase the verbosity level. Valid
4728c8
 levels are between 0 and 6; default is