From patchwork Thu Apr 30 18:36:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9779 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4g62vX230Gz3x94 for ; Thu, 30 Apr 2026 18:36:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4g62vW2M5lz7Pr for ; Thu, 30 Apr 2026 18:36:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4g62vV6TXyz344t for ; Thu, 30 Apr 2026 18:36:54 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4g62vS1bnkz33n0 for ; Thu, 30 Apr 2026 18:36:52 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4g62vR5R4xz2Vt; Thu, 30 Apr 2026 18:36:51 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1777574211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z2Tv/dF8yvbafQla7QKTA65SHZvHI1AcM5DS4DS0mt4=; b=kFRU4imY/7X7TLW0wX2/bSuXfkJ5WS+8LFGgB+dGa5CdUtbaRgRu9ESc3mvWO7Asp+QwCx MYn12Ezqi5/oUdCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1777574211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z2Tv/dF8yvbafQla7QKTA65SHZvHI1AcM5DS4DS0mt4=; b=D4ThyjyKu0We1nO+nJm9Vm7zT4PN0FXRxMI/XPwtzemsGCmbxDsWfps/wE1c0I6dHj2pj8 v4R7eOmhLZgO5WJ+8TctPwJzsN+pa/j6hpQheb6Dy45y7LrLC2lFUMry+UkfCeO7dcIeCA bJz/iaLXOKAxymopwkk0YngS7tOpMf+Pw6lCO5S/i5Z2XH33ikrqVSiPbAe7tDbIIFcYAk F/6zvhHAvvwFmjWFV1c4E+jIJVXs4eErroOROUS5AK2UO84r4mNAKA687tSJujOG4uDv/D MzzmdUku8Zm1VpYWk1dWHq5BZI70lNrhiijTgxKFmiqEv8fMM3qO7j07t5+ZGg== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] lvm2: Update to version 2.03.40 Date: Thu, 30 Apr 2026 20:36:46 +0200 Message-ID: <20260430183648.2774994-3-adolf.belka@ipfire.org> In-Reply-To: <20260430183648.2774994-1-adolf.belka@ipfire.org> References: <20260430183648.2774994-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 2.03.39 to 2.03.40 - Update of rootfile - Changelog 2.03.40 Reset warned flag in dmeventd raid plugin when device fully syncs. Fix inverted range comparison in libdm reserved value check. Fix percent_check threshold stuck above 100% in dmeventd thin/vdo plugins. Fix cache_check_for_warns reading wrong cache mode for cachevol. Fix memory leak in process_each_label duplicate handling. Fix missing unlock_vg in vgcreate when pvcreate_each_device fails. Lock the origin LV when locking a COW snapshot in lvmlockd. Preserve bcache AIO context across lvm shell commands to avoid reinit cost. Fix msg.data leaks in dmeventd restart and reinstate paths. Fix VG lock leak on init_processing_handle failure in vgcreate. Fix VG lock leak on lv_remove_single failure in vgmerge. Fix VG lock leak on second lock_vol failure in vgimportclone. Fix VG lock leak on early return in pvscan. Fix inverted strstr check in remove_layer_from_lv layer rename. Fix inverted strcmp for vgchange --persist lockstart check. Fix argv overwriting last vdoformat option with device path. Fix NULL deref of sync_action in dm_get_status_raid. Fix recovery rate check in lvcreate when max rate is unset. Fix dm_strncpy off-by-one in raid split image conversion name. Fix missing failure return after reshape space allocation error in raid. Pre-create udev cookie before critical section to avoid resume failures. Validate area_count before subtracting parity_devs in RAID metadata import. Validate area_count against MAX_STRIPES to prevent integer overflow. Validate mda size and prevent uint64 to uint32 truncation in metadata reads. Extract label_check_pv_layout to validate PV label buffer structure. Remove redundant memset from command registration (global array is zero-init). Kill orphaned polling lvpoll process in lvmpolld on pvmove --abort. Fix pvmove mirror image bounds check off-by-one in poll completion. Fix dev_manager to restore track_pvmove_deps flag on error path. Signed-off-by: Adolf Belka --- config/rootfiles/common/lvm2 | 2 ++ lfs/lvm2 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/common/lvm2 b/config/rootfiles/common/lvm2 index 61da721b1..45150d859 100644 --- a/config/rootfiles/common/lvm2 +++ b/config/rootfiles/common/lvm2 @@ -23,6 +23,7 @@ usr/lib/udev/rules.d/95-dm-notify.rules usr/sbin/blkdeactivate usr/sbin/dmsetup usr/sbin/dmstats +usr/sbin/dmvdostats usr/sbin/fsadm usr/sbin/lvchange usr/sbin/lvconvert @@ -87,6 +88,7 @@ usr/sbin/vgsplit #usr/share/man/man8/blkdeactivate.8 #usr/share/man/man8/dmsetup.8 #usr/share/man/man8/dmstats.8 +#usr/share/man/man8/dmvdostats.8 #usr/share/man/man8/fsadm.8 #usr/share/man/man8/lvchange.8 #usr/share/man/man8/lvconvert.8 diff --git a/lfs/lvm2 b/lfs/lvm2 index bc2de3904..538cb161e 100644 --- a/lfs/lvm2 +++ b/lfs/lvm2 @@ -24,7 +24,7 @@ include Config -VER = 2.03.39 +VER = 2.03.40 THISAPP = LVM2.$(VER) DL_FILE = $(THISAPP).tgz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 24dc0f3a07dbd07a808343bb35078b6fe9e0372052c5d58c1d18b525ed23621434accce891d0a9390f9b5bd790c2d67dd22280746aada409e02c7cef9d9fae1f +$(DL_FILE)_BLAKE2 = 8879915ba959de72becceddfccd4a9f7cae14e1614cddc1b4f89ad6f784ecbca03c0d734e834f87f9f53b432aa16ac9a55c9e1c93cdf199a53166ea4c1964330 install : $(TARGET)