Commit Graph

151 Commits

Author SHA256 Message Date
Martin Wilck
dd73def56c Accepting request 713117 from home:mwilck:branches:Base:System
- Update to version 0.8.1+59+suse.f947184:
  * libmultipath: trigger uevents for partitions, too (bsc#1140146)

- Update to version 0.8.1+58+suse.2af8f92:
  * libmultipath: more cautious blacklisting by missing property
    (don't blacklist paths because of temporarily missing
     udev properties)
  * libmultipath: fix memory leak with "uid_attrs" config option
  * libmultipath: get_uid: straighten the fallback logic
- Fix SCSI VPD 0x80/0x83 parsing 
- Fix compiler warnings introduced by gcc 9:
  * -Wstringop-overflow, -Wstringop-truncation, 
    -Waddress-of-packed-member

   (bsc#1133861)

OBS-URL: https://build.opensuse.org/request/show/713117
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=197
2019-07-02 22:36:31 +00:00
Martin Wilck
4ac31b222a Accepting request 711931 from home:mwilck:branches:Base:System
- Update to version 0.8.1+28+suse.fea562a:
  * mpathpersist: optimize for setups with many LUNs (bsc#1134648)
  * mpathpersist: add option -f/--batch-file (bsc#1134648)
  * libmultipath: get_prio(): really don't reset prio for
    inaccessible paths (bsc#1118495)
- Upstream bug fixes from dm-devel (bsc#1139369):
  * multipath: call store_pathinfo with DI_BLACKLIST
  * multipathd: fix REALLOC_REPLY with max length reply
  * libmultipath: make vector_foreach_slot_backwards work as expected
  * multipathd: fix client response for socket activation
  * various minor fixes (coverity)

  * libmultipath: hwtable: add Lenovo DE series (bsc#1125507)

OBS-URL: https://build.opensuse.org/request/show/711931
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=195
2019-06-25 20:45:53 +00:00
Martin Wilck
d20c5e9589 Accepting request 699727 from home:mwilck:multipath
- Disable kmod() style dependencies again (bsc#1119414)
  * For TW, dependencies will be autogenerated
    (gh#openSUSE/rpm-config-SUSE#3)
  * For SLE, feature is currently rejected (jsc#SLE-3853)
- Update to version 0.8.1+8+suse.8c11498:
  * Avoid deadlock situation during udev settle
  (bsc#1131789, bsc#1125145)
    - multipath -u: test socket connection in non-blocking mode
  * Fix priority handling for offline paths
  (bsc#1118495)
- Update to upstream 0.8.1
  * Avoid device IO in "multipath -u" (bsc#1125145)
  * multipathd: protect all access to running_state
  (bsc##1110060, bsc#1110439)
  * Improve handling of changed WWIDs and temporary failure
  to obtain WWID. Option "disable_changed_wwids" is now ignored.
  * Fixes for PATH_PENDING state handling (bsc#1125043)

OBS-URL: https://build.opensuse.org/request/show/699727
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=193
2019-04-30 15:10:46 +00:00
Martin Wilck
4cc9c05ee5 Accepting request 694606 from home:jengelh:branches:Base:System
- Trim %if..%endif guards that do not affect the build result.
- Combine %service_* calls to reduce generated code.
- Make use of %make_install.

OBS-URL: https://build.opensuse.org/request/show/694606
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=191
2019-04-17 18:57:45 +00:00
Martin Wilck
29ec51c450 Accepting request 690443 from home:mwilck:multipath
- Re-enable kmod-style dependencies for multipath-tools package
  (bsc#1119414)
- Separate out libmpath0 (bsc#1119414)
- Spec file improvements
  * Add Conflicts: for older multipath-tools to libmpath0
  * Move license files to the libmpath0 package, which contains the
    code with complex licensing. The executables are GPL-2.0 anyway.
  * Remove bogus dependency of -devel package on device-mapper
  * -devel package depends on libmpath0, not multipath-tools
  * Remove %dir %{_defaultlicensedir} for SLE12-SP3 and newer
    (John Vandenberg <jayvdb@gmail.com>)
  * Remove unused /var/cache/multipath directory
  * Remove check for multipath maps in %pre and %post
  * Remove SLE11-specific multipathd service stop / start from
    %pre / %post
  * Remove obsolete tools from package description (bsc#1129827)
  * Add -n to %service_del_{pre,post}un for multipathd.socket

- Update to version 0.8.0+17+suse.a28893f:
  * Code-identical to 0.7.9+139+suse.ed9d450, except for new
    version number
- Disable kmod() style dependencies for now, as they are causing
  problems with image builds (bsc#1119414). They'd been active
  for SLE15-SP1 only, anyway.
- _service: determine "tag offset" manually, the patch count
  determined by git is far too high.

- Fix module name in multipath.conf (bsc#1119414)
  * The modules-load.d entry must match the filename exactly

OBS-URL: https://build.opensuse.org/request/show/690443
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=189
2019-04-01 19:21:40 +00:00
Martin Wilck
58fdadf9d3 Accepting request 682516 from home:mwilck:branches:Base:System
- Update to version 0.7.9+139+suse.ed9d450:
  * multipath-tools: Build: properly parse systemd's version

OBS-URL: https://build.opensuse.org/request/show/682516
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=187
2019-03-07 15:20:02 +00:00
Martin Wilck
b006a0b899 Accepting request 681815 from home:mwilck:branches:Base:System
Added bug reference
  (jsc#SLE-3853, fate#326579, bsc#1119414)

OBS-URL: https://build.opensuse.org/request/show/681815
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=186
2019-03-05 15:29:27 +00:00
Martin Wilck
c19476b1fc Accepting request 681812 from home:mwilck:branches:Base:System
more whitespace fixes, sorry

OBS-URL: https://build.opensuse.org/request/show/681812
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=185
2019-03-05 15:21:03 +00:00
Martin Wilck
d438c8b17d Accepting request 681806 from home:mwilck:branches:Base:System
Remove whitespace used for testing

OBS-URL: https://build.opensuse.org/request/show/681806
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=184
2019-03-05 15:13:45 +00:00
Martin Wilck
fea6fc4245 Accepting request 681801 from home:mwilck:branches:Base:System
Add bug reference for coverity:
  * minor fixes suggested by coverity (bsc#1127879)

OBS-URL: https://build.opensuse.org/request/show/681801
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=183
2019-03-05 15:03:01 +00:00
Martin Wilck
94eff79105 Accepting request 681784 from home:mwilck:branches:Base:System
- Add kmod(xyz) style dependencies for SLE15-SP1 
  (jsc#SLE-3853, fate#326579)

- Update to version 0.7.9+138+suse.0edd0a2:
- Include reviewed fixes from upstream
  * libmutipath: continue to use old state on PATH_PENDING
  * libmultipath: disable user_friendly_names for NetApp
  * multipath: blacklist zram devices
  * various fixes for martinal path code
  * minor fixes suggested by coverity
- Bug fixes:
  * multipathd: Fix miscounting active paths (bsc#1125043)
  * multipathd: avoid null pointer dereference in LOG_MSG
  (bsc#1127873)

OBS-URL: https://build.opensuse.org/request/show/681784
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=182
2019-03-05 14:53:39 +00:00
Martin Wilck
f16aaf9fbb Accepting request 664883 from home:mwilck:branches:Base:System
Added Requires(post) on suse-module-tools

OBS-URL: https://build.opensuse.org/request/show/664883
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=180
2019-01-11 21:31:20 +00:00
Martin Wilck
6781f15af4 Accepting request 664873 from home:mwilck:branches:Base:System
- Add BuildRequires on suse-module-tools
  * we need it for regenerate_initrd_posttrans

OBS-URL: https://build.opensuse.org/request/show/664873
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=179
2019-01-11 20:46:11 +00:00
Martin Wilck
782aba0009 Accepting request 664123 from home:mwilck:branches:Base:System
* Fix prio output in "multipathd show topology" (bsc#1119897)

OBS-URL: https://build.opensuse.org/request/show/664123
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=177
2019-01-09 15:46:36 +00:00
Martin Wilck
72888505f9 Accepting request 664112 from home:mwilck:branches:Base:System
- Update to version 0.7.9+111+suse.b4232b7:
- merged upstream cb4a979a (SUSE bug fixes merged upstream,
  code-identical to previous release).

OBS-URL: https://build.opensuse.org/request/show/664112
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=176
2019-01-09 14:59:42 +00:00
Martin Wilck
a55d5b5d12 Accepting request 663862 from home:mwilck:branches:Base:System
* multipathd: avoid crash in cli_list_path (bsc#1121134)

OBS-URL: https://build.opensuse.org/request/show/663862
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=175
2019-01-08 23:34:48 +00:00
Martin Wilck
0201822eea Accepting request 663860 from home:mwilck:branches:Base:System
- Update to version 0.7.9+109+suse.203c1cf:
  * multipathd: avoid crash in cli_list_path

OBS-URL: https://build.opensuse.org/request/show/663860
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=174
2019-01-08 23:30:26 +00:00
Martin Wilck
54f10a885b Accepting request 663641 from home:mwilck:branches:Base:System
- Update to version 0.7.9+108+suse.3fd53bf:
  * libmultipath: fix compilation with older kernel headers
  (bsc#1121066)
- merged upstream fb824725
  * Improved NVMe support in both native and dm-mpath mode
  added basic NVMe ANA support (bsc#1119898)
  * multipathd: fix daemon not really shutdown
  (bsc##1110060, bsc#1110439)

- Update to version 0.7.9+90+suse.f81e290:
  * libmultipath: Increase SERIAL_SIZE to 128 bytes
  (bsc#1107179)

- Update to version 0.7.9+89+suse.df77b66:
- re-enable "san_path_err_xy" options
  These have been removed upstream, but they were supported
  in SLE-15/Leap15.0, so we can't simply throw them away.
  Improve documentation, mark them as deprecated, but keep
  the code in place.

OBS-URL: https://build.opensuse.org/request/show/663641
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=173
2019-01-08 21:47:57 +00:00
Martin Wilck
c2417bcb9b Accepting request 657596 from home:mwilck:branches:Base:System
Changelog: remove over-detailed git logs, add some more refs


old: Base:System/multipath-tools
new: home:mwilck:branches:Base:System/multipath-tools rev None
Index: multipath-tools.changes
===================================================================
--- multipath-tools.changes (revision 170)
+++ multipath-tools.changes (revision 12)
@@ -32,7 +32,7 @@
   (bsc#1114771)
   * multipathd: fix irritating "minor number mismatch" message
   (bsc#1111116)
-  * fix posible failure to shut down (bsc#1110060, bsc#1110439)
+  * fix possible failure to shut down (bsc#1110060, bsc#1110439)
   * upstream "checker overhaul" - cleanups and improvements for
   path checkers
   * Upstream fixes for failures handling path initializiation
@@ -42,26 +42,23 @@
 Wed Oct 03 11:49:47 UTC 2018 - mwilck@suse.com
 
 - Update to version 0.7.7+136+suse.19bb285:
-  Not-yet-merged bug fixes from upstream, and SUSE bug fixes:
+  Bug fixes from upstream, and SUSE bug fixes
   * multipathd: try SCSI persistent reservations for SCSI only
+  (bsc#1108875)
   * libmultipath: allow sysfs_pathinfo to return SKIPPED (bsc#1098458)
   * libmultipath: Fixup updating paths (bsc#1110418)
   * multipathd: fix memory leak on error in configure (bsc#1110418)
-  * multipathd: remove useless check and fix format
   * multipathd: minor fixes (bsc#1110418)
   * multipathd: function return value tweaks (bsc#1110418)
   * multipath: fix max array size in print_cmd_valid (bsc#1110418)
   * libmutipath: don't use malformed uevents (bsc#1110418)
   * libmultipath: fix null dereference int alloc_path_group (bsc#1110418)
   * libmultipath: fix memory issue in path_latency prio (bsc#1110418)
-  * libmultipath: remove unused code
-  * libmultipath: _install_keyword cleanup
   * libmultipath: fix length issues in get_vpd_sgio (bsc#1110418)
-  * libmultipath: fix set_int error path
   * multipathd: decrease log level of uevent messages (bsc#1110586)
   * multipathd: fix version check for DM_DEV_ARM_POLL ioctl (bsc#1110587)
   * libmultipath: pathinfo: skip hidden devices (bsc#1110586)
-  * libmultipath: nvme: shorter topology output
+  * libmultipath: nvme: shorter topology output (bsc#1082419)
   * libmultipath: nvme: fix path detection for kernel 4.16 (bsc#1091112)
   * libmultipath: fix gcc 8.1 "truncated output" warnings (bsc#1099007)
   * (lib)mpathpersist: use O_RDONLY file descriptors (bsc#1093220)
@@ -73,25 +70,11 @@
   * libmpathpersist: fix typo in mpath_format_readfullstatus (bsc#1099007)
   * libmpathpersist: remove duplicate test in readfullstatus (bsc#1099007)
 
-- Update to upstream 1a8625abd:
-  * kpartx: remove duplicated gpt validation check
-  * kpartx: fix bad dm_devn return
-  * kpartx: Fix memory leak of uuid found by coverity
-  * kpartx: minor fixes to make coverity happy
-  * mpathpersist: add missing --param-rk usage info
-  * multipath tests: add blacklist tests
-  * multipath tests: change to work with old make versions
-  * libmultipath: remove _filter_* blacklist functions
-  * libmultipath: add "protocol" blacklist option.
-  * multipathd: add new protocol path wildcard
-  * libmutipath: remove unused IDE bus type
+- Update to upstream 1a8625abd (0.7.7+82)
+  * minor fixes for kpartx, found by coverity
   * mpathpersist: add --param-alltgpt option
-  * multipath: fix setting conf->version
-  * libmultipath: fix detect alua corner case
-  * libmultipath: remove last of rbd code
-  * multipath-tools: check for C compiler option -Werror=discarded-qualifiers
-  * multipath-tools: fix compilation with gcc < 4.9 on dash shell
-  * kpartx: compare image filenames with backing files
+  * libmultipath: add "protocol" blacklist option.
+  * multipathd: add new wildcard "%P" for "protocol"
   * multipath-tools: fix products names in hwtable
   * libmultipath: more debug output in alua prioritizer (bsc#1080965)
   * libmultipath: alua: retry RTPG for NOT_READY and UNIT_ATTENTION
@@ -132,13 +115,15 @@
 - 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)
+  remove support for it in SUSE, too (boo#1099037, FATE#826853)
   * added Obsoletes: for multipath-tools-rbd.
 - libdmmp version has changed to 0.2.0
 
 - New patches not yet upstream:
+  (Wed Jun 12 2018: these are now upstream, since 0.7.8)
   * multipathd: fix mpp->hwe handling on path removal (boo#1099028)
-  * libmultipath: print correct default for delay_*_checks (boo#1099026)
+  * libmultipath: print correct default for delay_*_checks
+  (boo#1099026, bsc#1110418)
   * libmultipath: avoid error messages from RDAC check
   (bsc#1108728, bsc#1075539)
   * (lib)mpathpersist: use O_RDONLY file descriptors (bsc#1093220)
@@ -176,268 +161,113 @@
   * 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"
+  (bsc#1085212, bsc#1075129)
 
-- 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
+- Update to upstream version 0.7.7+50 (39ad8dc8)
+- rework of "find_multipaths" logic
+   * find_multipaths can now be "strict", "yes", "no", "greedy", or "smart"
+   * SUSE default is "greedy" for now, consistent with previous behavior
+   * "multipath -u -i" not necessary in udev rules any more
+   (removed SUSE patch "multipath.rules: use -i flag to multipath")
+- patch series for config file handling (bsc#1067789):
+  * fix inconsistent handling of multiple config file entries
+    matching the same device (bsc#1067789)
   * 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: merge "multipath" config sections by wwid
+  * multipathd: add path format wildcard "%0" for failures
+  * libmultipath: config parser: Allow '"' in strings
+- multipath-tools: foreign/NVME implementation (bsc#1082419) for
+  native NVME multipath configurations
+
+
+- Other new upstream features:
+  * mpathpersist: add all_tg_pt option
+  * add polling dmevent handler (only one thread waiting for device-mapper
+  events rather than one per map).
+  * multipath: add "ghost_delay" parameter
+  * "marginal path" path state checking for better handling of
+    unstable "shaky" connections in a SAN.
+    conf options "marginal_path_err_rate_threshold" etc, see man page.
+    This replaces the previous "san_path_err_threshold" functionality.
+
+- Upstream bug fixes:
+  * Man page corrections and improvements for multipath.conf(5)
   * libmultipath: fix memory leak in process_config_dir() (bsc#1110352) 
-  * 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: handle errors in uxlsnr as fatal (bsc#1086025)
+  * libmultipath: don't reject maps with undefined prio (bsc#1085212,
+  bsc#1075129)
   * multipathd: fix reservation_key check (bsc#1099008)
-  * 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
+  (bsc#1084748)
   * libmultipath: hwhandler auto-detection for ALUA
-  * multipath-tools: add GPLv2 as COPYING
-  * multipath-tools: move COPYING to COPYING.LESSER
+  (bsc#1085212, bsc#1075129)
   * multipath: fix rcu thread cancellation hang (bsc#1110418)
   * multipathd: register threads that use rcu calls (bsc#1110418)
-  * 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
+  * multipathd: use nanosleep for strict timing (avoids possible
+  races with SIGALRM)
+  * logging fixes:
+    * libmultipath: fix log_pthread processing
+    * libmultipath: set dm_conf_verbosity
+    * libmultipath: fix basenamecpy
   * 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
+  (bsc#1108728)
   * libmultipath: get_uid: check VPD pages for SCSI only (bsc#1108728)
-  * libmultipath: remove FREE_CONST() again
   * libmultipath: fix wrong output of "multipath -t"
-  * Introduce the ibmultipath/unaligned.h header file
+  * Introduce the libmultipath/unaligned.h header file
   (bsc#1099036)
   * libmultipath: Fix sgio_get_vpd() (bsc#1099484)
   * 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
+  * bug fixes for "marginal path checker"
+  * multipathd: fix signal blocking logic (bsc#1110060, bsc#1110439, 
+  bsc#1086025)
   * multipath-tools: add INSPUR/MCS to hardware table
+  * multipath-tools: add RDAC SUN/ArrayStorage to hwtable
+  * multipath-tools: remove DF arrays from HP
   * multipath: print sysfs state in fast list mode (bsc#1110354) 
-  * 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
+  * multipath-tools: handle exit signal immediately (bsc#1086025)
   * multipathd: release uxsocket and resource when cancel thread
   (bsc#1110355)
-  * 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
+  * path latency prioritizer fixes
+  * multipathd.service: set TasksMax=infinity (bsc#1060616)
   * multipathd.service: drop Before=lvm2-lvmetad.service
+  (bsc#1070427)
   * 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
+  (bsc#1075539, bsc#1081241)
+  * libmultipath: get_vpd_sgio: support VPD 0xc9  (bsc#1055949)
+  * libmultipath: condlog: log to stderr (bsc#1055949)
+  * multipath: delegate dangerous commands to multipathdd (bsc#1047639)
   * libmultipath: don't try to set hwhandler if it is retained
+  (bsc#1047639)
   * 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
@@ -469,7 +299,7 @@
   * added /usr/share/licenses 
 
 -------------------------------------------------------------------
-Tue Apr 10 08:04:40 UTC 2018 - mwilck@suse.com
+Tue Apr 10 08:04:40 UTC 2018 - mwilck@suse.com<
 
 - No functional changes, just licenses
 - Spec file: fix %license tags and info after closer inspection
@@ -992,7 +822,7 @@
 -------------------------------------------------------------------
 Fri Mar 10 11:23:40 UTC 2017 - mwilck@suse.com
 
-- Spec file: Added dependency on sg3_utils (#boo1028857)
+- Spec file: Added dependency on sg3_utils (boo#1028857)
 
 -------------------------------------------------------------------
 Wed Mar 01 15:43:09 UTC 2017 - mwilck@suse.com

OBS-URL: https://build.opensuse.org/request/show/657596
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=171
2018-12-17 09:27:13 +00:00
Martin Wilck
ab8f565443 Accepting request 657556 from home:mwilck:branches:Base:System
- Update to version 0.7.9+85+suse.766b95e:
  * upstream patch series to make verbosity level 3
    less verbose and thus better usable (bsc#1118937)
  * fix for handling device size mismatch in coalesce_paths()
  (bsc#1037379)
  * libmultipath: fix false removes in dmevents polling code
  (bsc#1116272)
  * Spec file: remove build dependency on dracut which causes
    build errors for some distributions

OBS-URL: https://build.opensuse.org/request/show/657556
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=170
2018-12-12 13:23:16 +00:00
3d351443b9 Accepting request 652111 from home:mwilck:branches:Base:System
- Update to version 0.7.9+58+suse.0790830:
  * libmpathpersist: fix off-by-one error in PRIN length check
  (bsc#1099007)
  * multipathd: fix mpp->hwe handling when paths are freed
  (fix possible crash caused by new hardware table code)

- Update to version 0.7.9+55+suse.9fc8439:
  (note the "55" is due to former merge operations. We actually
  only have 7 patches on top of upstream. All other patches
  referenced below as "not upstream" have been merged).
  * Bump version to 0.7.9
  * multipathd: reset delay_wait_checks counter on failure
  (bsc#1114771)
  * multipathd: fix irritating "minor number mismatch" message
  (bsc#1111116)
  * fix posible failure to shut down (bsc#1110060, bsc#1110439)
  * upstream "checker overhaul" - cleanups and improvements for
  path checkers
  * Upstream fixes for failures handling path initializiation
  * various small upstream bug fixes.

OBS-URL: https://build.opensuse.org/request/show/652111
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=168
2018-12-06 14:00:02 +00:00
Martin Wilck
04beb2b221 Accepting request 639755 from home:mwilck:branches:Base:System
- Update to version 0.7.7+136+suse.19bb285:
  Not-yet-merged bug fixes from upstream, and SUSE bug fixes:
  * multipathd: try SCSI persistent reservations for SCSI only
  * libmultipath: allow sysfs_pathinfo to return SKIPPED (bsc#1098458)
  * libmultipath: Fixup updating paths (bsc#1110418)
  * multipathd: fix memory leak on error in configure (bsc#1110418)
  * multipathd: remove useless check and fix format
  * multipathd: minor fixes (bsc#1110418)
  * multipathd: function return value tweaks (bsc#1110418)
  * multipath: fix max array size in print_cmd_valid (bsc#1110418)
  * libmutipath: don't use malformed uevents (bsc#1110418)
  * libmultipath: fix null dereference int alloc_path_group (bsc#1110418)
  * libmultipath: fix memory issue in path_latency prio (bsc#1110418)
  * libmultipath: remove unused code
  * libmultipath: _install_keyword cleanup
  * libmultipath: fix length issues in get_vpd_sgio (bsc#1110418)
  * libmultipath: fix set_int error path
  * multipathd: decrease log level of uevent messages (bsc#1110586)
  * multipathd: fix version check for DM_DEV_ARM_POLL ioctl (bsc#1110587)
  * libmultipath: pathinfo: skip hidden devices (bsc#1110586)
  * libmultipath: nvme: shorter topology output
  * libmultipath: nvme: fix path detection for kernel 4.16 (bsc#1091112)
  * libmultipath: fix gcc 8.1 "truncated output" warnings (bsc#1099007)
  * (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)
  * libmpathpersist: fix typo in mpath_format_readfullstatus (bsc#1099007)

OBS-URL: https://build.opensuse.org/request/show/639755
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=166
2018-10-03 13:02:51 +00:00
Martin Wilck
ec2ecf876d Accepting request 621304 from home:mwilck:branches:Base:System
This fixes the problem with the previous submission
(missing Obsoletes: tag)

- Update to version 0.7.7+75+suse.6287aef:
  Added minor updates from upstream
  * multipath-tools: add info about how to enable ALUA in ONTAP
  * multipath-tools: add directio path_checker for DASD devices
  * multipath-tools: make Product Name mandatory and add all of them
  Minor rebase, as some SUSE patches have been merged upstream
  (all mentioned in previous changelogs)

- Update to version 0.7.7+72+suse.4b24466:
 * multipath: fix return code handling in delegate_to_multipathd
  (bsc#1098177)
  * multipath: don't start multipathd unnecessarily
  (bsc#1098177)

  * added Obsoletes: for multipath-tools-rbd.
  * libmultipath: Fix sgio_get_vpd() (bsc#1099484)

OBS-URL: https://build.opensuse.org/request/show/621304
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=164
2018-07-17 09:32:40 +00:00
adf2bbf898 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
2018-07-02 08:57:41 +00:00
Hannes Reinecke
9e8d3d4b8f Accepting request 596032 from home:mwilck:branches:Base:System
- Update to version 0.7.3+67+suse.8f0c27b:
  * disable nvme foreign library (bsc#1089353)

OBS-URL: https://build.opensuse.org/request/show/596032
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=161
2018-04-13 12:39:47 +00:00
Martin Wilck
ff2d0b01c4 Accepting request 595374 from home:mwilck:branches:Base:System
- No functional changes
- Fixed rpmlint warnings (bsc#1088946)
  * multipath-tools-devel: moved .so files to /usr/lib[64]
  * added version dependencies for -devel packages

- No functional changes
  * fixed SPDX syntax (and -> AND)
  * added /usr/share/licenses

OBS-URL: https://build.opensuse.org/request/show/595374
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=160
2018-04-10 21:55:43 +00:00
Martin Wilck
7295842450 Accepting request 595137 from home:mwilck:branches:Base:System
- No functional changes, just licenses
- Spec file: fix %license tags and info after closer inspection
  (bsc#1088801)
  * kpartx is under GPL-2.0-only
  * rbd is under LGPL-2.1-only  
- Update to version 0.7.3+66+suse.dc5fe2d: Fix licensing info (bsc#1088801)
  * Added fossology assessment as README.licenses
  * multipath-tools: create LICENSES dir with the text of all used licences

- Update to version 0.7.3+61+suse.d4d0494:
  * 11-dm-mpath.rules: dont't run "multipath -U" during coldplug
 (bsc#1084748)

OBS-URL: https://build.opensuse.org/request/show/595137
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=159
2018-04-10 08:32:36 +00:00
Martin Wilck
6cc6152ab8 Accepting request 593747 from home:mwilck:branches:Base:System
Pushing per bsc#1085212, comment 152.

- Fixed license tags in spec file
  * multipath tools / libmultipath is GPL-2.0-only
  * libmpathcmd is LGPL-2.0-or-later
  * kpartx is GPL-2.0-or-later
  * libdmmp is GPL-3.0-or-later
  * adopt SPDX format.

- Update to version 0.7.3+60+suse.46ac839:
  * libmultipath/hwtable: don't hard-code ALUA for IBM IPR
  (bsc#1085212, bsc#1075129)

OBS-URL: https://build.opensuse.org/request/show/593747
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=157
2018-04-05 10:06:45 +00:00
Martin Wilck
00c5772d7a Accepting request 589742 from home:mwilck:branches:Base:System
- Update to version 0.7.3+59+suse.1b6191c26774:
  * libmultipath: don't reject maps with undefined prio (bsc#1085212,
  bsc#1075129)
  * multipathd: handle errors in uxlsnr as fatal (bsc#1086025)

- Update to version 0.7.3+57+suse.bb6be4c8b4ca:
  * multipathd: fix signal blocking logic (bsc#1086025)
  * multipath-tools: handle exit signal immediately (bsc#1086025)
  * multipath: fix DEF_TIMEOUT use (bsc#1086014)
  * multipath-tools: foreign/NVME implementation v2 (upstream accepted)
    (bsc#1082419)

OBS-URL: https://build.opensuse.org/request/show/589742
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=155
2018-03-21 12:35:07 +00:00
b8708d373c Accepting request 580294 from home:mwilck:branches:Base:System
- Update to version 0.7.3+53+suse.140f4937e9e7:
  * libmultipath: fix wrong output of "multipath -t" (bsc#1082835)

OBS-URL: https://build.opensuse.org/request/show/580294
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=153
2018-02-27 22:06:47 +00:00
Martin Wilck
388434ee95 Accepting request 579490 from home:mwilck:branches:Base:System
- Update to version 0.7.3+52+suse.08a969b7fce0:
- Add limited support for displaying native NVMe multipath
  (bsc#1082419)
  * libmultipath: foreign/nvme: implement path display
  * multipathd: use foreign API
  * multipath: use foreign API
  * 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()
  * libmultipath: get rid of selector "hack" in print.c
- Fix locking errors detected by coverity check (bsc#1082418)
  * checkers/rbd: missing pthread_lock() on failure path
  * libmultipath: fix deadlock in tur.c

  (bsc#1075539, bsc#1081241)

OBS-URL: https://build.opensuse.org/request/show/579490
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=151
2018-02-23 11:48:44 +00:00
Martin Wilck
81bbe58883 Accepting request 575599 from home:mwilck:branches:Base:System
- Fix whitespace in dracut conf file (bsc#1080562)

OBS-URL: https://build.opensuse.org/request/show/575599
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=149
2018-02-12 10:58:45 +00:00
Martin Wilck
029ab04537 Accepting request 571224 from home:mwilck:branches:Base:System
- Update to version 0.7.3+38+suse.a16beed5280a:
  * kpartx: don't delete partitions from partitions (bsc#1078362)
  * hwtable: add latest updates (bsc#1078363)
  * multipathd.service: set TasksMax=infinity (bsc#1060616)

OBS-URL: https://build.opensuse.org/request/show/571224
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=147
2018-01-30 20:22:47 +00:00
Martin Wilck
e172db0d75 Accepting request 569881 from home:mwilck:branches:Base:System
- Update to version 0.7.3+31+suse.6804bb73f72d:
  * libmultipath: hwtable: no_path_retry="queue" for NetApp NVMe
  (bsc#1073319)

OBS-URL: https://build.opensuse.org/request/show/569881
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=145
2018-01-26 14:13:48 +00:00
Martin Wilck
788510872c Accepting request 567775 from home:mwilck:branches:Base:System
- Update to version 0.7.3+30+suse.6b5ed839:
  * multipath.rules: temporary rule to obtain ID_WWN for NVMe
  (bsc#1076828)
  * libmultipath: ignore natively multipathed NVME devices
  (bsc#1076828)
  * multipath.rules: handle NVME devices (bsc#1076828)
  * FIX "libmultipath: hwtable: multibus for NetApp NVMe-FC"
  (bsc#1073319)
  * libmultipath: increase path product_id/rev field size for NVMe
  (bsc#1073319)

- Update to version 0.7.3+25+suse.7c9920e2:
  * assemble_map: no newline at end of params string (bsc#1072253)

- Update to version 0.7.3+24+suse.703a61d5:
  * multipathd.service: drop Before=lvm2-lvmetad.service (bsc#1070427)
  * libmultipath: hwtable: multibus for NetApp NVMe-FC
  (bsc#1073319)
  * libmultipath/propsel: select ALUA prioritizer for RDAC arrays only
  (bsc#1075539)
  * libmultipath: get_vpd_sgio: support VPD 0xc9 (bsc#1055949)
  * libmultipath: sgio_get_vpd: add page argument (bsc#1055949)
  * libmultipath: fix return code of sgio_get_vpd() (bsc#1055949)

- Update to version 0.7.3+19+suse.0fd18bdd:
  * multipathd.socket: add WantedBy=sockets.target (bsc#1072253)

- Update to version 0.7.3+18+suse.8c97f433:
  * multipath -C: decrease log level (bsc#1072504)

OBS-URL: https://build.opensuse.org/request/show/567775
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=143
2018-01-19 18:21:03 +00:00
Martin Wilck
b3b5938ba0 Accepting request 539327 from home:mwilck:branches:Base:System
- added sample code for libmpathpersist (bsc#1066376)
  * added libmpathpersist-example.c
- multipath-tools.spec: package libmultipath.so symlink in -devel
  package (bsc#1066376). We *do not* package header files for
  libmultipath, as the APIs are not public.

OBS-URL: https://build.opensuse.org/request/show/539327
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=141
2017-11-06 15:16:39 +00:00
Martin Wilck
e5ee676d28 Accepting request 538656 from home:mwilck:branches:Base:System
- 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)

OBS-URL: https://build.opensuse.org/request/show/538656
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=139
2017-11-03 11:46:13 +00:00
Martin Wilck
2c02accbda Accepting request 536987 from home:mwilck:branches:Base:System
- 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)

OBS-URL: https://build.opensuse.org/request/show/536987
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=138
2017-10-26 21:24:34 +00:00
ea7797ce06 Accepting request 534360 from home:hreinecke:branches:Base:System
- Update to version 0.7.3+11+suse.4de08d96:
  * libmultipath: condlog: log to stderr (bsc#1063059)

OBS-URL: https://build.opensuse.org/request/show/534360
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=136
2017-10-17 10:09:31 +00:00
Martin Wilck
aed2b6856f Accepting request 528058 from home:mwilck:branches:Base:System
- Update to version 0.7.3+10+suse.70ccb55b0439:
- Rebase to upstream release 0.7.3
  * libmultipath: add pthread_cleanup hook for udev monitor
  * libmultipath: pull functions into util.c
  * libmultipath: change reservation_key to a be64
  * libmpathpersist: fix update_prflag code
  * multipath: add alternate reservation_key method
  * mpathpersist: add support for prkeys file
  * multipath-tools: minor edition and corrections in multipath.conf.5
  * multipath-tools: fix incorrect length for strncmp in uevent.c
  * multipath-tools: clarify how to dump the multipathd config
  * multipath-tools: replace "setting: array" with "setting: storage device" at multipath output
  * libmultipath: sanitize fd handling
  * multipath-tools: link internal libraries before foreigns
  * multipath-tools: remove Sun StorEdge T4(6020,6120,6320) arrays from hwtable
  * multipath-tools: add support for all arrays from Sun StorEdge 3000 family
  * multipath-tools: add Xiotech iglu blaze arrays to hwtable
  * multipath-tools: add Dot Hill/Seagate arrays to hwtable
  * libmultipath: update INFINIDAT builtin config
  * multipath-tools: add info about adding new hardware
  * multipath-tools: Remove the limitation of IPC command reply length.
  * multipath-tools: libdmmp: Improve timeout mechanism
  * multipath-tools: libdmmp: New function to flush and reconfig
  * Bump version to 0.7.3
- minor fixes for upstream 0.7.3
  * libmultipath: ensure checker->fd == -1 if not set
  * libmpathpersist: add support for prkeys file v3
  * multipath: add man page info for my prkey changes
- Patch series for NVMe discovery and failover (bsc#1038865)
  * discovery: sanitize NVMe discovery

OBS-URL: https://build.opensuse.org/request/show/528058
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=134
2017-09-21 12:58:04 +00:00
Martin Wilck
481077a482 Accepting request 520380 from home:mwilck:branches:Base:System
- Update to version 0.7.2+44.3a8d750c:
  Misc bug fixes:
  * multipathd: don't flood system with sd_notify calls (bsc#1056011)
  * libmultipath: add_feature: skip pointless NULL check (bsc#1055635)
  * libmultipath: add_feature: allow only 1 feature (bsc#1055635)
  * multipath: delegate dangerous commands to multipathd (bsc#1047639)
  * libmultipath: fix partition_delimiter config option (bsc#1056526)
  * kpartx: helper functions for name and uuid generation (bsc#1056508)
  * kpartx: search partitions by UUID, and rename (bsc#1056508)
  * kpartx: fix a corner case when renaming partitions (bsc#1056508)
  * kpartx: -d must work with empty partition table (boo#1056599)
  * kpartx: only recognize dasd part table on DASD (boo#1056599) 
  Rework of the udev rules related to multipath and kpartx (bsc#1054363):
  * libmultipath: support MPATH_UDEV_NO_PATHS_FLAG on map creation
  * libmultipath: add get_udev_device
  * libmultipath: get_refwwid: use get_udev_device
  * libmultipath: use const char* in some dm helpers
  * libmultipath: add DI_NOIO flag for pathinfo
  * libmultipath: add dm_get_multipath
  * multipath: implement "check usable paths" (-C/-U)
  * 11-dm-mpath.rules: multipath -U for READY check
  * 11-dm-mpath.rules: import more ID_FS_xxx vars from db
  * 11-dm-mpath.rules: no need to test before IMPORT
  * 11-dm-mpath.rules: handle new maps with READY==0
  * 11-dm-mpath.rules: don't set READY->ACTIVATION
  * 11-dm-mpath.rules: Remember DM_ACTIVATION
  * multipath.rules: set ID_FS_TYPE to "mpath_member"
  * kpartx.rules: don't rely on DM_DEPS and DM_TABLE_STATE
  * kpartx.rules: respect DM_UDEV_LOW_PRIORITY_FLAG
  * kpartx.rules: improved logic for by-uuid and by-label links

OBS-URL: https://build.opensuse.org/request/show/520380
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=132
2017-09-02 23:30:12 +00:00
Martin Wilck
5640565378 Accepting request 516239 from home:mwilck:branches:Base:System
- Update to version 0.7.2+11+suse.448921a2:
  * multipath.conf.5: document no_partitions compat support
  * libmultipath: fixup compat support for 'features "1 no_partitions"'

- Dropped 67-kpartx-compat.rules (SUSE legacy).
  * symlinks "/dev/mapper/${UUID}_part${X}" are not created any more,
    only     "/dev/mapper/${UUID}-part${X}" (with "minus")
- Dropped automatic kpartx invocation on dmraid devices (fate#323743)  
- Rebase to upstream multipath-tools 0.7.2:
- Update to version 0.7.2+8+suse.95e8f43e:

OBS-URL: https://build.opensuse.org/request/show/516239
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=130
2017-08-11 22:22:44 +00:00
Martin Wilck
b1962adf64 Accepting request 516121 from home:mwilck:branches:Base:System
- Rebase to upstream multipath-tools 0.7.2.
- Drop 67-kpartx-compat.rules
- Update to version 0.7.2+8+suse.95e8f43e:
  * libmultipath: retain_attached_hw_handler obsolete with 4.3+
  * multipath-tools: move up TEMPLATE in hwtable
  * multipath-tools: delete libdmmp/docs/man directory in make clean
  * libmultipath: fix unit to seconds in log message for checker timeout
  * multipath-tools: add HPE StoreVirtual 3200 family to hwtable
  * multipath-tools: add HPE MSA 2050/2052 to hwtable
  * multipath-tools: add/change fujitsu arrays
  * multipath-tools: check sysfs path state for NVMe/NVMf
  * multipath-tools: sync third-party headers with 3.13 upstream
  * multipath-tools: beautify path_latency.c code
  * multipath-tools: fix format in multipath.conf.5
  * libmultipath: update 3PARdata builtin config
  * Bump version to 0.7.2
  * libmultipath: don't try to set hwhandler if it is retained
  (bsc#1037533)
  * libmultipath: don't [un]set queue_if_no_path after domap
  * kpartx/devmapper.h: remove dm_no_partitions
  * libmultipath: compat support for 'features "1 no_partitions"' 
  (fate#323406)
  * kpartx.rules: respect DM_UDEV_LOW_PRIORITY_FLAG
  (bsc#1047180)
  * kpartx.rules: Use DM_ACTIVATION as condition (fate#323406)
  * kpartx.rules: skip creating by-uuid and by-label links
  (fate#32340)

- Update to version 0.7.1+69+suse.3bfa5af1:
  * Merge branch 'sles12-sp3-fixes' into sles12-sp3

OBS-URL: https://build.opensuse.org/request/show/516121
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=129
2017-08-11 12:58:32 +00:00
Martin Wilck
d62a06d9db Accepting request 505573 from home:mwilck:branches:Base:System
- Update to version 0.7.1+62+suse.62a2c36e:
  * kpartx: only check for 'no_partitions' feature on dm devices
    (bsc#1037533)

OBS-URL: https://build.opensuse.org/request/show/505573
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=127
2017-06-21 21:02:03 +00:00
Martin Wilck
fd0358b632 Accepting request 505512 from home:mwilck:branches:Base:System
- Update to version 0.7.1+62+suse.7fd2387b:
  * Revert "kpartx: use mapname if no uuid is present"
    (bsc#1037533, bsc#1033541)
- "no_path_retry" patch series (bsc#1043027)
  * libmultipath: load_config: skip setting unnecessary defaults
  * libmultipath: add/remove_feature: use const char* for feature
  * libmultipath: clarify option conflicts for "features"
  * libmultipath: merge_hwe: fix queue_if_no_path logic
  * libmultipath: assemble_map: fix queue_if_no_path logic
  * multipath.conf.5: document no_path_retry vs. queue_if_no_path
  * multipath.conf.5: Remove ??? and other minor fixes
  * libmultipath: add deprecated warning for some features settings
- _service: Use "sles12-sp3" branch as revision, as factory
  and SLE12-SP3 submissions are in sync. Will be changed when
  factory forks off (latest at SLE12-SP3 GA).

OBS-URL: https://build.opensuse.org/request/show/505512
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=126
2017-06-21 20:18:27 +00:00
Martin Wilck
31f29213bb Accepting request 505021 from home:mwilck:branches:Base:System
Added bsc references to .changes file

OBS-URL: https://build.opensuse.org/request/show/505021
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=125
2017-06-20 10:20:58 +00:00
Martin Wilck
442501e252 Accepting request 504980 from home:bmwiedemann:branches:Base:System
set KBUILD_BUILD_TIMESTAMP to generate reproducible man-pages
  to fix build-compare

OBS-URL: https://build.opensuse.org/request/show/504980
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=124
2017-06-20 09:04:28 +00:00
Martin Wilck
78aad48c12 Accepting request 503640 from home:mwilck:branches:Base:System
- Update to version 0.7.1+53+suse.07c2f6ac:
  Merged upstream fixes:
  * multipath: Merge the DELL MD3xxx device configs
  * multipath: fix up position independent code
  * libmultipath: fix partition detection
  * kpartx: default to running in sync mode
  * libmultipath: force udev reloads
  * kpartx: only check for 'no_partitions' feature on dm devices
  * kpartx: test-kpartx: new unit test program
  * kpartx: remove is_loop_device
  * kpartx: relax and improve UUID check in dm_compare_uuid
  * kpartx: dm_remove_partmaps: support non-dm devices
  * kpartx: dm_devn: return error for non-existent device
  * kpartx: don't treat multi-linear mappings as partitions
  * libmultipath: don't treat multi-linear mappings as partitions
  * kpartx: use partition UUID for non-DM devices
  * kpartx: use absolute path for regular files
  * kpartx: find_loop_by_file: use sysfs
  * kpartx: include sys/sysmacros.h
  * libmultipath: print.c: make sure lines are 0-terminated
  * multipath-tools: fix compilation with gcc < 4.9
  * libmultipath: print alias with no_path_retry message
  * multipathd: force reload device on all resizes
  * libmultipath: refactor calls to get dm device info
  * libmultipath: fix suspended devs from failed reloads
  * kpartx: fix device checks
  * mpath_persist: Don't join threads that don't exist
  * multipath-tools: document uid_attribute for NVME devices
  * Makefile: Remove assignments to unused variables

OBS-URL: https://build.opensuse.org/request/show/503640
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=122
2017-06-14 10:17:22 +00:00
Martin Wilck
7e3c142900 Accepting request 491762 from home:mwilck:branches:Base:System
---------------------------------------------------------------------
- spec file: Disable RADOS support for i586 on Leap 42.x (bsc#1036271)
- spec file: Move libdmmp to /usr/lib[64] (bsc#1036652)
- Update to version 0.7.1+7+suse.3edc5f7d:
  * kpartx: use mapname if no uuid is present (bsc#1033541)
  * kpartx: relax check when checking for a kpartx device (bsc#1033541)
  * libmpathpersist: use extern struct udev (bsc#1027188)
  * kpartx: include sys/sysmacros.h (fix compilation warning)
- Update to upstream version 0.7.1:
  * multipath-tools: improve processing efficiency for addition and deletion of multipath devices
  * uevent_can_discard: optimize devpath check
  * multipathd: fix SIGUSR2 handling
  * multipath-tools: clean up libdmmp/Makefile
  * multipath-tools: libdmmp: Fix incorrect use of __attribute__
  * multipath-tools: Remove trailing whitespaces
  * multipath-tools: add missing "-l" flag for pthread in libdmmp/Makefile
  * multipath-tools: build objects for libdmmp and libmpathpersist independently
  * libdmmp: minor Makefile cleanup
  * multipath-tools: remove incdir from Makefiles
  * libdmmp: don't disconnect from multipathd twice
  * multipathd: don't call strlen on NULL variables
  * libdmmp: move libdmmp.pc install location
  * multipathd: drop lock before calling uev_add_path
  * multipathd: allow devices to switch from RW to RO
  * libmultipath: don't set max_sectors_kb on reloads
  * Remove a trailing tab
  * multipath: fix segfault with disable_changed_wwids
  * multipath-tools: amend text from multipath/multipath.conf.5
  * Bump the version code and date
  * multipath-tools: replace multipath configuration output

OBS-URL: https://build.opensuse.org/request/show/491762
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=120
2017-04-28 09:13:05 +00:00
Martin Wilck
a1bf7de56b Accepting request 482451 from home:mwilck:branches:Base:System
Added bugzilla references to satisfy "leaper" BS review bot for SLES.

OBS-URL: https://build.opensuse.org/request/show/482451
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=118
2017-03-24 15:23:05 +00:00