Commit Graph

224 Commits

Author SHA256 Message Date
Martin Wilck
47dce1a26c (bsc#1184260)
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=254
2021-05-19 19:42:39 +00:00
Martin Wilck
a8a3fc0b93 Accepting request 894131 from home:mwilck:branches:Base:System
- Update to version 0.8.6+10+suse.47711374:
  * Github workflows: add CI for SUSE-specific branches

- Disabled LTO for multipath-tools
  * The test for is_valid_path fails if LTO is enabled, just
    disabling it for %check is insufficient.

- Update to version 0.8.6+9+suse.6c05a61:
  Update to upstream 0.8.6.
  * add eh_deadline option to avoid endless SCSI error handling
  * add wwid_recheck option to detect storage configuration changes
  * add library versioning for libmultipath, libmpathpersist etc. and
    to libmultipath plugins
  * move some global symbols to libmultipath (udev, logsink, etc)
    and provide default implementations for get_multipath_config() etc.
    This allows simplifiying libmpathpersist_example.c drastically.
  * fixes for shutdown issues and various race conditions on exit
  * improve cleanup on exit, fix memory leaks
  * add libmpathvalid library
  * fixes for SAS expanders (bsc#1178377, bsc#1178379, bsc#1177081)
  * Avoid access to root FS while queueing IO (bsc#1178049,
    bsc#1181234)
  * lots of bug fixes, additions to built-in hardware table, and
    CI improvements (bsc#1186212)
  * kpartx: free loop device after listing partitions (boo#1107187)
  Bug fixes on top of 0.8.5 mentioned below are also included in
  this upstream version.

  (bsc#1182072, bsc#1177371)
   (bsc#1181435, bsc#1183666)

OBS-URL: https://build.opensuse.org/request/show/894131
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=253
2021-05-18 19:47:44 +00:00
Martin Wilck
2f6438df20 - Update to version 0.8.5+30+suse.633836e:
* multipathd: give up "add missing path" after multiple failures
  (bsc#1183963)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=251
2021-04-01 11:04:03 +00:00
Martin Wilck
c83eaf7954 - Update to version 0.8.5+29+suse.5dabcd2:
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=249
2021-03-18 09:49:23 +00:00
Martin Wilck
8418073bed - Update to version 0.8.5+28+suse.d4205ea:
* 11-dm-mpath.rules: run "multipath -U" with -v1 (bsc#1182871)
  * libmultipath: merge update_multipath_table() and update_multipath_status()
  (bsc#1183666)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=248
2021-03-17 17:31:34 +00:00
Martin Wilck
70906d78c6 * cleanup disassemble_map() code path (bsc#1178377, bsc#1178379)
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=246
2021-03-12 17:04:57 +00:00
Martin Wilck
ff8b150e41 - Update to version 0.8.5+26+suse.2cbedfd:
Avoid "illegal request" errors on non-RDAC storage
  (bsc#bsc#1182072, bsc#1177371)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=245
2021-03-12 15:13:29 +00:00
Martin Wilck
a33f10ed7e Added bug ref to past upstream change
(bsc#1182917)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=243
2021-03-11 19:50:50 +00:00
Martin Wilck
118709e8f6 - Update to version 0.8.5+23+suse.c11b054:
* multipath -U: reduce log level of "adding new path" message 
   (bsc#1181435)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=242
2021-03-10 10:17:22 +00:00
Martin Wilck
7553b957b4 (bsc#1181877)
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=241
2021-02-10 14:42:47 +00:00
Martin Wilck
b18657a7ad - Update to version 0.8.5+22+suse.e1e3c48:
* multipath-tools tests: fix stringop-overflow build errors with gcc 11
  * README moved to README.md (has been converted to markdown upstream)
- Update to version 0.8.5+12+suse.3b0e9ca

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=240
2021-02-10 14:36:44 +00:00
Martin Wilck
f8e239dda1 Accepting request 856456 from home:mwilck:branches:Base:System
- Update to versioni 0.8.5+12+suse.3b0e9ca
  * libmultipath: force map reload if udev incomplete 
  (bsc#1178662, bsc#1172157, bsc#1175454, bsc#1176406)
- Fixes from upstream 0.8.5
  * multipath-tools: add MacroSAN arrays to hwtable
  * libmultipath: Allow discovery of USB devices
  (add configuration option "allow_usb_devices")

OBS-URL: https://build.opensuse.org/request/show/856456
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=238
2020-12-16 12:56:57 +00:00
Martin Wilck
5f153347cb No need to add "missing bugref" entry any more
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=237
2020-12-04 11:44:17 +00:00
Martin Wilck
63a5830aa9 added / improved bugrefs
* libmultipath: add device to hwtable.c (bsc#1174026) (ETERNUS AHB)
  * kpartx: fix detection of dasd partition tables on loop devices
    (bsc#1139775)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=236
2020-12-04 11:41:36 +00:00
Martin Wilck
e3b6805370 - Remove compatibility code for SLE <= 12-SP2 from spec file
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=235
2020-12-04 11:28:35 +00:00
Martin Wilck
fbf8b87ed6 - Missing bugref: Added hwtable entry for ETERNUS AHB (bsc#1174026)
* This is fixed since 0.8.4+167+suse.70bef90

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=234
2020-11-23 21:23:37 +00:00
Martin Wilck
24141defe0 Accepting request 835293 from home:mwilck:branches:Base:System
- Bugref for all minor fixes since SLE15-SP2 release (bsc#1176670)
- Added README.alua

OBS-URL: https://build.opensuse.org/request/show/835293
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=232
2020-09-17 19:08:44 +00:00
Martin Wilck
0b5f41904c Accepting request 835257 from home:mwilck:branches:Base:System
- Bugref for all minor fixes since SLE15-SP2 release (bsc#1176670)

OBS-URL: https://build.opensuse.org/request/show/835257
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=231
2020-09-17 16:21:47 +00:00
Martin Wilck
f65cd79fe8 Accepting request 835004 from home:mwilck:branches:Base:System
- Update to version 0.8.4+192+suse.1bc10ad:
  * Fix handling of hardware properties for maps without paths
  (bsc#1176644)

- Update to version 0.8.4+190+suse.fe234ea:
  * Fixes for daemon shutdown issues from  SLE(bsc#1110060, bsc#1110439)
    - multipathd: allow shutdown during configure()
  * fix compilation of external programs with -lmultipath
  (bsc#1133957, necessary after the above fix)
  * Minor upstream fixes

OBS-URL: https://build.opensuse.org/request/show/835004
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=230
2020-09-16 20:43:24 +00:00
Martin Wilck
9901c78d8c - Missing past changelog bug references:
* 0.7.3+10+suse.70ccb55b0439:
  Patch series for NVMe discovery and failover (bsc#1038865, 
  bsc#1057820)
  * 0.7.9+109+suse.203c1cf
  * setup_map: wait for pending path checkers to finish
  (bsc#1118224)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=228
2020-09-10 19:18:36 +00:00
Martin Wilck
e002542626 - Update to version 0.8.4+183+suse.1817ce2:
Added reviewed upstream fix for multipath crash
  * multipath: get_dm_mpvec: discard broken maps

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=226
2020-08-27 09:37:27 +00:00
Martin Wilck
2832ce0945 - Update to version 0.8.4+180+suse.50a2698:
* Fix memory access / leak issues found with valgrind

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=225
2020-08-26 10:06:56 +00:00
Martin Wilck
0f5b3b47ac * Spec file: Add --std=gnu99 to fix compilation on SLE12
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=224
2020-08-25 15:07:11 +00:00
Martin Wilck
5cc04e352b * Spec file: disable LTO for %check (bsc#1133122)
Remove obsolete .obscpio files

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=223
2020-08-25 09:48:04 +00:00
Martin Wilck
cb955ad2ac - Update to version 0.8.4+170+suse.801341f:
Fix tests on ppc

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=222
2020-08-21 22:29:10 +00:00
Martin Wilck
a01cf47a39 - Update to version 0.8.4+169+suse.567279c:
* libmultipath: tests: fix bitfield tests

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=221
2020-08-21 21:44:39 +00:00
Martin Wilck
43659b9edf - Update to version 0.8.4+168+suse.f9fa8d9:
* libmultipath: tests: fix bitmasks tests

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=218
2020-08-21 16:01:08 +00:00
Martin Wilck
21e4413b39 Accepting request 828297 from home:mwilck:branches:Base:System
- Update to version 0.8.4+167+suse.70bef90: 
  Pull in reviewed upstream changes
- Bug fixes
  * libmultipath: add consistency check for alias settings (bsc#1172429)
  * libmultipath: select_action(): don't drop map if alias clashes (bsc#1172429)
  * libmultipath: refuse reloading an existing map with different WWID
    (bsc#1172429)
  * libmultipath: select_action(): force udev reload for uninitialized maps
    (bsc#1172157)
  * multipathd: uev_trigger(): handle incomplete ADD events (bsc#1172157)
  * improve logging for failure to set dev_loss_tmo (bsc#1173060, bsc#1173064)
  * libmultipath: add device to hwtable.c (bsc#1174026)
- New features
  * multipath: add -D option to skip multipathd delegation
  * multipath: delegate flushing maps to multipathd
  * multipathd: add "del maps" multipathd command
- Other changes
  * cleanup disassemble_map() code path
  * multipath-tools: introduce INIT_REMOVED state
  * logging improvements
  * fix "multipathd show devices"
  * libmultipath: remove uevent listener failback
  * libmultipath: create bitfield abstraction
  * libmultipath: count pending paths as active on loads
  * kpartx: handle alternate bsd disklabel location
- Lots of minor fixes and cleanups
- Spec file: use %service_del_postun_without_restart macro

OBS-URL: https://build.opensuse.org/request/show/828297
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=217
2020-08-20 19:56:02 +00:00
Martin Wilck
76092b1685 Accepting request 813227 from home:mwilck:branches:Base:System
- Update to version 0.8.4+43+suse.908383f:
  * enable negated regular expression syntax in conf file
  * change default devnode blacklist to 
    '!^(sd[a-z]|dasd[a-z]|nvme[0-9])'

OBS-URL: https://build.opensuse.org/request/show/813227
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=215
2020-06-10 12:54:24 +00:00
Martin Wilck
b2d2f151d3 Accepting request 812729 from home:mwilck:branches:Base:System
- Update to version 0.8.4+40+suse.b06c2e5a:
- Fix udev rule processing during coldplug (bsc#1172157)
  * 11-dm-mpath.rules: Fix udev rule processing during coldplug
- Fix compilation with gcc-10
  * fix boolean value with json-c 0.14
  * libmultipath: fix condlog NULL argument in uevent_get_env_var
- Reviewed upstream changes:
  * simplify failed_wwid code
  * centralize path validation code
- Use pkgconfig for BuildRequires

OBS-URL: https://build.opensuse.org/request/show/812729
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=214
2020-06-08 19:51:40 +00:00
Martin Wilck
b4c488216e Accepting request 803707 from home:mwilck:branches:Base:System
- Update to version 0.8.4+31+suse.8f53764:
  * Fix sporadic build failures caused by missing build dependencies

- Update to version 0.8.4+29+suse.c27ed8d:
  * multipath-tools: Makefile.inc: set -Wno-error=clobbered
  * Makefile.inc: keep warning flags during rpm build
  * Eliminate compiler warnings on 32bit build.
  * Fixes for tests under i586
- Spec file: add %check section to run multipath-tools CI
  * not on SLE12, as cmocka is missing
  * add build dependency on cmocka for building tests
  * run "make test" with parallel make

- Update to version 0.8.4+19+suse.48fc2f4:
  * multipath: add "-e" option to enable foreign libraries
  * libmultipath: set "enable_foreign" to NONE by default
  * deleted libmultipath-set-enable_foreign-to-NONE-by-default.patch
    (included in factory git repo now).
  * Makefile: dependency fixes for parallel build
- Get rid of %is_opensuse:  
  * drop build workaround for Leap 42.1
  * build libdmmp for everything except SLE12/Leap42 and older
- Other spec file updates:
  * use %make_build to speed up build (possible with 0.8.4)
- Migrated to .obscpio format.

- Update to version 0.8.4+16+suse.f319f7ea
- Changed github workflow back from merge-based to rebase-based.
  This makes it much easier to assess differences between upstream
  and SUSE code.

OBS-URL: https://build.opensuse.org/request/show/803707
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=212
2020-05-13 14:11:02 +00:00
Martin Wilck
f0cf278ce1 Accepting request 766909 from home:dimstar:Factory
- BuildRequire pkgconfig((lib)?udev) instead of (lib)?udev: allow
  OBS to shortcut through the -mini flavors.

OBS-URL: https://build.opensuse.org/request/show/766909
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=210
2020-01-24 14:26:48 +00:00
Martin Wilck
beb859fe78 Accepting request 764959 from home:mwilck:branches:Base:System
- Update to version 0.8.3+10+suse.86684b9:
  * libmultipath: fix compilation with -fno-common
  (boo#1160403)

OBS-URL: https://build.opensuse.org/request/show/764959
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=208
2020-01-16 12:25:30 +00:00
Martin Wilck
ed53908a79 Accepting request 734962 from home:mwilck:branches:Base:System
- Update to version 0.8.3+9+suse.f6f2a52
- Minor upstream improvements and bug fixes
  * libmultipath: EMC PowerMax NVMe device config

OBS-URL: https://build.opensuse.org/request/show/734962
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=206
2019-10-04 10:43:08 +00:00
Martin Wilck
a9ba9e480a Accepting request 728278 from home:mwilck:branches:Base:System
- Update to version 0.8.2+27+suse.3ff280b:
  * Added upstream patch to fix premature path reinstantiation
    with san_path_err_XX (boo#1149319)

OBS-URL: https://build.opensuse.org/request/show/728278
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=204
2019-09-04 14:54:35 +00:00
Martin Wilck
f7a8dbfbd9 Accepting request 726994 from home:mwilck:branches:Base:System
added bug ref and shortened changelog

OBS-URL: https://build.opensuse.org/request/show/726994
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=202
2019-08-29 11:23:14 +00:00
Martin Wilck
1549024e87 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
2019-08-29 09:10:14 +00:00
Hannes Reinecke
4e924d63cc Accepting request 715695 from home:mwilck:branches:Base:System
- Update to version 0.8.2+11+suse.0f6a649:
  * kpartx: recognize DASD on loop devices again (bsc#1139775)
  * Bump version to 0.8.2 - most changes were already in SUSE tree
  * Man page improvements

OBS-URL: https://build.opensuse.org/request/show/715695
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=199
2019-07-16 13:21:41 +00:00
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
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
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
Martin Wilck
9662d3520b Accepting request 482226 from home:mwilck:branches:Base:System
- Downgrade to version 0.6.4+103+suse.bcb5d0f4:
  * temporarily remove commit "multipathd: fix SIGUSR2 handling"
  until it's merged in official repo
- Enable rados for SLES only for x86_64 and aarch64 (ceph is currently
  disabled on SLES on s390x and ppc64le)

OBS-URL: https://build.opensuse.org/request/show/482226
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=116
2017-03-23 13:37:08 +00:00
Martin Wilck
37931ba301 Accepting request 481759 from home:mwilck:branches:Base:System
- Spec file: disable librados for architectures for which ceph
  is not built
- Spec file: enable librados by default for SLES12 SP3, disable
  it on Leap <= 42.1
- Update to version 0.6.4+104+suse.ac0df678:
  * multipathd: fix SIGUSR2 handling

OBS-URL: https://build.opensuse.org/request/show/481759
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=115
2017-03-21 12:21:19 +00:00
Martin Wilck
0007d3fe8a Accepting request 478509 from home:mwilck:branches:Base:System
- Update to version 0.6.4+103+suse.bcb5d0f4:
  * changed to official github repo openSUSE/multipath-tools
    (no changes code-wise)

- Spec file: Added dependency on sg3_utils (#boo1028857)

- spec file changes: optional librados and libdmmp support
  * enabled by default on Factory and Leap
    (disable with --without-rados, --without-libdmmp)
  * disabled by default on SLES12
    (enable with --with-rados, --with-libdmmp)
  * libdmmp0_1_0 and libdmmp-devel as separate packages
  * minor fixes for RPMLINT warnings
- Update to version 0.6.4+102.0119472d:
  * rebased, code-wise identical to previous checkout

- Update to version 0.6.4+102.df7d367e:
  * libmultipath/propsel: Do not select sysfs prioritizer for RDAC arrays
    (bsc#1004858)

- Update to version 0.6.4+101.f01ef4da (SLES12 SP2 changes wrt upstream):
  * Make libdmmp build optional
  * multipath.rules: use -i flag to multipath
  * kpartx: create symlinks for dmraid devices
  * kpartx: Add udev compability rules for SUSE
  * libmultipath/checkers: make RADOS checker optional
  * multipathd: fixup check for new path states (bsc#1019798)
  * tur: Add pthread_testcancel() (bsc#101979)
  * kpartx: sanitize delete partitions (bsc#100869)
  * libmultipath: coalesce_paths: trigger uevent if nothing done

OBS-URL: https://build.opensuse.org/request/show/478509
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=114
2017-03-20 12:52:30 +00:00
8c6a8ba571 Accepting request 458961 from home:kukuk:branches:Base:System
- Remove superfluous PreReq for insserv and fillup

OBS-URL: https://build.opensuse.org/request/show/458961
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=112
2017-02-21 10:40:05 +00:00
9a68597439 Accepting request 431188 from home:hreinecke:branches:Base:System
- Update to version 0.6.2+suse20160928.8939fb6

- Implement support for 'multipath=off' and 'nompath'
  kernel commandline options (bsc#1001691)

- multipath: avoid crash when using modified configuration
  (bsc#1000914)

OBS-URL: https://build.opensuse.org/request/show/431188
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=110
2016-09-30 12:07:49 +00:00
Robert Milasan
dfc9ea35e8 Accepting request 428706 from home:hreinecke:branches:Base:System
- libmultipath: Do not crash on empty features (bsc#994812)
- multipathd: Set CLI timeout correctly (bsc#999061)
- Moved multipath-tools repository to
  github.com:/openSUSE/multipath-tools.git

OBS-URL: https://build.opensuse.org/request/show/428706
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=108
2016-09-19 17:34:35 +00:00
ac8fd6ab57 Accepting request 426921 from home:hreinecke:branches:Base:System
- Fixup glitch from patch 'fixup check from udev rules' (bsc#986734)
- Remove 0001-libmultipath-fall-back-to-search-paths-by-devt.patch;
  integrated into git repository

- libmultipath: fall back to search paths by devt (bsc#995645)

OBS-URL: https://build.opensuse.org/request/show/426921
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=106
2016-09-12 08:12:23 +00:00
b9d4a5cd1c Accepting request 423235 from home:hreinecke:branches:Base:System
- Fixup module name in /usr/lib/modules-load.d (bsc#986734)

- multipath: fixup check from udev rules (bsc#986734)

- multipathd: start daemon after udev trigger (bsc#986734)
- Load device handler and multipath module at boot (bsc#991634)

- Do not check daemon from udev rules (bsc#986734,bsc#990538)

OBS-URL: https://build.opensuse.org/request/show/423235
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=104
2016-09-01 11:57:30 +00:00
0e05827275 Accepting request 417043 from home:hreinecke:branches:Base:System
- Include fixes from upstream:
  * memory leak in orphan_paths
  * More hardware table cleanups
  * Add 'serial' keyword to weightedpath prioritizer
- Set timeout for CLI commands correctly (bsc#990265)
- Start daemon after udev trigger (bsc#991742,bsc#986734,bsc#990538)
- multipathd.service: Fixup Wants= and Before= statements
  (bsc#991742, bsc#986734)

- Include patches from upstream:
  * Cleanup hardware tables by removing default entries
  * More formatting fixes
  * Order keywords in multipath.conf.5
  * Change default pgpolicy from 'failover' to 'group_by_prio'
  * kpartx: Fix check whether to detach a loop device
  * Fix partly traversed loop in coalesce_paths()
  * Fix memory leak in reconfigure()
  * Cleanup include header files
  * Bump version code to 0.6.2
- Fix multipath -l <devmap> without output (bsc#990480)
- Fix spelling in a log message
- Fix type of rcu_unregister()
- Do not perform POSIX mutex operations inside a signal handler
- Ensure that signals are delivered to the uxsock thread
- Fix memory leak in path group policies
- Update tarball to 0.6.2+suse20160728.d96f423

OBS-URL: https://build.opensuse.org/request/show/417043
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=102
2016-08-07 12:13:17 +00:00
bab7a36126 Accepting request 408703 from home:hreinecke:branches:Base:System
- Include patches from upstream:
  * Makefile cleanup
  * Update multipath.conf.5
  * Update hardware tables
  * Whitespace cleanup
- Fixup crash during shutdown (bsc#988539)
- Update tarball to 0.6.1+suse20160715.3d44636

OBS-URL: https://build.opensuse.org/request/show/408703
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=100
2016-07-18 08:20:25 +00:00
3dd54be22f Accepting request 406622 from home:jengelh:branches:Base:System
- Remove obsoletes spec sections

OBS-URL: https://build.opensuse.org/request/show/406622
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=98
2016-07-06 16:38:01 +00:00
033744e963 Accepting request 406324 from home:hreinecke:branches:Base:System
- Move config accesses to use user-space RCU (bsc#987526)
  * Revert 'move filter_devnode under vector lock'
  * Revert the rework patch
- Include patches from upstream:
  * Update hardware tables
  * Update kpartx manpage
  * Whitespace fixes
  * Include coverity fixes
  * Drop AUTHOR file

OBS-URL: https://build.opensuse.org/request/show/406324
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=97
2016-07-05 08:48:57 +00:00
c95b3d38fc Accepting request 406265 from home:hreinecke:branches:Base:System
- Revert 'move filter_devnode under vector lock'
- Revert the rework patch
- Move config accesses to use user-space RCU
- Update tarball to 0.6.1+suse20160704.6e52398
- Drop AUTHOR file

OBS-URL: https://build.opensuse.org/request/show/406265
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=96
2016-07-04 08:20:41 +00:00
45fbf43802 Accepting request 400641 from openSUSE:Leap:42.2:SLE-workarounds
- fix service file to not pretend that this is the upstream version.
  Now labeled 0.6.1+suse20160603.9b920e3
- Fix BuildRequire to get systemd.pc from correct package (bsc#983167)
- point rcmultipathd to /usr/sbin/service to avoid dangling symlink warning

OBS-URL: https://build.opensuse.org/request/show/400641
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=95
2016-06-14 12:45:24 +00:00
8538b4dfd0 Accepting request 399973 from home:hreinecke:branches:Base:System
- Rework patch 'move filter_devnode under vector lock'
  (bsc#982348)

- multipathd: Fixup definition of set_unlocked_handler_callback()
- mpathcmd.h: Update Free Software Foundation address

- Do not install header file with mode 755

- Update to latest upstream version 0.6.1
  * Merge suse-specific patches
  * Drop multipath.conf.* files
  * Update to version 0.6.1
  * multipathd: move 'filter_devnode' under vector lock
  * libmultipath: use poll() in uevent_listen()
  * Increase kpartx retries
  * Merge Dell MD3XXX hardware table entries
  * multipathd: Add 'sysfs' prioritizer (bsc#927040)
  * libmultipath: call get_vpd_uid() if no uid_attribute is set
  * multipathd: update defaults

- Update to latest upstream version 0.6.0 (FATE#319406)
  * Update documentation
  * Fix memory leak and segfault in reconfigure
  * Add wwn keyword to weightedpath prioritizer
  * Use 64-bit int for command key
  * check partions unused before removing
  * print 'fail' when remove fails
  * add exclusive_pref_bi for alua prioritizer
  * kpartx: verify parition devices
  * multipathd: delay reloads during creation

OBS-URL: https://build.opensuse.org/request/show/399973
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=93
2016-06-07 08:03:45 +00:00