forked from pool/multipath-tools
Accepting request 726966 from home:mwilck:branches:Base:System
---------------------------------------------------------------------------------------------- - 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 * multipath: update man pages * multipathd: use marginal_pathgroups * libmutipath: deprecate delay_*_checks * libmultipath: add marginal_pathgroups config option * tests: add tests for grouping marginal paths. * libmultipath: make group_paths handle marginal paths * libmultipath: make pgpolicyfn take a paths vector * libmultipath: consolidate group_by_* functions * libmultipath: fix double free in pgpolicyfn error paths * tests: update pgpolicy tests to work with group_paths() * libmultipath: add wrapper function around pgpolicyfn * tests: add path grouping policy unit tests. * libmultipath: add marginal paths and groups infrastructure added basic NVMe ANA support (bsc#1119898, bsc#1118495) OBS-URL: https://build.opensuse.org/request/show/726966 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=201
This commit is contained in:
parent
4e924d63cc
commit
1549024e87
2
_service
2
_service
@ -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>
|
||||
|
@ -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>
|
47
libmultipath-set-enable_foreign-to-NONE-by-default.patch
Normal file
47
libmultipath-set-enable_foreign-to-NONE-by-default.patch
Normal 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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7fb78a5e6b2444270908fd4399d3ec72b20b65bcab8026fb13a5641dbc6e312b
|
||||
size 362760
|
3
multipath-tools-0.8.2+26+suse.d884195.tar.xz
Normal file
3
multipath-tools-0.8.2+26+suse.d884195.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:179683d9e686579ef1e2b75dcb6ae79b343a5454d74a5c6788d089460e12e4db
|
||||
size 366668
|
@ -1,3 +1,27 @@
|
||||
----------------------------------------------------------------------------------------------
|
||||
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
|
||||
* multipath: update man pages
|
||||
* multipathd: use marginal_pathgroups
|
||||
* libmutipath: deprecate delay_*_checks
|
||||
* libmultipath: add marginal_pathgroups config option
|
||||
* tests: add tests for grouping marginal paths.
|
||||
* libmultipath: make group_paths handle marginal paths
|
||||
* libmultipath: make pgpolicyfn take a paths vector
|
||||
* libmultipath: consolidate group_by_* functions
|
||||
* libmultipath: fix double free in pgpolicyfn error paths
|
||||
* tests: update pgpolicy tests to work with group_paths()
|
||||
* libmultipath: add wrapper function around pgpolicyfn
|
||||
* tests: add path grouping policy unit tests.
|
||||
* libmultipath: add marginal paths and groups infrastructure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 16 13:01:13 UTC 2019 - mwilck@suse.com
|
||||
|
||||
@ -159,7 +183,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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user