From c19da934f69ca98818cc93d3cc0ab1a0fbffebd106bb2267779c9b56aa748eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 13 Jan 2025 12:17:31 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main lvm2 revision bc8b417a1c1b4f067fa332e4ec965e6e --- LVM2.2.03.24.tgz | 3 -- LVM2.2.03.24.tgz.asc | 16 ------- LVM2.2.03.29.tgz | 3 ++ LVM2.2.03.29.tgz.asc | 16 +++++++ lvm2.changes | 99 ++++++++++++++++++++++++++++++++++++++++++++ lvm2.spec | 13 ++++-- 6 files changed, 127 insertions(+), 23 deletions(-) delete mode 100644 LVM2.2.03.24.tgz delete mode 100644 LVM2.2.03.24.tgz.asc create mode 100644 LVM2.2.03.29.tgz create mode 100644 LVM2.2.03.29.tgz.asc diff --git a/LVM2.2.03.24.tgz b/LVM2.2.03.24.tgz deleted file mode 100644 index c9da9bb..0000000 --- a/LVM2.2.03.24.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:593c5503ba00faab1c6e0b4a597b9605ec7b5881845c04bf412ebf9d1bbfa13c -size 2826333 diff --git a/LVM2.2.03.24.tgz.asc b/LVM2.2.03.24.tgz.asc deleted file mode 100644 index 6e99354..0000000 --- a/LVM2.2.03.24.tgz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEE1QGkeEQK4v0TChvouREkMeUJA58FAmZF3zYACgkQuREkMeUJ -A5+JxA/9HXxpPzrLKLo4+TmGHw53eVp/xrFCNt43AO+cywJ/iAyZNa/Moyz8xD1k -nBtEoGk/2yooJlHWnrtxKCXGVuNiUwuzRwwsU/EVB1+UA/x8GMUaQHelOzGwCFsd -YxmsoQ6rGE9+GMfz3AMd0noOPJkj5g8GXIy1Dv3wF8/xdaRcEEODbPYCBmVTVtv7 -vrNVAP9yXo4tibV05C0Arm8D9ymWK/pXjE3LHD1m7s66gLDziubYNuiOik4nb5y9 -DiECfO1B1fNXMF51FH3miRia/UgoDbrJhkVTTDrDO9ivjq4A7LZPpBmV93gNDOM9 -1aGymKFv0zgzveyOdr+As7GvH8ShQSbcXUAwerGXjvcjqx3VbPR0yZo1jY6cDY+F -58K1bGG0XmdfxasWW/ZZjpCPs2bfpaMadDcnOC9gs7h5jVF7D7rAS+twazGqI/Yg -Ak2IsBMVYV2WRuEyBHqCYKsQlhsybtYm+ptn7k9qc1QDJXXrjJbE1USmNtdC5Dyj -nvpkkxdehzxDgcCKg1xr2lKkKTXO40+uXlhaDRmmVvAkrXIJQGqizfbB6rk3LsM8 -tKfCOyQbp7nE0ZtOYmZIqeb0WZ1N/mHIOjzMefx7IfDKX4neJ7f1kB4F3ntjsIOK -hNjVH8CTjKqckMTJzwR/zpIXp3LfSvdNGVfVX/ghsSr8A7aiODU= -=T58+ ------END PGP SIGNATURE----- diff --git a/LVM2.2.03.29.tgz b/LVM2.2.03.29.tgz new file mode 100644 index 0000000..6fe9282 --- /dev/null +++ b/LVM2.2.03.29.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30c53776cb4ddf6bf9eca29d0c28dbf9c5ac170c09154321213b11c3dbb5be9c +size 2859529 diff --git a/LVM2.2.03.29.tgz.asc b/LVM2.2.03.29.tgz.asc new file mode 100644 index 0000000..5216138 --- /dev/null +++ b/LVM2.2.03.29.tgz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEE1QGkeEQK4v0TChvouREkMeUJA58FAmdW28AACgkQuREkMeUJ +A5/RlxAAyjDB0s/gr74RY7B7+NH5iyNEwuBdmZHa3c9ppi/uNKY1ue3lmTCXdmx8 +3GP19LpjmwTOe0T+BCAOuUPTS1mzDMwQGIcsEngSoWvU6GjS6kJNcM1r276RlPSI +8LgR1qrecDde6lB3eRyEqJAFPcfwhj9zK1/EKk3HsAWr0Fy9fb7asGC0gY7JdVtg +lPoz714gMtZRqRbegjJ7IM7pE00q84vOHGac++FZ4atxMQ1SEpXN9PN6sY4B0m6k +X6XRRdO6gf5rS+toE+dX/NTEA9seqZG3ml+65Yu+87T9qzKuGpa/+zOTwVrTJUMO +R71muoUlscCv4yI7zPWHdyO15fOBxWNOSiuEkduFqNCNBCRtasMDVcK+fglTTc87 +r3x2qwauAP/GTZNY4DZAWyxANS39Na/i77OXcYoDR8LSVU0jd5MlIRRjrL67Tu9v +wWVCcSTzYl+5XJUwe2OGoDOW56nWM/q7i00SJ82Ez4Q2nl5XTkCvkeyR3bgUOTi7 +mSNp265E2Pzk3cZKwK3eqql9N0frbnRsWFTrF94F1I/wAI6Sk7O84cLtyhXLufGS +6+IC+d9mNKVVC+Ql+/IXM4ovA9sKW5kUs01Sm02fiva6DvsATOBp7wu5QnS+2aPt +1SJ5wFMrEmyO8oDd8M8uBkwG5rH4dvUGKJJn1e7C17TFxIItkHA= +=q6VK +-----END PGP SIGNATURE----- diff --git a/lvm2.changes b/lvm2.changes index 1b793ab..16c3dc6 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,102 @@ +------------------------------------------------------------------- +Mon Dec 16 05:58:47 UTC 2024 - Glass Su + +- Update lvm2 from LVM2.2.03.24 to LVM2.2.03.29 + + *** WHATS_NEW from 2.03.24 to 2.03.29 *** + + Version 2.03.29 - 09th December 2024 + ==================================== + Configure --enable/disable-sd-notify to control lvmlockd build with sd-notify. + Allow test mode when lvmlockd is built without dlm support. + Add a note about RAID + integrity synchronization to lvmraid(7) man page. + Add a function for running lvconvert --repair on RAID LVs to lvmdbusd. + Improve option section of man pages for listing commands ({pv,lv,vg}{s,display}). + Fix renaming of raid sub LVs when converting a volume to raid (2.03.28). + Fix segfault/VG write error for raid LV lvextend -i|--stripes -I|--stripesize. + Revert ignore -i|--stripes, -I|--stripesize for lvextend on raid0 LV (2.03.27). + + Version 2.03.28 - 04th November 2024 + ==================================== + Use radix_tree to lookup for UUID within committed metadata. + Use radix_tree to lookup LV list entry within VG struct. + Introduce setting config/validate_metadata = full | none. + Restore fs resize call for lvresize -r on the same size LV (2.03.17). + Correct off-by-one devicesfile backup counting. + Replace use of dm_hash with radix_tree for lv names and uuids. + Refactor vg_validate with uniq_insert and better use of CPU caches. + Add radix_tree_uniq_insert. + Update DM cache when taking next VG lock instead of dropping it. + Generate json string id only for json reporting. + For vgsummary use new API call dm_config_parse_only_section(). + Use radix_tree for PV names mapping. + Split check_lv_segment into separate _in/complete_vg variant. + Use find_lv instead of find_lv_in_vg when possible. + Do a mirror fixup only when mirrors with logs are imported. + Add faster crc32 calculation from zlib code for x86_64. + Fall back to direct zeroing if BLKZEROOUT fails during new LV initialization. + + Version 2.03.27 - 02nd October 2024 + =================================== + Fix swap device size detection using blkid for lvresize/lvreduce/lvextend. + Detect GPT partition table and pass partition filter if no partitions defined. + Add global/sanlock_align_size option to configure sanlock lease size. + Disable mem locking when activation/reserved_stack or reserved_memory is 0. + Fix locking issues in lvmlockd leaving thin pool locked. + Deprecate vdo settings vdo_write_policy and vdo_write_policy. + Lots of typo fixes across lvm2 code base (codespell). + Corrected integrity parameter interleave_sectors for DM table line. + Ignore -i|--stripes, -I|--stripesize for lvextend on raid0 LV, like raid10. + Do not accept duplicate device names for pvcreate. + + Version 2.03.26 - 23rd August 2024 + ================================== + Fix internal error reported by pvmove on a VG with single PV. + Also accept --mknodes --refresh for vgscan. + Fix vgmknodes --refresh to wait for udev before checking /dev content. + Use log/report_command_log=1 config setting by default for JSON output format. + Fix unreleased memory pools on RAID lvextend. + Add --integritysettings option to manipulate dm-integrity settings. + + Version 2.03.25 - 12nd July 2024 + ================================ + Utilize more radix_tree instead of dm_hash and btree. + Refactor DM uuid caching from device_mapper directory. + Enhance checking for DM uuid device. + Fix lvm shell command completion on tab key (2.03.24). + Avoid lockd_vg call to lvmlockd for local VGs. + Allow forced change of locktype from none. + Handle OPTIONS defined in /etc/sysconfig/lvmlockd. + + *** WHATS_NEW_DM from 1.02.198 to 1.02.203 *** + + Version 1.02.203 - 09th December 2024 + ===================================== + + Version 1.02.202 - 04th November 2024 + ===================================== + Introduce dm_config_parse_only_section to stop parsing after section. + For shorter string use on stack buffers when generating sections. + Enhance dm_config tokenizer. + + Version 1.02.201 - 02nd October 2024 + ==================================== + Cleanup udev sync semaphore if dm_{udev_create,task_set}_cookie fails. + Improve error messages on failed udev cookie create/inc/dec operation. + + Version 1.02.200 - 23rd August 2024 + =================================== + + Version 1.02.199 - 12nd July 2024 + ================================= + +- update lvm2.spec + - change lvm2_version to 2.03.29 + - change upstream_device_mapper_version and device_mapper_version to 1.02.203 + - include new systemed files lvm-devices-import.path and lvm-devices-import.service in lvm2 package + - add build dependency 'pkgconfig(systemd)' and configure option '--enable-sd-notify' for lvmlockd + - remove unrecognized (since 2.03.01) configure parameter '--with-cluster' from lvmlockd + ------------------------------------------------------------------- Fri Aug 30 02:26:00 UTC 2024 - Glass Su diff --git a/lvm2.spec b/lvm2.spec index b3a67a0..50b63b2 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -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.24 +%define lvm2_version 2.03.29 # 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.198 -%define device_mapper_version %{lvm2_version}_1.02.198 +%define upstream_device_mapper_version 1.02.203 +%define device_mapper_version %{lvm2_version}_1.02.203 %define thin_provisioning_version 0.7.0 %define _supportsanlock 1 %define dlm_version 4.0.9 @@ -123,6 +123,7 @@ BuildRequires: pkgconfig(blkid) BuildRequires: pkgconfig(corosync) %if %{with lockd} BuildRequires: libdlm-devel >= %{dlm_version} +BuildRequires: pkgconfig(systemd) %if 0%{_supportsanlock} == 1 BuildRequires: sanlock-devel >= %{sanlock_version} %endif @@ -180,9 +181,9 @@ extra_opts=" --with-default-locking-dir=/run/lock/lvm --with-default-pid-dir=/run --with-default-run-dir=/run/lvm - --with-cluster=internal --enable-lvmlockd-dlm --enable-lvmlockd-dlmcontrol + --enable-sd-notify %if 0%{_supportsanlock} == 1 --enable-lvmlockd-sanlock %endif @@ -258,6 +259,8 @@ sed -ie "s/%{upstream_device_mapper_version}/1.03.01/g" VERSION_DM rm %{buildroot}%{_unitdir}/lvm2-lvmpolld.socket rm %{buildroot}%{_unitdir}/lvmlockd.service rm %{buildroot}%{_unitdir}/lvmlocks.service + rm %{buildroot}%{_unitdir}/lvm-devices-import.path + rm %{buildroot}%{_unitdir}/lvm-devices-import.service # compat symlinks in /sbin remove with Leap 43 %if 0%{?suse_version} < 1550 @@ -735,6 +738,8 @@ LVM commands use lvmlockd to coordinate access to shared storage. %{_unitdir}/lvm2-monitor.service %{_unitdir}/lvm2-lvmpolld.socket %{_unitdir}/lvm2-lvmpolld.service +%{_unitdir}/lvm-devices-import.path +%{_unitdir}/lvm-devices-import.service %dir %{_libdir}/device-mapper %{_libdir}/device-mapper/libdevmapper-event-lvm2*.so %{_libdir}/libdevmapper-event-lvm2*.so