Hello community,

here is the log from the commit of package multipath-tools for openSUSE:Factory 
checked in at 2017-11-03 16:32:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/multipath-tools (Old)
 and      /work/SRC/openSUSE:Factory/.multipath-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "multipath-tools"

Fri Nov  3 16:32:43 2017 rev:93 rq:538663 version:0.7.3+13+suse.db431514

Changes:
--------
--- /work/SRC/openSUSE:Factory/multipath-tools/multipath-tools.changes  
2017-10-23 16:39:30.435391639 +0200
+++ /work/SRC/openSUSE:Factory/.multipath-tools.new/multipath-tools.changes     
2017-11-03 16:33:20.269675339 +0100
@@ -1,0 +2,18 @@
+Fri Nov  3 09:57:57 UTC 2017 - [email protected]
+
+- multipath-tools.spec: package *.so symlinks in -devel pkgs
+  (bsc#1066376)
+- multipath-tools.spec: SLE15: add RADOS support for s390x
+  (bsc#1066380)
+- Fix build error for targets SLE_12, SLE_12_SP1
+  (bsc#1066392)
+
+-------------------------------------------------------------------
+Thu Oct 26 17:19:39 UTC 2017 - [email protected]
+
+- Update to version 0.7.3+13+suse.db431514080f:
+  * kpartx: create symlinks for dmraid devices (bsc#1064212)
+  * limbultipath: prefer RDAC checker with detect_checker
+  (bsc#1055949)
+
+-------------------------------------------------------------------

Old:
----
  multipath-tools-0.7.3+11+suse.4de08d96.tar.xz

New:
----
  multipath-tools-0.7.3+13+suse.db431514.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ multipath-tools.spec ++++++
--- /var/tmp/diff_new_pack.T7IprO/_old  2017-11-03 16:33:20.941650880 +0100
+++ /var/tmp/diff_new_pack.T7IprO/_new  2017-11-03 16:33:20.945650735 +0100
@@ -56,16 +56,24 @@
 %endif # 0%{?is_opensuse} == 1
 %else  # 0%{?suse_version} == 1315
 %if 0%{?suse_version} >= 1330
+%if 0%{?is_opensuse} == 1
 #### Factory / Tumbleweed
 #### (see ExclusiveArch in ceph spec file)
 %ifarch x86_64 aarch64 ppc64 ppc64le
 %bcond_without rados
 %endif # arch
+%else  # 0%{?is_opensuse} == 1
+#### SLE15
+#### (see ExclusiveArch in ceph spec file)
+%ifarch x86_64 aarch64 ppc64le s390x
+%bcond_without rados
+%endif # arch
+%endif # 0%{?is_opensuse} == 1
 %endif # 0%{?suse_version} >= 1330
 %endif # 0%{?suse_version} == 1315
 
 # Whether to build libdmmp
-# Default YES on openSUSE factory and leap
+# Default YES on openSUSE factory, SLE15, and leap
 # Default NO on SLES 12
 # Always NO on other distros
 %if 0%{?suse_version} == 1315
@@ -89,7 +97,7 @@
 
 Name:           multipath-tools
 Url:            http://christophe.varoqui.free.fr/
-Version:        0.7.3+11+suse.4de08d96
+Version:        0.7.3+13+suse.db431514
 Release:        0
 Summary:        Tools to Manage Multipathed Devices with the device-mapper
 License:        GPL-2.0
@@ -201,10 +209,7 @@
 %install
 make DESTDIR=%{buildroot} %{dirflags} %{makeflags} install
 mkdir -p %{buildroot}/var/cache/multipath/
-rm %{buildroot}/%_lib/*.so
-%if 0%{?with_libdmmp} == 1
-rm %{buildroot}/%_libdir/*.so
-%endif
+rm %{buildroot}/%_lib/libmultipath.so
 mkdir -p %{buildroot}/usr/sbin
 ln -sf /usr/sbin/service %{buildroot}/usr/sbin/rcmultipathd
 mkdir -p %{buildroot}/usr/lib/modules-load.d
@@ -270,6 +275,8 @@
 
 %files devel
 %defattr(-,root,root)
+/%{_lib}/libmpathcmd.so
+/%{_lib}/libmpathpersist.so
 /usr/include/mpath_cmd.h
 /usr/include/mpath_persist.h
 %{_mandir}/man3/mpath_persistent_*
@@ -282,6 +289,12 @@
 %{_udevrulesdir}/66-kpartx.rules
 %{_udevrulesdir}/68-del-part-nodes.rules
 /%{_sysdir}/udev/kpartx_id
+# SLE12-SP1 and earlier: dracut does not own /usr/lib/dracut/dracut.conf.d
+%if 0%{?sle_version}
+%if 0%{?sle_version} <= 120100
+%dir /%{_sysdir}/dracut/dracut.conf.d
+%endif # 0%{?sle_version} <= 120100
+%endif # 0%{?sle_version}
 /%{_sysdir}/dracut/dracut.conf.d/dm-parts.conf
 %{_mandir}/man8/kpartx.8*
 
@@ -308,6 +321,7 @@
 
 %files -n libdmmp-devel
 %defattr(-,root,root)
+/%{_libdir}/libdmmp.so
 %{_mandir}/man3/libdmmp.h*
 %{_mandir}/man3/dmmp_*
 %{_includedir}/libdmmp

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.T7IprO/_old  2017-11-03 16:33:20.997648842 +0100
+++ /var/tmp/diff_new_pack.T7IprO/_new  2017-11-03 16:33:20.997648842 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/openSUSE/multipath-tools.git</param>
-              <param 
name="changesrevision">4de08d9620fbd927e81c5b6253890f832bc28a6b</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">db431514080f1479dcdf038a27214fd4a989c3d8</param></service></servicedata>
\ No newline at end of file

++++++ multipath-tools-0.7.3+11+suse.4de08d96.tar.xz -> 
multipath-tools-0.7.3+13+suse.db431514.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/multipath-tools-0.7.3+11+suse.4de08d96/kpartx/kpartx.rules 
new/multipath-tools-0.7.3+13+suse.db431514/kpartx/kpartx.rules
--- old/multipath-tools-0.7.3+11+suse.4de08d96/kpartx/kpartx.rules      
2017-10-17 10:52:19.000000000 +0200
+++ new/multipath-tools-0.7.3+13+suse.db431514/kpartx/kpartx.rules      
2017-10-24 22:17:28.000000000 +0200
@@ -28,6 +28,9 @@
 LABEL="mpath_kpartx_end"
 
 ## Code for other subsystems (non-multipath) could be placed here ##
+ENV{DM_UUID}=="DMRAID-*|dmraid-*", \
+       ENV{DM_SUSPENDED}!="1", ENV{DM_NOSCAN}!="1", \
+       GOTO="run_kpartx"
 
 GOTO="kpartx_end"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/multipath-tools-0.7.3+11+suse.4de08d96/libmultipath/propsel.c 
new/multipath-tools-0.7.3+13+suse.db431514/libmultipath/propsel.c
--- old/multipath-tools-0.7.3+11+suse.4de08d96/libmultipath/propsel.c   
2017-10-17 10:52:19.000000000 +0200
+++ new/multipath-tools-0.7.3+13+suse.db431514/libmultipath/propsel.c   
2017-10-24 22:17:28.000000000 +0200
@@ -417,16 +417,42 @@
        return 0;
 }
 
+/*
+ * Current RDAC (NetApp E-Series) firmware relies
+ * on periodic REPORT TARGET PORT GROUPS for
+ * internal load balancing.
+ * Using the sysfs priority checker defeats this purpose.
+ *
+ * Moreover, NetApp would also prefer the RDAC checker over ALUA.
+ * (https://www.redhat.com/archives/dm-devel/2017-September/msg00326.html)
+ */
+static int
+check_rdac(struct path * pp)
+{
+       int len;
+       char buff[44];
+
+       len = get_vpd_sgio(pp->fd, 0xC9, buff, 44);
+       if (len <= 0)
+               return 0;
+       return !(memcmp(buff + 4, "vac1", 4));
+}
+
 int select_checker(struct config *conf, struct path *pp)
 {
        char *origin, *checker_name;
        struct checker * c = &pp->checker;
 
-       if (pp->detect_checker == DETECT_CHECKER_ON && pp->tpgs > 0) {
-               checker_name = TUR;
+       if (pp->detect_checker == DETECT_CHECKER_ON) {
                origin = "(setting: storage device autodetected)";
-               goto out;
-       }
+               if (check_rdac(pp)) {
+                       checker_name = RDAC;
+                       goto out;
+               } else if (pp->tpgs > 0) {
+                       checker_name = TUR;
+                       goto out;
+               }
+       }
        do_set(checker_name, conf->overrides, checker_name, "(setting: 
multipath.conf overrides section)");
        do_set(checker_name, pp->hwe, checker_name, "(setting: storage device 
configuration)");
        do_set(checker_name, conf, checker_name, "(setting: multipath.conf 
defaults/devices section)");
@@ -477,24 +503,6 @@
        return 0;
 }
 
-/*
- * Current RDAC (NetApp E-Series) firmware relies
- * on periodic REPORT TARGET PORT GROUPS for
- * internal load balancing.
- * Using the sysfs priority checker defeats this purpose.
- */
-static int
-check_rdac(struct path * pp)
-{
-       int len;
-       char buff[44];
-
-       len = get_vpd_sgio(pp->fd, 0xC9, buff, 44);
-       if (len <= 0)
-               return 0;
-       return !(memcmp(buff + 4, "vac1", 4));
-}
-
 void
 detect_prio(struct config *conf, struct path * pp)
 {


Reply via email to