Beginning with 0.11, the second digit in the multipath-tools version will be used for upstream "major" releases. The 3rd and last digit will denote stable releases in the future, containing only bug fixes on top of the last major release. These bug fixes will be tracked in stable branches.
See README.md for additional information.
- Fix boot failures with multipath introduced in 0.14.1. Commit 01cc89c.
- Fix a possible NULL pointer dereference in the path purging code. Fixes 0.14.0. Commit 86ff48b.
- Updated the
test_kpartxtest script, and added it to thebasic-build-and-ciworkflow.
- kpartx: Fix freeing static buffer when operating on regular files. Fixes 0.14.0. Commit fab5d44. Fixes #139.
- Fix initialization of paths that were offline during path detection. Commit 1942fb1.
- Fix printing the "path offline" log message for offline paths that don't have a path checker configured. Commit 1a364a1.
- If path devices that are members of multipath maps aren't detected during
multipathd startup or
reconfigure, don't add them to newly created maps in the first place. In previous versions, such paths would be added to the maps, only to be removed later. Commit a04be55. - Improve the detection of "busy" state in the
show statuscommand, such that reading udev events from udevd is also counted as busy. Commit 7fdd93b.
This release adds support for automatically purging SCSI devices that become disconnected at the storage target (e.g. because a LUN became unmapped by an administrator). It's a long-standing problem that such path devices become "stale" on the Linux side. When they are re-mapped on the storage side, possibly with different parameters, the kernel may not correctly detect the changes. By removing such stale devices, the kernel will be forced to re-probe them, which fixes this problem.
The feature is controlled by a new configuration option purge_disconnected
that can be set in multipath.conf per multipath device, hardware entry, or
globally. The feature is switched off by default.
When purge_disconnected is enabled, SCSI devices for which the storage array
reports a "LUN NOT SUPPORTED" status are removed from the system, preventing
stale device entries from accumulating.
As this is a new feature, users are advised to test it in their environment before enabling it in production.
- Make sure multipathd registers keys all paths of a multipath map after mpathpersist registered a key for a map. multipathd could fail to do so in some cases, e.g. if paths become unavailable or available while the registration was taking place. Fixes 0.13.0. Commits f7d6cd1, 4f3036b.
- Fix
mpathpersist --report-capabilitiesoutput. Fixes 0.5.0. Commit c8ed5e6. - Improve error handling when retrying REGISTER AND IGNORE persistent reservations commands. Fixes 0.13.0. Commit c971036.
- Fix command descriptions in the multipathd man page. Fixes 0.9.2. Commit f3ba2e7.
- Fix an undefined symbol error with the LLVM lld linker. Commit a298603. Fixes #132, 0.10.0.
- Fix ISO C23 compatibility issue causing errors with new compilers. Commit 9f611e2.
- Fix use-after-free error in free_pgvec(). Commit 7a07023. Fixes #128, 0.12.0.
- Fix memory leak caused by not joining the "init unwinder" thread. Fixes 0.8.6. Commit 29f262b.
- Fix memory leaks in kpartx. Commits 8c39e60, 02e0933. Fixes any version.
- Fix a particular strict aliasing bug in the bitfield code.
Fixes 0.8.9. Commit f1299f2. This fix isn't strictly necessary any
more after adding
-fno-strict-aliasing(see below), but it doesn't hurt to have it. - Print the warning "setting scsi timeouts is unsupported for protocol" only once per protocol. Commit 958c826. Fixes 0.9.0.
- Make sure multipath-tools is compiled with the compiler flag
-fno-strict-aliasing. This turns out to be necessary because our code uses techniques likecontainer_of()which don't work well with strict aliasing rules. Commit 1ef540a. Fixes #130.
- Add wrapper code for libudev to avoid potential issues with calling libudev from a multi-threaded program. Commits 69f6590, 6cc012f.
- Clean up the code for freeing struct path and struct multipath objects. Specifically, avoid freeing path objects from code that frees multipath maps, and vice versa. Treat path orphaning and freeing separately.
- Hardware table: add Seagate Exos and Nytro series.
- Avoid joining threads twice with liburcu 0.14.0 and newer.
- CI updates (GitHub workflows).
- Fix CI for cmocka 2.0. Commits 2c52668, f427f8f. Fixes #129
- Remove the "hotplug" mode of kpartx, which has been obsolete since udev replaced legacy hotplug.
- Add the ASAN=1 and OPT= make variables (see README.md).
The mpathpersist code had many areas where it did a poor job of mimicking the behavior of setting up persistent reservations on an individual device, especially if some paths to the multipath device were missing or unusable.
Issues improved in this release:
- Persistent reservation operations in cases where the reservation is held held by an unavailable path. For example, when such a key is unregistered, libmpathpersist now preempts the old key after verifying that the multipath device is holding the reservation.
- Releasing a reservation held by an unavailable path. This has always had code to handle it, but it relied on optional Persistent Reservation features. The new code preempts the key and then restores the removed registered keys while the device is suspended.
- Handling removal of keys from paths that were down when the multipath device was unregistered.
- Changing how conflicts on key registration are handled. Instead of the old rollback method (which was broken anyway), libmpathpersist now retries with REGISTER AND IGNORE as long as the REGISTER command completed successfully down some of the paths.
- Changing when the reservation key is set to fix corner cases on failure and registration while paths are coming up.
- Retrying to fix corner cases when a path is coming up while doing a reserve, preempt or clear.
- Allowing registrations to succeed when there are retryable errors, if the paths are actually down.
- Fixing the reservation key validation in some commands.
- Handling a race condition that may occur while changing the reservation key of a multipath map.
- Handling preemption of registrations of type "all registrants".
In the course of making these changes, a number of corner cases were fixed, too. Please consult the commit messages for details.
- Updates to the built-in hardware table:
- add some NVMe storage array (VASTData, Infinidat, HITACHI VSP)
- add QSAN
- add EqualLogic PS
- Besides the abstract unix socket (default:
@/org/kernel/linux/storage/multipathd), multipathd now also listens on a unix pathname socket (default:/run/multipathd.socket). This makes it possible to communicate with multipathd from a container in which the named socket is bind-mounted. See multipathd.8 for details. Both sockets can also be received from systemd if socket activation is used (not recommended for multipathd). Fixes #111. Commits f421a43 ff. - multipathd now sets the
port_stateof Fibre Channel remote ports to "marginal" for NVMe devices, too. Note that unlike SCSI, this will not directly affect the kernel NVMe driver's behavior. Marginal state will affect path grouping on multipathd's part, though. This change is only effective if dm-multipath is used for NVMe devices (i.e. the kernel parameternvme_core.multipath=Nis in use). Commit 30fc3e9. - Improved the communication with udev and systemd by triggering
uevents when path devices are added to or removed from multipath maps,
or when
multipathd reconfigureis executed after changing blacklist directives inmultipath.conf. Fixes #103. Commits 98b3a7b, ad3ea47, d9c6133, 272808c f. - Maps that were added outside of multipathd (e.g. using the multipath command) and that couldn't be reloaded by multipathd used to be ignored by multipathd. multipathd will now monitor them. If some paths were offline while the map was created, multipathd will now add them to the map when they go online again. Commit 9038d25 ff.
- multipathd retries persistent reservation commands that have failed on one path on another one. Commit d1106c8.
- Continued cleanup of the path checker loop. The various cases in which
maps need to be reloaded are now handled more cleanly in the new
function
checker_finished(). Map deletions don't happen any more inside the checker loop, simplifying the code flow.checker_finished()now also takes care of all actions that multipath was doing in scheduled intervals ("ticks"). Commit 0ff1191 ff.
- Fix multipathd crash because of invalid path group index value, for example if an invalid path device was removed from a map. Fixes #105. This issue existed since 0.4.5. Commit cd912cf.
- Make sure maps are reloaded in the path checker loop after detecting an inconsistent or wrong kernel state (e.g. missing or falsely mapped path device). Wrongly mapped paths will be unmapped and released to the system. Fixes another issue reported in #105. Commit 340e74d.
- Fix the problem that, if a path device is added while offline, path grouping
may be wrong if
path_grouping_policyis set togroup_by_serialorgroup_by_tpg, even if the path comes online later. Fixes #108. This problem has existed since 0.4.5. Commits c20fb70, 70c1724. - Fix compilation issue with musl libc on ppc64le and s390x. Fixes #112. Commit 439044b
- Fix the problem that
group_by_tpgmight be disabled if one or more paths were offline during initial configuration. This problem exists since 0.9.6. Commit b47a577. - Fix the problem that if a map was scheduled to be reloaded already,
max_sectors_kbmight not be set on a path device that was being added to a multipath map. This problem was introduced in 0.9.9. Commit f5c0c4b. - Fix possible misdetection of changed pathgroups in a map. This (minor) problem was introduced in 0.5.0. Commit d4b35f6.
- Avoid a possible system hang during shutdown with queueing multipath maps, which was introduced in 0.8.8. Commit ee062a0.
- Failed paths should be checked every
polling_interval. In certain cases, this wouldn't happen, because the check interval wasn't reset by multipathd. Commit 21c21bf. - It could happen that multipathd would accidentally release a SCSI persistent reservation held by another node. Fix it. Commit 8d5f4a5.
- After manually failing some paths and then reinstating them, sometimes the reinstated paths were immediately failed again by multipathd. Commit f1c5200.
- Fix crash in foreign (nvme native multipath) code, present since 0.8.8. Commit 9b1d721.
- Fix file descriptor leak in kpartx. This problem existed since 0.4.5. Commit 1757dbb.
- Fix memory leak in error code path in libmpathpersist which existed since 0.4.9. Commit b7fd205.
- Fix possible out-of-bounds memory access in vector code that existed since 0.4.9. Commit 2480d57.
- Fix a possible NULL dereference in the iet prioritizer, existing since 0.4.9. Commit 01996d5.
- Fix misspelled gcc option "-std". Commit f9fb65f.
- Fix error code path for "multipathd show devices". Problem existed since 0.8.5. Commits 4f0f43f, 5c59d5d.
- Fix an error check in the nvme foreign library, problem introduced in 0.7.8. Commit 66408f1.
- Cleanup and improvement of the path discovery code that uses ioctls to detect device properties. Commits 6b91bfb ff.
- Fix CI with cmocka 1.1.8 and newer. Fixes #117. Commit 6686b8f.
- Updates to the built-in hardware table:
- Add Quantum devices
- Enable ALUA for AStor/NeoSapphire
- Update NFINIDAT/InfiniBox config
- Fix product blacklist of S/390 devices
- Add Seagate Lyve
- Add HITACHI VSP One SDS Block
- Man page updates.
- Updates to GitHub workflows.
- Replace FSF licenses with SPDX-License-Identifier.
- Modified the systemd unit
multipathd.servicesuch that multipathd will now restart after a failure or crash. Fixes #100. - Logging changes for verbosity level 3:
- silenced logging of path status if the status is unchanged
- silenced some unhelpful messages from scanning of existing maps
- added a message when partition mappings are removed.
This is a continuation of the checker-related work that went into 0.10.0. For asynchronous checker algorithms (i.e. tur and directio), the start of the check and the retrieval of the results are done at separate points in time, which reduces the time for waiting for the checker results of individual paths and thus strongly improves the performance of the checker algorithm, in particular on systems with a large a amount of paths.
The algorithm has the following additional properties:
- multipath devices get synchronized with the kernel occasionally, even if they have not paths
- If multiple paths from a multipath device are checked in the same loop, the multipath device will only get synchronized with the kernel once.
- All the paths of a multipath device will converge to being checked at the same time (at least as much as their differing checker intervals will allow).
- The times for checking the paths of each multipath device will spread out as much as possible so multipathd doesn't do all of it's checking in a burst.
- path checking is done by multipath device (for initialized paths, the uninitialized paths are handled after all the adopted paths are handled).
- Fixed the problem that multipathd wouldn't start on systems with certain types of device mapper devices, in particular devices with multiple DM targets. The problem was introduced in 0.10.0. Fixes #102.
- Fixed a corner case in the udev rules which could cause a device not to be activated during boot if a cold plug uevent is processed for a previously not configured multipath map while this map was suspended. This problem existed since 0.9.8.
- Fixed the problem that devices with
no_path_retry failand no setting fordev_loss_tmomight get thedev_loss_tmoset to 0, causing the device to be deleted immediately in the event of a transport disruption. This bug was introduced in 0.9.6. - Fixed the problem that, if there were multiple maps with deferred failback
(
failbackvalue > 0 inmultipath.conf), some maps might fail back later than configured. The problem existed since 0.9.6. - Fixed handling of empty maps, i.e. multipath maps that have a multipath UUID but don't contain a device-mapper table. Such maps can occur in very rare cases if some device-mapper operation has failed, or if a tool has been killed in the process of map creation. multipathd will now detect such cases, and either remove these maps or reload them as appropriate.
- During map creation, fixed the case where a map with different name, but matching UUID and matching type was already present. multipathd previously failed to set up such maps. Now it will reload them with the correct content.
- Fixed the logic for enabling the systemd watchdog (
WatchdogSec=in the systemd unit file for multipathd). - Fixed a memory leak in the nvme foreign library. The bug existed since 0.7.8.
- Fixed a problem in the marginal path detection algorithm that could cause the io error check for a recently failed path to be delayed. This bug existed since 0.7.4.
- Default settings for
hardware_handlerhave been removed from the internal hardware table. These settings have been obsoleted by the Linux kernel 4.3 and later, which automatically selects hardware handlers when SCSI devices are added. See the notes aboutSCSI_DH_MODULES_PRELOADin README.md. - Added a hardware table entry for the SCSI Target Subsystem for Linux (SCST).
- The text of the licenses has been updated to the latest versions from the Free Software Foundation.
libmp_mapinfo()now fills in thename,uuid, anddmifields if requested by the caller, even if it encounters an error or an empty map.
- The
multipathd show daemoncommand now shows(reconfigure pending)if a reconfiguration has been triggered but not finished yet.
- Refactored the path checker loop. Paths are now checked for each multipath
map in turn, rather than walking linearly through the list of paths. Paths
for different multipath maps will be checked at different time offsets in
the
polling_intervaltime span, which distributes the load caused by path checking more evenly over time. - Refactored a significant part of the libmultipath / libdevmapper interface. All functions that retrieve information about DM maps have been converted to use just one worker function, libmp_mapinfo(). This reduces code size while providing more flexibility and efficiency (less device-mapper ioctls). Also, cleanup attributes are used consistently in the libdevmapper-related code.
- Renamed public functions, variables, and macros to comply with the
glibc policy for reserved names.
For backward compatibility reasons, the exported functions from
libmpathcmdandlibmpathpersistthat start with double underscore are kept as weak symbols. Fixes #91.
- Fixed bug that caused queueing to be always disabled if flushing a map failed (bug introduced in 0.9.8).
- Fixed failure to remove maps even with
deferred_remove(bug introduced in 0.9.9). - Fixed old mpathpersist bug leading to the error message "configured reservation
key doesn't match: 0x0" when
reservation_keywas configured in the multipaths section ofmultipath.conf(Fixes #92). - Fixed output of
multipath -tandmultipath -Tfor the optionsforce_syncandretrigger_tries. (Fixes #88) - Fixed adding maps by WWID in CLI (command
add map $WWID).
- Removed hardcoded paths and make them configurable instead. This should improve compatibility e.g. with NixOS.
- Improved handling of paths with changed WWIDs.
- Improved synchronization between kernel state and multipathd's internal state.
- Made map removal more efficient by avoiding unnecessary recursion.
- Added hardware defaults for Huawei storage arrays and XSG1 vendors.
- Use
-fexceptionsduring compilation to make sure cleanup code is executed when threads are cancelled - Use
weakattribute forget_multipath_config()andput_multipath_config()in order to enable linking with-Bsymbolic-non-weak-functions(Fixes #86). - Fixed CI for ARM/v7
- Fixed directio CI test for real devices, run more "real" tests in CI
- Fixed minor issues detected by coverity.
- Fixed a minor bug in the config file parser (Fixes #93).
- Minor documentation fixes (Fixes #87).
It is not recommended to use lvm2 2.03.24 and newer with multipath-tools versions earlier than 0.9.9. See "Other major changes" below.
- Changed realtime scheduling: multipathd used to run at the highest possible
realtime priority, 99. This has always been excessive, and on some
distributions (e.g. RHEL 8), it hasn't worked at all. It is now possible to
set multipathd's real time scheduling by setting the hard limit for
RLIMIT_RTPRIO(see getrlimit(2)), which corresponds to thertpriosetting in limits.conf and toLimitRTPRIO=in the systemd unit file. The default in the systemd unit file has been set to 10. If the limit is set to 0, multipathd doesn't attempt to enable real-time scheduling. Otherwise, it will try to set the scheduling priority to the given value. Fixes #82. - Changed normal scheduling: In order to make sure that multipathd has
sufficient priority even if real time scheduling is switched off, the
CPUWeight=setting in the unit file is set to 1000. This is necessary because regular nice(2) values have no effect in systems with cgroups enabled. - Changed handling of
max_sectors_kbconfiguration: multipathd applies themax_sectors_kbsetting only during map creation, or when a new path is added to an existing map. The kernel makes sure that the multipath device never has a largermax_sectors_kbvalue than any of its configured path devices. The reason for this change is that applyingmax_sectors_kbon live maps can cause IO errors and data loss in rare situations. It can now happen that some path devices have a highermax_sectors_kbvalue than the map; this is not an error. It is not possible any more to decreasemax_sectors_kbinmultipath.confand runmultipathd reconfigureto "apply" this setting to the map and its paths. If decreasing the IO size is necessary, either destroy and recreate the map, or remove one path withmultipathd del path $PATH, runmultipathd reconfigure, and re-add the path withmultipathd add path $PATH. - New wildcard %k: The wildcard
%kformax_sectors_kbhas been added to themultipathd show paths formatandmultipathd show maps formatcommands. - Changed semantics of flush_on_last_del: The
flush_on_last_deloption now takes the valuesalways,unused, ornever.yesandnoare still accepted as aliases foralwaysandunused, respectively.alwaysmeans that when all paths for a multipath map have been removed, outstanding IO will be failed and the map will be deleted.unusedmeans that this will only happen when the map is not mounted or otherwise opened.nevermeans the map will only be removed if thequeue_if_no_pathfeature is off. This fixes a problem where multipathd could hang when the last path of a queueing map was deleted. - Better parsing of
$maparguments in multipathd interactive shell: The$mapargument in commands likeresize map $mapnow accepts a WWID, and poorly chosen map aliases that could be mistaken for device names. - Added documentation for CLI wildcards. The wildcards used in the
show maps formatandshow paths formatcommands are documented in the multipathd(8) man page now. %swildcard for paths: this wildcard inshow paths formatnow prints the product revision, too.
- Adapted the dm-mpath udev rules such that they will work with the modified
device mapper udev rules (
DM_UDEV_RULES_VSN==3, lvm2 >= 2.03.24). They are still compatible with older versions of the device-mapper udev rules (lvm2 < 2.03.24). If lvm2 2.03.24 or newer is installed, it is recommended to update multipath-tools to 0.9.9 or newer. See also LVM2 2.03.24 release notes.
- Fixed misspelled DM_UDEV_DISABLE_OTHER_RULES_FLAG in 11-dm-mpath.rules
- Always use
glibc_basename()to avoid some issues with MUSL libc. Fixes #84. - Fixed map failure counting for
no_path_retry > 0. - The wildcards for path groups are not available for actual
commands and have thus been removed from the
show wildcardscommand output.
- Build: added
TGTDIRoption to simplify building for a different target host (see README.md).
- Socket activation via multipathd.socket has been disabled by default because it has undesirable side effects (fixes #76, at least partially).
- The restorequeueing CLI command now only enables queueing if disablequeueing had been sent before.
- Error messages sent from multipathd to the command line client have been improved. The user will now see messages like "map or partition in use" or "device not found" instead of just "fail".
- multipathd now tracks the queueing mode of maps in its internal features
string. This is helpful to ensure that maps have the desired queuing
status. Without this, it could happen that a map remains in queueing state
even after the
no_path_retrytimeout has expired. - multipathd's map flushing code has been reworked to avoid hangs if there are
no paths but outstanding IO. Thus, if multipathd is running,
multipath -Fcan now retry map flushing using the daemon, rather than locally.
- A segmentation fault in the 0.9.7 autoresize code has been fixed.
- Fixed a bug introduced in 0.9.6 that had caused map reloads being omitted when path priorities changed.
- Fixed compilation with gcc 14. (Fixes #80)
- Minor fixes for issues detected by coverity.
- Spelling fixes and other minor fixes.
- Enabled
-D_FILE_OFFSET_BITS=64to fix issues with emulated 32-bit environments in the GitHub CI, so that we can now run our CI in arm/v7. - Added the check-spelling GitHub action.
- Various improvements and updates for the GitHub CI workflows.
- The options
bindings_file,wwids_fileandprkeys_file, which were deprecated since 0.8.8, have been removed. The path to these files is now hard-coded to$(statedir)(see below). - Added
max_retriesconfig option to limit SCSI retries. - Added
auto_resizeconfig option to enable resizing multipath maps automatically. - Added support for handling FPIN-Li events for FC-NVMe.
- Rework of alias selection code:
- strictly avoid using an alias that is already taken.
- cache bindings table in memory.
- write bindings file only if changes have been applied, and watch it with inotify.
- sort aliases in "alias order" by using length+alphabetical sort, allowing more efficient allocation of new aliases
- Avoid that
multipath -dchanges sysfs settings. - Fix memory and error handling of code using aio in the marginal paths code. and the directio checker (fixes #73).
- Insert compile time settings for paths in man pages correctly.
- Add new compile-time variable
statedirwhich defaults to/etc/multipath. - Add new compile-time variable
etc_prefixas prefix for config file and config dir. - Compile-time variable
usr_prefixnow defaults to/usrifprefixis empty. - Remove check whether multipath is enabled in systemd
.wantsdirectories. - README improvements.
- Added new path grouping policy
group_by_tpgto group paths by their ALUA target port group (TPG). - Added new configuration parameters
detect_pgpolicy(default: yes) anddetect_pgpolicy_use_tpg(default: no). - Add new wildcard
%Ato print target port group inlist paths formatcommand. - NVMe devices are now ignored if NVMe native multipath is enabled in the kernel.
- Prioritizers now use the same timeout logic as path checkers.
- Reload maps if the path groups aren't properly ordered by priority.
- Improve logic for updating path priorities.
- Avoid paths with unknown priority affecting the priority of their path group.
- Fix
max_sectors_kbfor cases where a path is deleted and re-added (Fixes #66). - Fix handling of
dev_loss_tmoin cases where it wasn't explicitly configured. - Syntax fixes in udev rules (Fixes #69).
- Adapt HITACHI/OPEN- config to work with alua and multibus.
- Build system fixes.
- Always use directio path checker for Linux TCM (LIO) targets (Fixes #54.
multipath -unow checks if path devices are already in use (e.g. mounted), and if so, makes them available to systemd immediately.
- Persistent reservations are now handled consistently. Previously, whether a PR key was registered for a path depended on the situation in which the path had been first detected by multipathd.
- Make sure that if a map device must be renamed and reloaded, both actions actually take place (previously, the map would only be renamed).
- Make sure to always flush IO if a map is resized.
- Avoid incorrectly claiming path devices in
find_multipaths smartcase for paths that have no valid WWID or for whichmultipath -ufailed. - Avoid paths failures for ALUA transitioning state (fixes #60.
- Handle persistent reservations correctly even if there are no active paths during map creation.
- Make sure all paths are orphaned if maps are removed.
- Avoid error messages for unsupported device designators in VPD pages.
- Fix a memory leak.
- Honor the global option
uxsock_timeoutin libmpathpersist (fixes #45). - Don't fail for devices lacking INQUIRY properties such as "vendor" (fixes #56).
- Remove
Also=inmultipathd.socket(fixes #65).
- Use Ubuntu 22.04 instead of 18.04.
- Verify device-mapper table configuration strings before passing them to the kernel.
- Fix failure of
setprstatus,unsetprstatusandunsetprkeycommands sent from libmpathpersist introduced in 0.9.2. - Fix a memory leak.
- Compilation fixes for some architectures, older compilers, and MUSL libc.
- Fix
show paths format %cfailure for orphan paths (fixes #49)
- Added a simple
autoconf-like mechanism. - Use "quiet build" by default, verbose build can be enabled using
make V=1. - Reworked the Makefile variables for configuring paths.
- Don't require perl just for installation of man pages.
- True "multi-architecture" workflows are now possible on GitHub workflows, to test compilation and run unit tests on different architectures.
- Containers for test builds are now pulled from ghcr.io rather than from docker hub.
- Updates for the hardware table: PowerMax NVMe, Alletra 5000, FAS/AFF and E/EF.
- Documentation fixes.
- Fix segmentation violation caused by different symbol version numbers in libmultipath and libmpathutil (fixes 47.
- Fix handling of device-mapper
queue_modeparameter. - Enforce
queue_mode biofor NVMe/TCP paths.
- Rework the command parsing logic in multipathd (CVE-2022-41974).
- Use
/runrather than/dev/shm(CVE-2022-41973). - Check transport protocol for NVMe devices.
- Rework feature string handling, fixing bugs for corner cases.
- Fix a race in kpartx partition device creation.
- Fix memory leak in the unix socket listener code.
- Fix a read past end of buffer in the unix socket listener code.
- Fix compilation error with clang 15.
- multipathd doesn't use libreadline any more due to licensing
conflicts, because readline has changed its license to GPL 3.0,
which is incompatible with the GPL-2.0-only license of parts of the
multipath-tools code base.
Therefore the command line editing feature in multipathd is
disabled by default. libedit can be used instead of libreadline by
setting
READLINE=libeditduring compilation.READLINE=libreadlinecan also still be set. Only the new helper program multipathc, which does not contain GPL-2.0 code, is linked with libreadline or libedit.multipathd -know executesmultipathc. Fixes 36. - As part of the work separating code of conflicting licenses, the multipath
library has been split into
libmultipathandlibmpathutil. The latter can be linked with GPL-3.0 code without licensing conflicts. - Speed up start of
multipath -uandmultipath -U. - Speed up seeking for aliases in systems with lots of alias entries.
- Always use the
emc_clariionchecker for Clariion/Unity storage arrays.
- Avoid checker thread blocking uevents or other requests for an extended amount of time with a huge amount of path devices, by occasionally interrupting the checker loop.
- Fix handling the case where a map ended up with no paths while being updated.
- Fix a segmentation violation in
list map formatcode. - Fix use-after-free in code handling path WWID changes by sorting the alias table.
- Fix timeout handling in unix socket listener code.
- Fix systemd timers in the initramfs.
- Fix
find_multipaths_timeoutfor unknown hardware. - Fix
multipath -lloutput for native NVMe.
- Cleanup code for sysfs access, and sanitize error handling.
- Separation of public and internal APIs in libmpathpersist.
- Build system fixes.
- Spelling fixes.
- The properties
dev_loss_tmo,eh_deadline, andfast_io_fail_tmocan now be set by protocol, in theoverrides→protocolsection ofmultipath.conf. - The
config_dirandmultipath_dirrun-time options, marked deprecated since 0.8.8, have been replaced by the build-time optionsconfigdir=andplugindir=, respectively. getuid_calloutis not supported any more.
- The uevent filtering and merging code has been re-written to avoid artificial delays in uevent processing.
- The
delayed_reconfigurelogic has been fixed.
- hardware table updates.