Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lvm2 for openSUSE:Factory checked in at 2025-12-25 19:57:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lvm2 (Old) and /work/SRC/openSUSE:Factory/.lvm2.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lvm2" Thu Dec 25 19:57:21 2025 rev:177 rq:1324348 version:2.03.38 Changes: -------- --- /work/SRC/openSUSE:Factory/lvm2/lvm2.changes 2025-04-20 20:03:12.173109015 +0200 +++ /work/SRC/openSUSE:Factory/.lvm2.new.1928/lvm2.changes 2025-12-25 19:57:22.858587669 +0100 @@ -1,0 +2,179 @@ +Tue Dec 22 04:56:09 UTC 2025 - Glass Su <[email protected]> + +- Update lvm2 from LVM2.2.03.29 to LVM2.2.03.38 + + *** WHATS_NEW from 2.03.29 to 2.03.38 *** + + Version 2.03.38 - 15th December 2025 + ==================================== + Synchronize with udev after creating pool metadata spare volume. + Conversion to thin-pool removes activation skipping from converted LVs. + Configure now checks for xfs/xfs.h. + Workaround for libblkid returning old FSLASTBLOCK immediately after resize. + Enhance pvmove activation and deactivation. + LV locks whole device tree using such locked LV. + + Version 2.03.37 - 21st November 2025 + ==================================== + Remove unsupported --blockdevice option from lvscan. + Support output in list mode for all lvmconfig --typeconfig types with --list. + Enhance shutdown performance of daemons using libdaemon. + Update lvmdevices(8). + Add --force option for lvmdevices --update. + Add --listids, --delid, --addid options for manipulation by device_id to lvmdevices. + Add missing synchronization for vdopool. + Fix deadlock in lvmdbusd on SIGINT in lvm shell mode. + Add VG attr character and pr field for persistent reservation status to vgs. + Fix persistent reservations setting handling in vgmerge, vgsplit and vgimportclone. + Add missing synchronization while converting cachevols. + Warn on classic snapshot on raid creation and error on activation if missing. + Translate udev device paths in lvmdbusd for test environments. + Use source='udev' in lvmdbusd to monitor processed udev events. + Symlink to /dev nodes when using alternative dev dir to trigger udev. + Avoid passing uninitilized buffer in dmeventd to fix valgrind report. + Improve lvmdbusd matching of udevd reported device paths. + + Version 2.03.36 - 24th October 2025 + =================================== + Fix uninitialized chunk_size_calc_policy in pool parameter functions. + Fix approximate allocation for Raid with insufficient extents. + Fix race in dmeventd remonitoring optimization (2.03.35). + Use -real suffix for pvmove UUID. + Add support pvmove segmentation allocation/pvmove_max_segmentation_size_mb. + Allow creating _imeta with multiple segments. + Fix driver_version() accepts NULL version buffer pointer. + Fix invalid free() call in error path of _add_metadata_area_to_pv(). + Avoid destroying aio context in forked process. + Add lvs -o cache_promotions,cache_promotions fields. + Update pvmove logic when moving i.e. raid legs. + Display integrity info in lvdisplay. + Increase storage size for internal filter chain. + Add helper function display_mb_size(). + Enhance code for adding and removing integrity to RAID volumes. + Add code for basic validation of integrity segment. + Use -real private suffix for integrity origin and meta volumes. + Use -real private suffix for mirror and raid legs. + Detect and use existing XFS quota mount options for lvresize --fs resize. + + Version 2.03.35 - 09th September 2025 + ===================================== + Fix unlocking devices file only after all PVs are processed. + Avoid creating system.devices when deleting entries. + Fix existing issues with persistent reservations. + Fix possible report output format inconsistencies while processing PVs. + Allow report options for pv/vg/lvdisplay only if used with -C|--columns. + Fix vgsplit failing to split a VG with RAID+integrity or cache with cachevol. + Fix --lockopt handling in lvmlockd when --nolocking is used. + Optimize dmeventd when remonitoring active devices. + + Version 2.03.34 - 30th July 2025 + ================================ + Support dmeventd restart when there are no monitored devices. + Dmeventd no longer calls 'action commands' on removed devices. + Fix reader of VDO metadata on 32bit architecture. + Fix lvmdevices --deldev/--delpvid to error out if devices file not writeable. + Fix lvresize corruption in LV->crypt->FS stack if near crypt min size limit. + Enhanced lvresize -r support for btrfs. + Use glibc standard functions htoX, Xtoh functions for endian conversion. + Fix structure copying within sanlock's release_rename(). + Fix autoactivation on top of loop dev PVs to trigger once for change uevents. + Add lvmlockd --lockopt repair to reinitialize corrupted sanlock leases. + Fix support for lvcreate -T --setautoactivation. + Add lvm.conf global/lvresize_fs_helper_executable. + Enable lvm to use persistent reservations on a VG. + + Version 2.03.33 - 27th June 2025 + ================================ + Various spelling, grammar, formatting, test, and build script improvements. + Override LC_NUMERIC locale if unsuitable for json_std report format. + Repair raid arrays with transiently lost devices. + + Version 2.03.32 - 05th May 2025 + =============================== + Lvconvert vdopool conversion properly validates acceptable LVs. + Accept thin pool data LV as cacheable LV. + Allow using zram block devices (likely for testing). + Fix lvresize when resizing COW snapshots already covering origin. + Fix lvmdbusd read of executed lvm commands output. + Fix construction of DM UUID for cachevol _cdata and _cmeta devices. + Ignore PV claims from old metadata when then PV belongs to a new VG. + Fix integrity metadata rounding. + Accept --autobackup option in pvresize. + + Version 2.03.31 - 27th February 2025 + ==================================== + Reduce 'mandoc -T lint' reported issues for man pages. + Restore support for LVM_SUPPRESS_FD_WARNINGS (2.03.24). + Fix uncache and split cache restoring original state of volume. + Extend use of lockopt skip to more scenarios. + Enhance error path resolving in polling code. + Disallow shared activation of LV with CoW snapshot. + Fix lvmlockd use in lvremove of CoW snapshot, VDO pool, and uncache. + Improve mirror split with opened temporary volumes. + Improve pvmove finish with opened temporary volumes. + Fix backup limit for devices file, handle over 10,000 files. + Ignore reported optimal_io_size not divisible by 4096. + Fix busy-loop in config reading when read returned 0. + Fix DM cache preserving logic (2.03.28). + Improve use of lvmlockd for usecases involving thin volumes and pools. + + Version 2.03.30 - 14th January 2025 + =================================== + Lvresize reports origin vdo volume cannot be resized. + Support setting reserved_memory|stack of --config cmdline. + Fix support for disabling memory locking (2.03.27). + Do not extend an LV if FS resize unsupported and '--fs resize' used. + Prevent leftover temporary device when converting in use volume to a pool. + lvconvert detects early volume in use when converting it to a pool. + Handle NVMe with quirk changed WWID not matching WWID in devices file. + + *** WHATS_NEW_DM from 1.02.203 to 1.02.212 *** + + Version 1.02.212 - 15th December 2025 + ===================================== + + Version 1.02.211 - 21st November 2025 + ===================================== + Dmeventd starts to use mutex per thread. + Consolidate dmsetup stats display functions using helper macros. + Refactor dmsetup _process_tree_options to use bsearch. + + Version 1.02.210 - 24th October 2025 + ==================================== + + Version 1.02.209 - 09th September 2025 + ====================================== + + Version 1.02.208 - 30th July 2025 + ================================= + + Version 1.02.207 - 27th June 2025 + ================================= + Escape the escape character itself on JSON report format output. + Fail dm_report_group_create if radix char from locale unsuitable for JSON_STD. + + Version 1.02.206 - 05th May 2025 + ================================ + Add support for using regex in selection criteria for string lists. + Fix string list selection when using [<item> || <item> ...]. + + Version 1.02.205 - 27th February 2025 + ===================================== + Restore missing symbol dm_tree_node_size_changed@Base (1.02.175). + Restore missing symbol dm_bitset_parse_list@@DM_1_02_138 (1.02.175). + + Version 1.02.204 - 14th January 2025 + ==================================== + Create /dev/disk/by-diskseq/<DISKSEQ> symlink for public DM devices. + +- Update lvm2.spec + - change lvm2_version to 2.03.38 + - change upstream_device_mapper_version and device_mapper_version to 1.02.212 + - include new binary lvmpersist and related man page + +- Update patches + - fate-309425_display-dm-name-for-lv-name.patch + - fate-31841-01_fsadm-add-support-to-resize-check-btrfs-filesystem.patch + - fate-31841-02_man-add-support-for-btrfs.patch + +------------------------------------------------------------------- @@ -2247 +2425,0 @@ - @@ -2644 +2821,0 @@ -Mon May 25 16:47:18 CST 2009 - [email protected] @@ -2645,0 +2823 @@ +Mon May 25 16:47:18 CST 2009 - [email protected] @@ -2649 +2826,0 @@ -Mon Apr 27 18:37:32 CST 2009 - [email protected] @@ -2650,0 +2828 @@ +Mon Apr 27 18:37:32 CST 2009 - [email protected] @@ -3525,2 +3702,0 @@ - -------------------------------------------------------------------- Old: ---- LVM2.2.03.29.tgz LVM2.2.03.29.tgz.asc New: ---- LVM2.2.03.38.tgz LVM2.2.03.38.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lvm2.spec ++++++ --- /var/tmp/diff_new_pack.kUSAl6/_old 2025-12-25 19:57:27.042760483 +0100 +++ /var/tmp/diff_new_pack.kUSAl6/_new 2025-12-25 19:57:27.058761144 +0100 @@ -21,11 +21,11 @@ %define libname_event libdevmapper-event1_03 %define _udevdir %(pkg-config --variable=udevdir udev) %define cmdlib liblvm2cmd2_03 -%define lvm2_version 2.03.29 +%define lvm2_version 2.03.38 # For device_mapper_version, it's package version, see bsc#1199074. # Also note there is another dm version on below "sed -ie ... VERSION_DM". -%define upstream_device_mapper_version 1.02.203 -%define device_mapper_version %{lvm2_version}_1.02.203 +%define upstream_device_mapper_version 1.02.212 +%define device_mapper_version %{lvm2_version}_1.02.212 %define thin_provisioning_version 0.7.0 %if 0%{?suse_version} >= 1600 && ! 0%{?is_opensuse} %define _supportsanlock 0 @@ -583,6 +583,7 @@ %{_sbindir}/lvdisplay %{_sbindir}/lvextend %{_sbindir}/lvmdiskscan +%{_sbindir}/lvmpersist %{_sbindir}/lvmsadc %{_sbindir}/lvmsar %{_sbindir}/lvreduce @@ -639,6 +640,7 @@ /sbin/lvdisplay /sbin/lvextend /sbin/lvmdiskscan +/sbin/lvmpersist /sbin/lvmsadc /sbin/lvmsar /sbin/lvreduce @@ -697,6 +699,7 @@ %{_mandir}/man8/lvmdevices.8%{?ext_man} %{_mandir}/man8/lvm-dumpconfig.8%{?ext_man} %{_mandir}/man8/lvmdiskscan.8%{?ext_man} +%{_mandir}/man8/lvmpersist.8%{?ext_man} %{_mandir}/man8/lvmdump.8%{?ext_man} %{_mandir}/man8/lvm-fullreport.8%{?ext_man} %{_mandir}/man8/lvmsadc.8%{?ext_man} ++++++ LVM2.2.03.29.tgz -> LVM2.2.03.38.tgz ++++++ ++++ 124785 lines of diff (skipped) ++++++ fate-309425_display-dm-name-for-lv-name.patch ++++++ --- /var/tmp/diff_new_pack.kUSAl6/_old 2025-12-25 19:57:31.018924705 +0100 +++ /var/tmp/diff_new_pack.kUSAl6/_new 2025-12-25 19:57:31.058926358 +0100 @@ -4,13 +4,13 @@ lib/display/display.c | 13 +++++++++---- 3 files changed, 13 insertions(+), 4 deletions(-) -Index: LVM2.2.02.170/lib/config/config_settings.h +Index: LVM2.2.03.38/lib/config/config_settings.h =================================================================== ---- LVM2.2.02.170.orig/lib/config/config_settings.h -+++ LVM2.2.02.170/lib/config/config_settings.h -@@ -1039,6 +1039,9 @@ cfg(global_fsadm_executable_CFG, "fsadm_ - "The full path to the fsadm command.\n" - "LVM uses this command to help with lvresize -r operations.\n") +--- LVM2.2.03.38.orig/lib/config/config_settings.h ++++ LVM2.2.03.38/lib/config/config_settings.h +@@ -1351,6 +1351,9 @@ + "The full path to the lvresize_fs_helper command.\n" + "LVM uses this command to help with filesystem operations during lvresize.\n") +cfg(global_display_dm_name_for_lv_name_CFG, "display_dm_name_for_lv_name", global_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_BOOL, DEFAULT_DISPLAY_DM_NAME_FOR_LV_NAME, vsn(2, 2, 98), NULL, 0, NULL, + "Display dm name for lv name.\n") @@ -18,11 +18,11 @@ cfg(global_system_id_source_CFG, "system_id_source", global_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_STRING, DEFAULT_SYSTEM_ID_SOURCE, vsn(2, 2, 117), NULL, 0, NULL, "The method LVM uses to set the local system ID.\n" "Volume Groups can also be given a system ID (by vgcreate, vgchange,\n" -Index: LVM2.2.02.170/lib/config/defaults.h +Index: LVM2.2.03.38/lib/config/defaults.h =================================================================== ---- LVM2.2.02.170.orig/lib/config/defaults.h -+++ LVM2.2.02.170/lib/config/defaults.h -@@ -33,6 +33,7 @@ +--- LVM2.2.03.38.orig/lib/config/defaults.h ++++ LVM2.2.03.38/lib/config/defaults.h +@@ -45,6 +45,7 @@ #define DEFAULT_OBTAIN_DEVICE_LIST_FROM_UDEV 0 #define DEFAULT_EXTERNAL_DEVICE_INFO_SOURCE "none" #define DEFAULT_SYSFS_SCAN 1 @@ -30,11 +30,11 @@ #define DEFAULT_MD_COMPONENT_DETECTION 1 #define DEFAULT_FW_RAID_COMPONENT_DETECTION 0 #define DEFAULT_MD_CHUNK_ALIGNMENT 1 -Index: LVM2.2.02.170/lib/display/display.c +Index: LVM2.2.03.38/lib/display/display.c =================================================================== ---- LVM2.2.02.170.orig/lib/display/display.c -+++ LVM2.2.02.170/lib/display/display.c -@@ -413,10 +413,15 @@ int lvdisplay_full(struct cmd_context *c +--- LVM2.2.03.38.orig/lib/display/display.c ++++ LVM2.2.03.38/lib/display/display.c +@@ -452,10 +452,15 @@ lv->vg->cmd->dev_dir, lv->vg->name, lv->name); else if (lv_is_visible(lv)) { /* Thin pool does not have /dev/vg/name link */ ++++++ fate-31841-01_fsadm-add-support-to-resize-check-btrfs-filesystem.patch ++++++ --- /var/tmp/diff_new_pack.kUSAl6/_old 2025-12-25 19:57:31.226933297 +0100 +++ /var/tmp/diff_new_pack.kUSAl6/_new 2025-12-25 19:57:31.262934784 +0100 @@ -31,10 +31,10 @@ scripts/fsadm.sh | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 86 insertions(+), 2 deletions(-) -diff --git a/scripts/fsadm.sh b/scripts/fsadm.sh -index 9ae422f55edf..a7345c503f77 100755 ---- a/scripts/fsadm.sh -+++ b/scripts/fsadm.sh +Index: LVM2.2.03.38/scripts/fsadm.sh +=================================================================== +--- LVM2.2.03.38.orig/scripts/fsadm.sh 2025-12-23 13:05:56.339324006 +0800 ++++ LVM2.2.03.38/scripts/fsadm.sh 2025-12-23 13:07:44.671817336 +0800 @@ -22,6 +22,7 @@ # ext2/ext3/ext4: resize2fs, tune2fs # reiserfs: resize_reiserfs, reiserfstune @@ -43,7 +43,7 @@ # # Return values: # 0 success -@@ -59,6 +60,7 @@ XFS_CHECK="xfs_check" +@@ -88,6 +89,7 @@ # XFS_REPAIR -n is used when XFS_CHECK is not found XFS_REPAIR="xfs_repair" CRYPTSETUP="cryptsetup" @@ -51,7 +51,7 @@ # user may override lvm location by setting LVM_BINARY LVM=${LVM_BINARY:-lvm} -@@ -78,6 +80,9 @@ BLOCKCOUNT= +@@ -107,6 +109,9 @@ MOUNTPOINT= MOUNTED= REMOUNT= @@ -61,7 +61,7 @@ PROCDIR="/proc" PROCMOUNTS="$PROCDIR/mounts" PROCSELFMOUNTINFO="$PROCDIR/self/mountinfo" -@@ -237,6 +242,33 @@ detect_fs() { +@@ -276,6 +281,33 @@ verbose "\"$FSTYPE\" filesystem found on \"$VOLUME\"." } @@ -95,7 +95,7 @@ # Check that passed mounted MAJOR:MINOR is not matching $MAJOR:MINOR of resized $VOLUME validate_mounted_major_minor() { -@@ -365,7 +397,11 @@ detect_mounted_with_proc_mounts() { +@@ -404,7 +436,11 @@ # check if the given device is already mounted and where # FIXME: resolve swap usage and device stacking detect_mounted() { @@ -108,8 +108,8 @@ detect_mounted_with_proc_self_mountinfo elif test -e "$PROCMOUNTS"; then detect_mounted_with_proc_mounts -@@ -662,6 +698,47 @@ resize_crypt() { - dry "$CRYPTSETUP" resize "$1" --size $CRYPT_RESIZE_BLOCKS || error "$CRYPTSETUP failed to resize device $1" +@@ -713,6 +749,47 @@ + "Target size: $CRYPT_RESIZE_BLOCKS sectors." } +######################## @@ -156,15 +156,15 @@ #################### # Resize filesystem #################### -@@ -685,6 +762,7 @@ resize() { +@@ -736,6 +813,7 @@ "crypto_LUKS") - which "$CRYPTSETUP" >"$NULL" 2>&1 || error "$CRYPTSETUP utility required to resize LUKS volume" + which "$CRYPTSETUP" >"$NULL" 2>&1 || error "$CRYPTSETUP utility required to resize LUKS volume." CMD=resize_luks ;; + "btrfs") CMD=resize_btrfs ;; *) error "Filesystem \"$FSTYPE\" on device \"$VOLUME\" is not supported by this tool." ;; esac -@@ -762,6 +840,12 @@ check() { +@@ -820,6 +898,12 @@ which "$CRYPTSETUP" >"$NULL" 2>&1 || error "$CRYPTSETUP utility required." check_luks || error "Crypto luks check failed." ;; @@ -177,7 +177,7 @@ *) error "Filesystem \"$FSTYPE\" on device \"$VOLUME\" is not supported by this tool." ;; esac -@@ -780,7 +864,7 @@ test -n "${FSADM_RUNNING-}" && exit 0 +@@ -838,7 +922,7 @@ for i in "$TUNE_EXT" "$RESIZE_EXT" "$TUNE_REISER" "$RESIZE_REISER" \ "$TUNE_XFS" "$RESIZE_XFS" "$MOUNT" "$UMOUNT" "$MKDIR" \ "$RMDIR" "$BLOCKDEV" "$BLKID" "$GREP" "$READLINK" \ @@ -186,7 +186,4 @@ test -n "$i" || error "Required command definitions in the script are missing!" done --- -1.8.3.1 - ++++++ fate-31841-02_man-add-support-for-btrfs.patch ++++++ --- /var/tmp/diff_new_pack.kUSAl6/_old 2025-12-25 19:57:31.414941062 +0100 +++ /var/tmp/diff_new_pack.kUSAl6/_new 2025-12-25 19:57:31.478943706 +0100 @@ -11,19 +11,11 @@ man/fsadm.8_main | 4 ++++ 1 file changed, 4 insertions(+) -diff --git a/man/fsadm.8_main b/man/fsadm.8_main -index dfff5bb97021..ad924ac3a304 100644 ---- a/man/fsadm.8_main -+++ b/man/fsadm.8_main -@@ -31,6 +31,7 @@ It tries to use the same API for - .BR ext2 , - .BR ext3 , - .BR ext4 , -+.BR btrfs , - .BR ReiserFS - and - .BR XFS -@@ -119,6 +120,9 @@ Defaults to "\fI/dev\fP" and must be an absolute path. +Index: LVM2.2.03.38/man/fsadm.8_main +=================================================================== +--- LVM2.2.03.38.orig/man/fsadm.8_main 2025-12-23 12:06:54.757212415 +0800 ++++ LVM2.2.03.38/man/fsadm.8_main 2025-12-23 12:07:22.353229247 +0800 +@@ -135,6 +135,9 @@ .BR tune2fs (8), .BR resize2fs (8), .P @@ -33,7 +25,4 @@ .BR reiserfstune (8), .BR resize_reiserfs (8), .P --- -1.8.3.1 -
