Hello community,
here is the log from the commit of package multipath-tools for openSUSE:Factory
checked in at 2019-09-11 10:25:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/multipath-tools (Old)
and /work/SRC/openSUSE:Factory/.multipath-tools.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "multipath-tools"
Wed Sep 11 10:25:08 2019 rev:118 rq:728314 version:0.8.2+27+suse.3ff280b
Changes:
--------
--- /work/SRC/openSUSE:Factory/multipath-tools/multipath-tools.changes
2019-09-02 13:21:33.297355136 +0200
+++
/work/SRC/openSUSE:Factory/.multipath-tools.new.7948/multipath-tools.changes
2019-09-11 10:25:10.111474359 +0200
@@ -1,0 +2,7 @@
+Wed Sep 04 08:39:34 UTC 2019 - [email protected]
+
+- Update to version 0.8.2+27+suse.3ff280b:
+ * Added upstream patch to fix premature path reinstantiation
+ with san_path_err_XX (boo#1149319)
+
+-------------------------------------------------------------------
Old:
----
multipath-tools-0.8.2+26+suse.d884195.tar.xz
New:
----
multipath-tools-0.8.2+27+suse.3ff280b.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ multipath-tools.spec ++++++
--- /var/tmp/diff_new_pack.Oh6lXv/_old 2019-09-11 10:25:12.067473791 +0200
+++ /var/tmp/diff_new_pack.Oh6lXv/_new 2019-09-11 10:25:12.087473785 +0200
@@ -49,7 +49,7 @@
%define _sysdir usr/lib
Name: multipath-tools
-Version: 0.8.2+26+suse.d884195
+Version: 0.8.2+27+suse.3ff280b
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0-only
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Oh6lXv/_old 2019-09-11 10:25:12.455473678 +0200
+++ /var/tmp/diff_new_pack.Oh6lXv/_new 2019-09-11 10:25:12.475473672 +0200
@@ -8,7 +8,7 @@
are have been added to factory before upstream will be
counted. Determine patch offset manually! It should be the number
of patches which are _really_ not upstream (yet). -->
- <param name="versionformat">@PARENT_TAG@+26+suse.%h</param>
+ <param name="versionformat">@PARENT_TAG@+27+suse.%h</param>
<param name="revision">factory</param>
<param name="match-tag">0.[0-9].[0-9]</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Oh6lXv/_old 2019-09-11 10:25:12.651473621 +0200
+++ /var/tmp/diff_new_pack.Oh6lXv/_new 2019-09-11 10:25:12.679473614 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/multipath-tools.git</param>
- <param
name="changesrevision">d8841952d8280690ef07c6352159ed9acd847a60</param></service></servicedata>
\ No newline at end of file
+ <param
name="changesrevision">3ff280b7fe8d71e0176574d5d36f88afa5a7fe5f</param></service></servicedata>
\ No newline at end of file
++++++ multipath-tools-0.8.2+26+suse.d884195.tar.xz ->
multipath-tools-0.8.2+27+suse.3ff280b.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/multipath-tools-0.8.2+26+suse.d884195/multipathd/main.c
new/multipath-tools-0.8.2+27+suse.3ff280b/multipathd/main.c
--- old/multipath-tools-0.8.2+26+suse.d884195/multipathd/main.c 2019-08-29
10:02:50.000000000 +0200
+++ new/multipath-tools-0.8.2+27+suse.3ff280b/multipathd/main.c 2019-09-04
10:34:55.000000000 +0200
@@ -1896,6 +1896,18 @@
goto reinstate_path;
}
get_monotonic_time(&curr_time);
+
+ /* If path became failed again or continue failed, should reset
+ * path san_path_err_forget_rate and path dis_reinstate_time to
+ * start a new stable check.
+ */
+ if ((pp->state != PATH_UP) && (pp->state != PATH_GHOST) &&
+ (pp->state != PATH_DELAYED)) {
+ pp->san_path_err_forget_rate =
+ pp->mpp->san_path_err_forget_rate;
+ pp->dis_reinstate_time = curr_time.tv_sec;
+ }
+
if ((curr_time.tv_sec - pp->dis_reinstate_time ) >
pp->mpp->san_path_err_recovery_time) {
condlog(2,"%s : reinstate the path after err recovery
time", pp->dev);
goto reinstate_path;
@@ -2066,6 +2078,11 @@
pathinfo(pp, conf, 0);
pthread_cleanup_pop(1);
return 1;
+ } else if ((newstate != PATH_UP && newstate != PATH_GHOST) &&
+ (pp->state == PATH_DELAYED)) {
+ /* If path state become failed again cancel path delay state */
+ pp->state = newstate;
+ return 1;
}
if (!pp->mpp) {
if (!strlen(pp->wwid) &&