Files
packages/utils/lvm2
Thanh Vũ d21796cc7f lvm2: update to 2.03.44
Patch update:
- 002-const-stdio.patch: adjust hunk offsets

LVM2 2.03.44:
- round non-power-of-two VDO slab size up to a power of two in lvcreate
- make pthread_setname_np optional for older pthread libraries
- fix blkio invalidation of held or dirty blocks and interrupted waits
- report synchronous I/O failures through the blkio completion path
- release the label scan before forking the polldaemon
- add configure --with/out-libaio to control async engine support
- add configure --with/out-liburing to control io_uring support
- add optional io_uring io engine (requires liburing, kernel 5.1+)
- default the I/O engine to iouring, then threads, then libaio, then sync
- add pthread-based I/O engine to eliminate libaio io_destroy penalty
- deprecate use_aio; use_aio=0 still selects sync I/O
- add io_engine config to select the I/O engine
- warn and use sync I/O when the requested I/O engine is unavailable
- zero fill the tail of a short io engine read at the end of a device
- drain in-flight libaio on io engine destroy
- remove orphaned pvmove LV when force-removing a RAID LV locked for pvmove
- preserve committed metadata when pv_write updates an existing PV
- use mdadm-compatible CRC-32 when detecting DDF metadata
- detect NVMe multipath devices and handle uncached primary devices
- use the VDO pool data LV size for VDO memory checks
- warn about RAID reshape data corruption on kernels older than 6.11
- suggest remedies when duplicate PV devices block VG updates or activation
- improve documentation about PVs layered on top of LVs
- reject cache pool resize with a clear error instead of failing internally
- preserve RAID1 recovery state and rebuild markers when reducing images
- accept transient or incomplete dm-raid status during repair and reduction
- report the dead-primary RAID repair advice instead of refusing a rebuild
- fix out-of-bounds read when parsing short dmeventd client messages
- reject malformed numeric fields in dmeventd client registration messages
- reject dmeventd registrations without a plugin or device name
- use non-blocking dmeventd FIFO I/O and timeouts for stalled clients
- fix dmeventd timeout thread spin when no timeout is scheduled
- fix dmeventd monitor thread list when a thread fails before linking
- unregister dmeventd devices from plugins if monitoring stops early
- do not reuse dmeventd grace-period threads when the device inode is unknown
- reset dmeventd pending SIGALRM without changing signal disposition
- warn when parent directories of dmeventd FIFO paths are not secure
- validate systemd-activated dmeventd FIFOs and use non-blocking I/O
- fix dmeventd info when the running daemon returns no status reply data
- run build-tree binaries against build libraries, not installed copies
- avoid spurious dmeventd unregister errors when removing monitored snapshots
- run mirror repair from dmeventd when mirror reports in-sync with failed legs
- fix out-of-bounds access on an unterminated mda_header raw_locns (BZ2510937)
- log open failures at debug for devices excluded after scan I/O errors
- fix blkdeactivate to exit 0 when devices stay mounted by policy
- fix blkdeactivate -l wholevg when another LV in the VG stays mounted
- fix blkdeactivate exit status on failed deactivation or mpath queueing
- fix blkdeactivate umount for paths with spaces or lsblk hex escapes
- update lvmdump for lvmlockd; add -A; drop lvmetad collection
- harden fsadm size parsing and use mktemp for temporary mount dirs
- ignore _FSADM_YES from the environment; pass --yes only from the CLI
- fix fsadm fsck exit codes and mount detection via /proc/self/mountinfo
- harden lvm_import_vdo YAML and stat parsing against shell injection
- use mktemp in lvm_import_vdo; validate TMPDIR and tool binary overrides
- harden lvresize_fs_helper temp mounts, signal cleanup, and TMPDIR checks
- validate lvresize_fs_helper resize sizes and value-taking options
- fix lvresize_fs_helper btrfs, e2fsck handling, and --fsextend/--fsreduce
- prevent redundant device access after scan I/O errors (DEV_SCAN_NOT_READ)
- apply lvmlockd --lockopt force to all lock requests
- keep PR state after failed start
- apply PTPL when extending VG to ensure persistence when power cycling devs
- allow vgextend before any host starts PR on new devs
- fix pvscan autoactivation when DEVLINKS symlinks are not yet created

LVM2 2.03.43:
- wipe stale signatures before formatting a VDO data LV on thin storage
- warn on non-power-of-2 thin pool chunk size; prompt when --chunksize is used
- fix lvmpolld shutdown when reaping a finished client thread
- fix dmeventd raid repair after partial replacement or resync completion
- retry failed dmeventd snapshot extension with exponential backoff
- fix dmeventd snapshot threshold advance when lvextend failed
- fix dmeventd snapshot unmount on Invalid/Overflow, not 100% usage alone
- reject undersized --pooldatavdo conversion before allocating pool metadata
- allow lvchange --refresh and properties on hidden thin and cache pool sub LVs
- allow 4K stripe size smaller than page size (except on DAX and MD RAID)
- set recursion limit to 1024 LVs when processing device tree
- remove cmirrord and clustered mirror log daemon support
- remove legacy vgimportclone.sh script (superseded by native vgimportclone)
- respect /run/mdadm/creating-<md_dev_name> in 69-dm-lvm.rules
- add lvmconfig --edit Section/Field=Value to set an lvm.conf setting
- add lvmconfig --edit Section/Field=- to remove an lvm.conf setting
- fix use-after-free of host tag list on toolcontext refresh
- fix memleak of config tree list nodes on toolcontext refresh
- fix lvmconfig output of merged and unregistered config nodes
- recurse into subsections when merging config trees
- make lvmpersist reject non-block devices and unsupported device types
- make lvmpersist validate --vg/--device and key options before use
- make lvmpersist check for required PR tools (sg_persist, nvme, mpathpersist, jq)
- make lvmpersist clean up registered keys when interrupted during start/takeover
- make lvmpersist report failures from start, stop, clear, remove and query commands
- fix lvmpersist --vg device list splitting to avoid pathname expansion

device-mapper 1.02.218:
- handle incomplete RAID health status from dm-raid 1.9.0/1.9.1
- fix dmstats handling of stale group members after @stats_delete
- fix dmstats histogram bounds leak when statistics regions are re-listed
- validate dmsetup vdostats device name before use
- only prefix log output with source location when verbose is enabled

device-mapper 1.02.217:
- ignore stale raid sync/nosync in active table for reload suppression
- fix dmvdostats help -c to list VDO report fields instead of dmstats fields
- resolve dmsetup vdostats through device tree and try -vpool name suffix
- make library initialization and finalization safe with dlopen and dlclose
- disable LeakSanitizer for the dmsetup udevcomplete udev rule
- hard limit config parser to 128 section nesting
- convert recursive config cloning to iteration
- fix missing phtread key delete. (1.02.216)
- set parent pointers in dm_config_clone_node_with_mem when cloning nodes
- fix dm_config_parent_name for root nodes in tree parsed by dm_config_parse

Signed-off-by: Thanh Vũ <thanhv@tutamail.com>
2026-11-19 12:07:27 +02:00
..
2026-11-19 12:07:27 +02:00
2026-11-19 12:07:27 +02:00