1
0

Accepting request 726995 from Base:System

added bug ref and shortened changelog (forwarded request 726994 from mwilck)

OBS-URL: https://build.opensuse.org/request/show/726995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=117
This commit is contained in:
Dominique Leuenberger 2019-09-02 11:21:27 +00:00 committed by Git OBS Bridge
commit aec96aeece
7 changed files with 73 additions and 9 deletions

View File

@ -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@+11+suse.%h</param>
<param name="versionformat">@PARENT_TAG@+26+suse.%h</param>
<param name="revision">factory</param>
<param name="match-tag">0.[0-9].[0-9]</param>
<param name="changesgenerate">enable</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/multipath-tools.git</param>
<param name="changesrevision">0f6a649dc0d089e65d573cbe69d84ebe2ea1cb96</param></service></servicedata>
<param name="changesrevision">d8841952d8280690ef07c6352159ed9acd847a60</param></service></servicedata>

View File

@ -0,0 +1,47 @@
From f6dc0d0901ba6e22dae1d0b95b9e4e1ce6b4c386 Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Wed, 21 Aug 2019 16:07:12 +0200
Subject: [PATCH] libmultipath: set "enable_foreign" to NONE by default
This has been requested by NetApp.
---
libmultipath/defaults.h | 4 ++--
multipath/multipath.conf.5 | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h
index eea299c5..3fd4fcbd 100644
--- a/libmultipath/defaults.h
+++ b/libmultipath/defaults.h
@@ -45,8 +45,8 @@
#define DEFAULT_FIND_MULTIPATHS_TIMEOUT -10
#define DEFAULT_UNKNOWN_FIND_MULTIPATHS_TIMEOUT 1
#define DEFAULT_ALL_TG_PT ALL_TG_PT_OFF
-/* Enable all foreign libraries by default */
-#define DEFAULT_ENABLE_FOREIGN ""
+/* Enable no foreign libraries by default */
+#define DEFAULT_ENABLE_FOREIGN "NONE"
#define CHECKINT_UNDEF (~0U)
#define DEFAULT_CHECKINT 5
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
index 2d8399ea..608178b6 100644
--- a/multipath/multipath.conf.5
+++ b/multipath/multipath.conf.5
@@ -1203,10 +1203,11 @@ Enables or disables foreign libraries (see section
.I FOREIGN MULTIPATH SUPPORT
below). The value is a regular expression; foreign libraries are loaded
if their name (e.g. \(dqnvme\(dq) matches the expression. By default,
-all foreign libraries are enabled.
+no foreign libraries are enabled. Set this to \(dqnvme\(dq to enable NVMe native
+multipath support, or \(dq.*\(dq to enable all foreign libraries.
.RS
.TP
-The default is: \fB\(dq\(dq\fR (the empty regular expression)
+The default is: \fB\(dqNONE\(dq\fR
.RE
.
.
--
2.22.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7fb78a5e6b2444270908fd4399d3ec72b20b65bcab8026fb13a5641dbc6e312b
size 362760

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:179683d9e686579ef1e2b75dcb6ae79b343a5454d74a5c6788d089460e12e4db
size 366668

View File

@ -1,10 +1,24 @@
-------------------------------------------------------------------
Thu Aug 29 08:22:13 UTC 2019 - mwilck@suse.com
- Update to version 0.8.2+26+suse.d884195:
- Don't activate NVMe native multipath support by default
* multipath.conf.5: document foreign library support
* multipath.conf: add "enable_foreign" parameter (bsc#1139837)
* Set default for "enable_foreign" to "NONE" (bsc#1139837)
added libmultipath-set-enable_foreign-to-NONE-by-default.patch
- Added reviewed upstream patches (marginal path patch set from Red Hat)
* add "marginal_pathgroups" config option
* deprecate "delay_wait_checks" and "delay_watch_checks"; they are
now automatically mapped to eqivalent "san_path_err_..." settings.
-------------------------------------------------------------------
Tue Jul 16 13:01:13 UTC 2019 - mwilck@suse.com
- Update to version 0.8.2+11+suse.0f6a649:
* kpartx: recognize DASD on loop devices again (bsc#1139775)
* Bump version to 0.8.2 - most changes were already in SUSE tree
* Man page improvements
* Man page improvements (bsc#1148767)
-------------------------------------------------------------------
Tue Jul 02 22:21:14 UTC 2019 - mwilck@suse.com
@ -55,7 +69,7 @@ Tue Apr 30 14:48:40 UTC 2019 - mwilck@suse.com
- multipath -u: test socket connection in non-blocking mode
* Fix priority handling for offline paths
(bsc#1118495)
- Update to upstream 0.8.1
- Update to upstream 0.8.1 (bsc#1148767)
* Avoid device IO in "multipath -u" (bsc#1125145)
* multipathd: protect all access to running_state
(bsc##1110060, bsc#1110439)
@ -159,7 +173,7 @@ Tue Jan 08 23:26:41 UTC 2019 - mwilck@suse.com
(bsc#1121066)
- merged upstream fb824725
* Improved NVMe support in both native and dm-mpath mode
added basic NVMe ANA support (bsc#1119898)
added basic NVMe ANA support (bsc#1119898, bsc#1118495)
* Fix prio output in "multipathd show topology" (bsc#1119897)
* multipathd: fix daemon not really shutdown
(bsc##1110060, bsc#1110439)

View File

@ -49,7 +49,7 @@
%define _sysdir usr/lib
Name: multipath-tools
Version: 0.8.2+11+suse.0f6a649
Version: 0.8.2+26+suse.d884195
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0-only
@ -62,6 +62,7 @@ Source2: dont-del-part-nodes.rules
# Dracut conf file to make sure 11-dm-parts.rules is included in initrd
Source3: dm-parts.conf
Source4: libmpathpersist-example.c
Patch01: libmultipath-set-enable_foreign-to-NONE-by-default.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
BuildRequires: device-mapper-devel
@ -156,7 +157,9 @@ This package provides development files and documentation for libdmmp.
%prep
%setup -q -n multipath-tools-%{version}
# This must be before autopatch for code 12, otherwise build error
cp %{SOURCE4} .
%autopatch -p1
%build
[ -n "$SOURCE_DATE_EPOCH" ] && export KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH