summaryrefslogtreecommitdiffstats
path: root/0026-fix-checker-time.patch
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2013-04-04 16:45:46 -0500
committerBenjamin Marzinski <bmarzins@redhat.com>2013-04-04 16:45:46 -0500
commit0b94e5c7c22f27799d350698962929750d943bd7 (patch)
treefa7095fc0ff113423619526469c9de6bcf33d7e2 /0026-fix-checker-time.patch
parent816bea4c19c24a4ae9063ea2ec1e87f898288b91 (diff)
downloaddevice-mapper-multipath-0b94e5c7c22f27799d350698962929750d943bd7.tar.gz
device-mapper-multipath-0b94e5c7c22f27799d350698962929750d943bd7.tar.xz
device-mapper-multipath-0b94e5c7c22f27799d350698962929750d943bd7.zip
device-mapper-multipath-0.4.9-48
Add 0026-fix-checker-time.patch * Once multipathd hit it max checker interval, it was reverting to to shortest checker interval Add 0027-RH-get-wwid.patch * Multipath wasn't correctly setting the multipath wwid when it read devices in from the kernel Add 0028-RHBZ-929078-refresh-udev-dev.patch * Make multipath try to get the UID of down devices. Also, on ev_add_path, make multipathd reinitialize existing devices that weren't fully initialized before.
Diffstat (limited to '0026-fix-checker-time.patch')
-rw-r--r--0026-fix-checker-time.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/0026-fix-checker-time.patch b/0026-fix-checker-time.patch
new file mode 100644
index 0000000..e05ef58
--- /dev/null
+++ b/0026-fix-checker-time.patch
@@ -0,0 +1,23 @@
+---
+ multipathd/main.c | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+Index: multipath-tools-130222/multipathd/main.c
+===================================================================
+--- multipath-tools-130222.orig/multipathd/main.c
++++ multipath-tools-130222/multipathd/main.c
+@@ -1226,11 +1226,10 @@ check_path (struct vectors * vecs, struc
+ pp->checkint = 2 * pp->checkint;
+ else
+ pp->checkint = conf->max_checkint;
+-
+- pp->tick = pp->checkint;
+- condlog(4, "%s: delay next check %is",
+- pp->dev_t, pp->tick);
+ }
++ pp->tick = pp->checkint;
++ condlog(4, "%s: delay next check %is",
++ pp->dev_t, pp->tick);
+ }
+ }
+ else if (newstate == PATH_DOWN) {