1
0

Accepting request 619018 from home:mwilck:branches:Base:System

- Update to version 0.7.7+70+suse.4a5941e:
  * libmultipath: change partition_delimiter default to "-part"
  (bsc#1073622, bsc#1056526)
  * change default for find_multipaths to "greedy" (bsc#1099054)
  * libmultipath: allow distributions to change partition_delim default
  (bsc#1073622, bsc#1056526)

- Update to version 0.7.7+67+suse.a7d1e14:
- RBD/RADOS backend support has been removed upstream
  remove support for it in openSUSE, too (boo#1099037)
- libdmmp version has changed to 0.2.0
- New patches not yet upstream:
  * multipathd: fix mpp->hwe handling on path removal (boo#1099028)
  * libmultipath: print correct default for delay_*_checks (boo#1099026)
  * libmultipath: avoid error messages from RDAC check (bsc#1075539)
  * (lib)mpathpersist: use O_RDONLY file descriptors (bsc#1093220)
  * libmpathpersist: fix byte swapping for big endian systems (bsc#1099036)
  * multipath-tools/tests: add tests for get_unaligned_beXX (bsc#1099036)
  * libmultipath: add (get|put)_unaligned_be64 (bsc#1099036)
  * libmpathpersist: fix stack overflow in mpath_format_readfullstatus()
  (bsc#1099007)
  * multipathd: fix buffer size in cli_getprkey (bsc#1099028)
  * libmultipath: fix gcc 8.1 "truncated output" warnings
  (bsc#1099007)
  * libmpathpersist: fix typo in mpath_format_readfullstatus
  (bsc#1099007)
  * libmpathpersist: remove duplicate test in readfullstatus
  (bsc#1099007)
- SUSE specific patches preserved:
  * multipath.rules: temporary rule to obtain ID_WWN for NVMe (bsc#1076828)

OBS-URL: https://build.opensuse.org/request/show/619018
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=163
This commit is contained in:
Dirk Mueller 2018-07-02 08:57:41 +00:00 committed by Git OBS Bridge
parent 9e8d3d4b8f
commit adf2bbf898
5 changed files with 333 additions and 79 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/multipath-tools.git</param>
<param name="changesrevision">8f0c27b0c8867a4dd0a5c6a9eb67b4966d9ca9f8</param></service><service name="tar_scm">
<param name="changesrevision">4a5941e3763db9ec29b53cdefc92788d4ac08796</param></service><service name="tar_scm">
<param name="url">https://github.com/mwilck/multipath-tools.git</param>
<param name="changesrevision">08a969b7fce0db769b63bdbfead2a452dc417d58</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41a9fa9cbdad27611c732b225d8a418173f476797e2b9d7ec0fbe3165058105a
size 300088

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65dfbb320dd186afcb233e78e8afd99033503eadb3d9afdb96ebcf6266c0d5cc
size 325332

View File

@ -1,3 +1,329 @@
-------------------------------------------------------------------
Mon Jun 25 19:48:59 UTC 2018 - mwilck@suse.com
- Update to version 0.7.7+70+suse.4a5941e:
* libmultipath: change partition_delimiter default to "-part"
(bsc#1073622, bsc#1056526)
* change default for find_multipaths to "greedy" (bsc#1099054)
* libmultipath: allow distributions to change partition_delim default
(bsc#1073622, bsc#1056526)
-------------------------------------------------------------------
Mon Jun 25 16:20:23 UTC 2018 - mwilck@suse.com
- Update to version 0.7.7+67+suse.a7d1e14:
- RBD/RADOS backend support has been removed upstream
remove support for it in openSUSE, too (boo#1099037)
- libdmmp version has changed to 0.2.0
- New patches not yet upstream:
* multipathd: fix mpp->hwe handling on path removal (boo#1099028)
* libmultipath: print correct default for delay_*_checks (boo#1099026)
* libmultipath: avoid error messages from RDAC check (bsc#1075539)
* (lib)mpathpersist: use O_RDONLY file descriptors (bsc#1093220)
* libmpathpersist: fix byte swapping for big endian systems (bsc#1099036)
* multipath-tools/tests: add tests for get_unaligned_beXX (bsc#1099036)
* libmultipath: add (get|put)_unaligned_be64 (bsc#1099036)
* libmpathpersist: fix stack overflow in mpath_format_readfullstatus()
(bsc#1099007)
* multipathd: fix buffer size in cli_getprkey (bsc#1099028)
* libmultipath: fix gcc 8.1 "truncated output" warnings
(bsc#1099007)
* libmpathpersist: fix typo in mpath_format_readfullstatus
(bsc#1099007)
* libmpathpersist: remove duplicate test in readfullstatus
(bsc#1099007)
- SUSE specific patches preserved:
* multipath.rules: temporary rule to obtain ID_WWN for NVMe (bsc#1076828)
* kpartx: create symlinks for dmraid devices (bsc#1064212)
* multipath.conf.5: document no_partitons compat support (fate#323406)
* libmultipath: compat support for 'features "1 no_partitions"' (fate#323406)
* Added fossology assessment as README.licenses (bsc#1088801)
- Dropped patches from previous factory/SLE15 release (0.7.3+69+suse.218a0d0):
* libmultipath: don't [un]set queue_if_no_path after domap
obsoleted by "libmultipath: cleanup features handling code"
* multipath.rules: use -i flag to multipath
obsoleted by path detection patch series
* libmpathpersist: add support for prkeys file v3
obsoleted by "mpathpersist: Fix invalid condition check"
* libmultipath: fix deadlock in tur.c
obsoleted by "libmultipath: fix tur checker locking"
* checkers/rbd: missing pthread_lock() on failure path
obsolete because of RBD removal
* libmultipath/hwtable: don't hard-code ALUA for IBM IPR
obsoleted by "libmultipath: hwhandler auto-detection for ALUA" and
"libmultipath: don't reject maps with undefined prio"
- Update to upstream version 0.7.7-50-g39ad8dc8
This includes the patch series for config file handling (bsc#1067789).
Upstream commit log:
* multipath-tools: fix help for hds prio
* multipath-tools: remove unused SCSI_REV_SIZE
* Fix lintian complaint about bad whatis entry
* fixup "libmultipath: merge hwentries inside a conf file"
* tests/hwtable: add test for broken hwentry filtering
* multipath.conf(5): various corrections and clarifications
* libmultipath: escape '"' chars while dumping config
* libmultipath: implement and use blacklist merging
* libmultipath: merge "multipath" config sections by wwid
* multipath: implement "multipath -T" (bsc#1067789)
* multipathd: implement "show config local" (bsc#1067789)
* libmultipath: allow printing local maps in snprint_config
* tests/hwtable: add test for local configuration dump
* libmultipath: allow dumping only "local" hwtable in snprint_config
* tests/hwtable: implement configuration dump + reload test
* multipath, multipathd: consolidate config dumping
* libmultipath: don't merge by regex in setup_default_blist()
* libmultipath/hwtable: remove inherited props from ONTAP NVMe
* libmultipath: merge hwentries inside a conf file
* libmultipath: don't merge hwentries by regex
* libmultipath: allow more than one hwentry
* libmultipath: use vector for for pp->hwe and mp->hwe
* libmultipath: add debug messages to hwentry lookup/merging code
* tests/hwtable: tests for config file handling and hwentry merging
* tests/test-lib: cmocka helpers to simulate path and map discovery
* tests/Makefile: autogenerate list of symbols to be wrapped
* libmultipath/prio: constify simple getters
* libmultipath: change prototypes of hwe_regmatch() and find_hwe()
* libmultipath: some const usage in hwentry handling
* libmultipath/structs.c: constify some functions
* libmultipath: remove superfluous conditionals in load_config()
* libmultipath: fix memory leak in process_config_dir()
* kpartx: no need to use FREE_CONST
* multipath.conf.5: update the description of marginal_path_err_rate_threshold
* multipath: don't check timestamps without a path
* mpathpersist: fix aptpl support
* mpathpersist: add all_tg_pt option
* libmultipath: remove rbd code
* libmultipath: fix error parsing "find_multipaths strict"
* multipathd: handle errors in uxlsnr as fatal
* libmultipath: don't reject maps with undefined prio
* multipath-tools: configure hitachi ams2000 and hus100 as full active arrays
* multipath-tools: refresh kernel-doc from kernel sources
* multipath-tools: add +x to doc-preclean.pl and split-man.pl
* multipath-tools: fix compilation with musl libc
* multipath-tools: Remove trailing/leading whitespaces and reformat code
* multipath-tools: replace FSF address with a www pointer
* multipath-tools: remove emacs autoconfig of kpartx/gpt.h
* multipath-tools: remove "c" from __cpluscplus, misspelled
* multipath-tools: add RDAC SUN/ArrayStorage to hwtable
* Bump version to 0.7.7
* multipathd: fix reservation_key check
* multipathd: add failures path format wildcard
* multipath.rules: find_multipaths "smart" logic
* libmultipath: enable find_multipaths "smart"
* multipath -u: test if path is busy
* multipath -u: don't grab devices already passed to system
* multipath -u: quick check if path is multipathed
* multipath -u: cleanup logic
* multipath -u : set FIND_MULTIPATHS_WAIT_UNTIL from /dev/shm
* libmultipath: implement find_multipaths_timeout
* multipath -u: add DM_MULTIPATH_DEVICE_PATH=2 for "maybe"
* multipath -u: treat failed wwids as invalid
* multipath -u: change output to environment/key format
* multipath -u: common code path for result message
* libmultipath: indicate wwid failure in dm_addmap_create()
* libmultipath: functions to indicate mapping failure in /dev/shm
* libmultipath: use const char* in open_file()
* libmultipath: change find_multipaths option to multi-value
* libmultipath: trigger path uevent only when necessary
* libmultipath: trigger change uevent on new device creation
* multipath -u -i: respect entries in WWIDs file
* libmultipath: should_multipath: keep existing maps
* Revert "multipathd: imply -n if find_multipaths is set"
* Revert "multipath: ignore -i if find_multipaths is set"
* libmultipath: Fix logic in should_multipath
* multipath-tools: add licence info to README
* multipath-tools: create LICENSES dir with the text of all used licences
* multipath-tools: create LICENSES dir with the text of all used licences
* 11-dm-mpath.rules: dont't run "multipath -U" during coldplug
* libmpathpersist: decrease log level of various messages
* multipathd: decrease log level of waiter thread start/stop msgs
* libmultipath: decrease log level of uevent filter/merge messages
* multipathd: decrease log level of "spurious uevent" message
* libmultipath: don't print undefined values
* mpathcmd: fix libmpathcmd license
* multipathd: remove unneeded function parameter
* multipathd: minor dmevents polling code cleanups
* multipath: add comments
* multipathd: remove incorrect pthread_testcancel
* libmultipath/propsel: (re)use static const vars for origin
* libmultipath: hwhandler auto-detection for ALUA
* multipath-tools: add GPLv2 as COPYING
* multipath-tools: move COPYING to COPYING.LESSER
* multipath: fix rcu thread cancellation hang
* multipathd: register threads that use rcu calls
* libmultipath: Fix recently introduced inconsistencies
* Allow the compiler to verify consistency of declarations and definitions
* multipathd: stop waiter in __setup_multipath
* multipathd: move __setup_multipath to multipathd
* multipathd: fix waiter thread cancelling
* multipath-tools: remove DF arrays from HP
* multipath: add unit tests for dmevents code
* multipathd: add new polling dmevents waiter thread
* libmultipath: add helper functions
* call start_waiter_thread() before setup_multipath()
* move waiter code from libmultipath to multipathd
* libmultipath: move remove_map waiter code to multipathd
* multipathd: use nanosleep for strict timing
* libmultipath: fix log_pthread processing
* multipathd: log thread cleanup
* libmultipath: set dm_conf_verbosity
* libmultipath: fix basenamecpy
* Unit tests for basenamecpy
* multipath-tools: fix errors in auto generated man pages
* Bump version to 0.7.6
* multipath-tools: fix misspellings
* multipath-tools: refresh kernel-doc from kernel sources
* multipath.conf(5): improve syntax documentation
* libmultipath: config parser: fix corner case for double quotes
* libmultipath: config parser: Allow '"' in strings
* libmultipath: config parser: don't strip whitepace between quotes
* tests: add unit tests for config file parser
* libmultipath: uev_update_path: update path properties
* libmultipath: uev_update_path: always warn if WWID changed
* libmultipath: get_uid: don't quit prematurely without udev
* libmultipath: get_uid: check VPD pages for SCSI only
* libmultipath: remove FREE_CONST() again
* libmultipath: fix wrong output of "multipath -t"
* Introduce the ibmultipath/unaligned.h header file
* libmultipath: Fix sgio_get_vpd()
* kpartx: Improve reliability of find_loop_by_file()
* libmultipath, alloc_path_with_pathinfo(): Ensure that pp->wwid is '\0'-terminated
* libmultipath: enable feature disable changed wwid by default
* multipathd: add lock protection for cli_list_status
* multipath-tools: reformat and update comments in hwtable
* multipath-tools: move Nimble and SGI to HPE section
* multipath-tools: build: prevent intermediate file deletion
* multipath: fix clang warning in delegate_to_multipathd
* multipathd: fix -Wpointer-to-int-cast warning in uxlsnr
* libmultipath: fix crash on shutdown if io_err thread isn't running
* multipath-tools: add info about how to get a release directly from gitweb
* Bump version to 0.7.5
* multipathd: start marginal path checker thread lazily
* libmultipath: fix race in stop_io_err_stat_thread
* multipathd: fix signal blocking logic
* multipathd: update path group prio in check_path
* libmultipath: foreign/nvme: implement path display
* multipathd: use foreign API
* multipath: use foreign API
* libmultipath: pathinfo: call into foreign library
* libmultipath/foreign: nvme foreign library
* libmultipath/print: add "%G - foreign" wildcard
* libmultipath: API for foreign multipath handling
* libmultipath: print: use generic API for get_x_layout()
* libmultipath: print: convert API to generic data type
* libmultipath: "generic multipath" interface
* libmultipath: add vector_convert()
* libmultipath: add vector_free_const()
* multipath-tools: Makefile.inc: use -Werror=cast-qual
* libmultipath: fix compiler warnings for -Wcast-qual
* libmultipath: use "const" in devmapper code
* libmultipath/print: use "const" where appropriate
* libmultipath: don't update path groups when printing
* libmultipath: parser: use call-by-value for "snprint" methods
* libmultipath: get rid of selector "hack" in print.c
* libmultipath: remove unused "stdout helpers"
* multipath(d)/Makefile: add explicit dependency on libraries
* multipath-tools: add INSPUR/MCS to hardware table
* multipath: print sysfs state in fast list mode
* multipathd: change spurious uevent msg priority
* Fix set_no_path_retry() regression
* multipathd: remove unused configure parameter
* multipathd: remove coalesce_paths from ev_add_map
* multipath: fix DEF_TIMEOUT use
* libmultipath: fix tur checker locking
* multipath-tools: handle exit signal immediately
* libmultipath: increase path product_id/rev field size for NVMe
* multipath-tools: add dependency tracking to Makefiles
* libmultipath: ignore natively multipathed NVME devices
* multipath.rules: handle NVME devices
* multipathd: ignore uevents for non-mpath devices
* libmultipath: add uevent_is_mpath
* libmultipath: move UUID_PREFIX to devmapper.h
* libmultipath: const qualifier for wwid and alias
* libmultipath: refactor uevent_get_XXX
* tests: cmocka-based unit test for uevent_get_XXX
* assemble_map: no newline at end of params string
* multipathd: release uxsocket and resource when cancel thread
* libmultipath: path latency: remove warnings
* libmultipath: path latency: simplify getprio()
* libmultipath: path latency: log threshold with p2
* libmultipath: path latency: fix default base num
* multipathd.service: set TasksMax=infinity
* test-kpartx: add test for mapping without UUID
* multipathd: fix compiler warning for uev_pathfail_check
* multipathd.service: drop Before=lvm2-lvmetad.service
* multipathd.socket: add WantedBy=sockets.target
* kpartx.rules: fix by-id/scsi-* for user_friendly_names
* multipath -C: decrease log level
* libmultipath: hwtable: no_path_retry="queue" for NetApp NVMe
* libmultipath: hwtable: multibus for NetApp NVMe-FC
* libmultipath: select ALUA prioritizer for RDAC arrays only
* libmultipath: get_vpd_sgio: support VPD 0xc9
* libmultipath: sgio_get_vpd: add page argument
* libmultipath: fix return code of sgio_get_vpd()
* libmultipath: fix return code of sysfs_get_timeout
* libmultipath: condlog: log to stderr
* multipath: delegate dangerous commands to multipathd
* libmultipath: don't try to set hwhandler if it is retained
* libmultipath: don't update path queueing on reload
* multipathd: marginal path code fixes
* multipath: check failed path dmstate in check_path
* multipathd: clean up set_no_path_retry
* multipathd: move recovery mode code to function
* libmultipath: __setup_multipath param cleanup
* multipathd: remove select_* from setup_multipath
* multipathd: fix device creation issues
* multipathd: move helper functions to libmultipath
* libmultipath: cleanup features handling code
* multipath: fix hwhandler check in select_action
* kpartx: don't delete partitions from partitions
* multipath: add "ghost_delay" parameter
* multipath-tools: check null path before handle path-failed event
* multipath-tools: output more topology info for NVMe discovery
* multipath-tools: libdmmp: Add new error DMMP_ERR_PERMISSION_DENY
* multipath-tools: libdmmp: Add new function dmmp_last_error_msg()
* multipath-tools: libdmmp: Allow log function as NULL.
* multipathd daemon: Fix incorrect use of CLOCK_MONOTONIC in pthread
* multipath-tools: refresh kernel-doc from kernel sources
* multipath-tools: add README.alua with instructions to enable ALUA
* multipathd/cli.h: Add a header file guard
* Allow the compiler to verify the consistency of the uxsock_timeout definition and declaration
* Makefile.inc: Allow additional CFLAGS to be specified on the command line
* multipath-tools: replace RDAC maintainer with a generic alias
* Bump version to 0.7.4
* multipath: fix doc typo
* mutipath: updated Huawei storage config
* multipath: there is no "none" path state
* multipath: add man page info for my prkey changes
* mpathpersist: Fix invalid condition check
* limbultipath: prefer RDAC checker with detect_checker
* multipath-tools: libdmmp: Fix build for members of samba domain
* multipath-tools: add AccelStor/NeoSapphire to hardware table
* multipath-tools: add TMS/RamSan to hardware table
* multipath-tools: delete libdmmp.pc in uninstall
* multipath-tools: add XIV/NEXTRA to hardware table
* multipath-tools: add XIOtech/Magnitude to hardware table
* multipathd: fix build without systemd
* libmultipath: ensure checker->fd == -1 if not set
* multipath-tools: calculate standard deviation on a logarithmic scale for prioritizer path_latency
* multipath-tools: use user-friendly prio_args for path-latency
* multipath-tools: move get_next_string to util
* multipath-tools: use direct IO for path latency prioritizer
* multipath-tools: discard san_path_err_XXX feature
* multipath-tools: intermittent IO error accounting to improve reliability
-------------------------------------------------------------------
Thu Apr 12 19:30:09 UTC 2018 - mwilck@suse.com
- Update to version 0.7.3+69+suse.218a0d0:
* multipath -ll: print foreign maps only with "-o" flag
(bsc#1089353)
* Revert "disable nvme foreign library"
-------------------------------------------------------------------
Thu Apr 12 18:46:24 UTC 2018 - mwilck@suse.com

View File

@ -25,53 +25,6 @@
%endif
%endif
# Whether to build with RADOS support
# Default YES on openSUSE factory and leap >= 42.2 and SLES12 >= SP3
# (but only on architectures for which ceph is enabled).
# Default NO on SLES 12 >= SP2
# Always NO on other distros
%if 0%{?suse_version} == 1315
%if 0%{?is_opensuse} == 1
#### Leap 42.x: Support from 42.2 on, for ceph-supported archs
#### (see ExclusiveArch in ceph spec file)
%ifarch x86_64 aarch64 ppc64 ppc64le
%if 0%{?sle_version} >= 120200
%bcond_without rados
%endif # 0%{?sle_version} >= 120200
%endif # arch
%else # 0%{?is_opensuse} == 1
#### SLE12: Support from SP3 on, for ceph-supported archs
#### (see ExclusiveArch in ceph spec file *on IBS*)
%ifarch x86_64 aarch64
%if 0%{?sle_version} >= 120300
%bcond_without rados
%else # 0%{?sle_version} >= 120300
#### SLE12 SP2: rados can be enabled here using --with rados
%if 0%{?sle_version} >= 120200
%bcond_with rados
%endif # 0%{?sle_version} >= 120200
%endif # 0%{?sle_version} >= 120300
%endif # arch
%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, SLE15, and leap
# Default NO on SLES 12
@ -89,7 +42,7 @@
%endif # 0%{?suse_version} == 1315
# This should match the version in libdmmp/Makefile
%define _libdmmp_version 0.1.0
%define _libdmmp_version 0.2.0
%define libdmmp_version %(echo %{_libdmmp_version} | tr . _)
# path prefix for systemd unit files and udev rules
@ -97,7 +50,7 @@
Name: multipath-tools
Url: http://christophe.varoqui.free.fr/
Version: 0.7.3+67+suse.8f0c27b
Version: 0.7.7+70+suse.4a5941e
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0-only AND LGPL-2.0-or-later
@ -113,9 +66,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
BuildRequires: device-mapper-devel
BuildRequires: libaio-devel
%if 0%{?with_rados} == 1
BuildRequires: librados-devel
%endif
%if 0%{?with_libdmmp} == 1
BuildRequires: libjson-c-devel
%endif
@ -169,19 +119,6 @@ Requires: multipath-tools = %{version}
This package contains the development libraries for multipath-tools
and libmpath_persist.
%if 0%{?with_rados} == 1
%package rbd
Summary: RADOS support for multipath-tools
License: LGPL-2.1-only
Group: System/Libraries
Requires: multipath-tools = %{version}
%description rbd
This package contains the path checker for RADOS block devices
(provided by the Ceph distributed storage system) for multipath-tools.
%endif
%if 0%{?with_libdmmp} == 1
%package -n libdmmp%{libdmmp_version}
Summary: C API for multipath-tools
@ -203,7 +140,7 @@ This package provides development files and documentation for libdmmp.
%endif
%define makeflags %{!?with_rados:ENABLE_RADOS=0} %{!?with_libdmmp:ENABLE_LIBDMMP=0}
%define makeflags %{!?with_libdmmp:ENABLE_LIBDMMP=0}
%define dirflags LIB=%{_lib} usr_prefix=%{_prefix} SYSTEMDPATH=%{_sysdir}
%prep
@ -275,9 +212,6 @@ exit 0
/%{_lib}/libmpathcmd.so.0
/%{_lib}/libmpathpersist.so.0
/%{_lib}/multipath
%if 0%{?with_rados} == 1
%exclude /%{_lib}/multipath/libcheckrbd.so
%endif
/sbin/multipath
/sbin/multipathd
/sbin/mpathpersist
@ -325,12 +259,6 @@ exit 0
# The kpartx package contains udev rules that may need to be in initrd.
%{?regenerate_initrd_posttrans}
%if 0%{?with_rados} == 1
%files rbd
%defattr(-,root,root)
/%{_lib}/multipath/libcheckrbd.so
%endif
%if 0%{?with_libdmmp} == 1
%post -n libdmmp%{libdmmp_version}