summaryrefslogtreecommitdiffstats
path: root/0104-RHBZ-631009-deferred-remove.patch
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2015-08-13 13:57:05 -0500
committerBenjamin Marzinski <bmarzins@redhat.com>2015-08-13 13:57:05 -0500
commit8c4232d3f96d19052b9de4ccb7b86e993843e7c3 (patch)
tree1c0647d73be10698e10597d4f4712e393e9f67c8 /0104-RHBZ-631009-deferred-remove.patch
parentafd3a226c123eb582b02864c92d32ce44cf96c25 (diff)
downloaddevice-mapper-multipath-8c4232d3f96d19052b9de4ccb7b86e993843e7c3.tar.gz
device-mapper-multipath-8c4232d3f96d19052b9de4ccb7b86e993843e7c3.tar.xz
device-mapper-multipath-8c4232d3f96d19052b9de4ccb7b86e993843e7c3.zip
device-mapper-multipath-0.4.9-77
Modify 0104-RHBZ-631009-deferred-remove.patch * add man page info Refresh 0112-RHBZ-1194917-add-config_dir-option.patch Refresh 0114-RHBZ-1196394-delayed-reintegration.patch Add 0118-UPBZ-1200738-update-eternus-config.patch * update default config Add 0119-RHBZ-1081397-save-alua-info.patch * make prioritizers save information between calls to speed them up. Add 0120-RHBZ-1043093-realloc-fix.patch * free old memory if realloc fails. Add 0121-RHBZ-1197234-rules-fix.patch * make sure kpartx runs after an DM_ACTIVATION event occurs. Add 0122-RHBZ-1212590-dont-use-var.patch * use /run instead of /var/run Add 0123-UPBZ-1166072-fix-path-offline.patch * Don't mark quiesce and transport-offline paths as offline Add 0124-RHBZ-1209275-retrigger-uevents.patch * Make multipathd retrigger uevents when paths haven't successfully had their udev_attribute environment variable set by udev and add "retrigger_ties" and "retrigger_delay" to control this Add 0125-RHBZ-1153832-kpartx-delete.patch * Delete all partition devices with -d (not just the ones in the partition table) Add 0126-RHBZ-1211383-alias-collision.patch * make multipathd use the old alias, if rename failed and add "new_bindings_in_boot" to determine if new bindings can be added to the bindings file in the initramfs Add 0127-RHBZ-1201030-use-blk-availability.patch * Make multipath use blk-availability.service Add 0128-RHBZ-1222123-mpathconf-allow.patch * Add mpathconf --allow for creating specialized config files. Add 0129-RHBZ-1241774-sun-partition-numbering.patch * Make kpartx correctly number sun partitions.
Diffstat (limited to '0104-RHBZ-631009-deferred-remove.patch')
-rw-r--r--0104-RHBZ-631009-deferred-remove.patch39
1 files changed, 34 insertions, 5 deletions
diff --git a/0104-RHBZ-631009-deferred-remove.patch b/0104-RHBZ-631009-deferred-remove.patch
index 1e1367a..342b45d 100644
--- a/0104-RHBZ-631009-deferred-remove.patch
+++ b/0104-RHBZ-631009-deferred-remove.patch
@@ -11,9 +11,9 @@
libmultipath/propsel.h | 1
libmultipath/structs.h | 8 ++
libmultipath/structs_vec.c | 3 -
- multipath/multipath.conf.5 | 14 ++++
+ multipath/multipath.conf.5 | 36 ++++++++++++
multipathd/main.c | 23 +++++--
- 14 files changed, 322 insertions(+), 27 deletions(-)
+ 14 files changed, 344 insertions(+), 27 deletions(-)
Index: multipath-tools-130222/libmultipath/config.c
===================================================================
@@ -697,7 +697,36 @@ Index: multipath-tools-130222/multipath/multipath.conf.5
===================================================================
--- multipath-tools-130222.orig/multipath/multipath.conf.5
+++ multipath-tools-130222/multipath/multipath.conf.5
-@@ -420,6 +420,16 @@ only one checker will run at a time. Th
+@@ -84,6 +84,28 @@ directory where the dynamic shared objec
+ dependent, commonly
+ .I /lib/multipath
+ .TP
++.B find_multipaths
++If set to
++.I yes
++, instead of trying to create a multipath device for every non-blacklisted
++path, multipath will only create a device if one of three condidions are
++met.
++.I 1
++There are at least two non-blacklisted paths with the same wwid,
++.I 2
++the user manually forces the creation, by specifying a device with the multipath
++command, or
++.I 3
++a path has the same WWID as a multipath device that was previously created
++while find_multipaths was set (even if that multipath device doesn't currently
++exist).
++Whenever a multipath device is created with find_multipaths set, multipath will
++remeber the WWID of the device, so that it will automatically create the
++device again, as soon as it sees a path with that WWID. This should allow most
++users to have multipath automatically choose the correct paths to make into
++multipath devices, without having to edit the blacklist; Default is
++.I no
++.TP
+ .B verbosity
+ default verbosity. Higher values increase the verbosity level. Valid
+ levels are between 0 and 6; default is
+@@ -420,6 +442,16 @@ only one checker will run at a time. Th
multipathd checkers running in parallel causes significant CPU pressure. The
Default is
.I no
@@ -714,7 +743,7 @@ Index: multipath-tools-130222/multipath/multipath.conf.5
.
.SH "blacklist section"
The
-@@ -521,6 +531,8 @@ section:
+@@ -521,6 +553,8 @@ section:
.B features
.TP
.B reservation_key
@@ -723,7 +752,7 @@ Index: multipath-tools-130222/multipath/multipath.conf.5
.RE
.PD
.LP
-@@ -611,6 +623,8 @@ section:
+@@ -611,6 +645,8 @@ section:
.B retain_attached_hw_handler
.TP
.B detect_prio