- Update lvm2 from LVM2.2.03.16 to LVM2.2.03.22 (jsc#PED-6339)
*** WHATS_NEW from 2.03.17 to 2.03.22 ***
version 2.03.22 - 02nd August 2023
==================================
Fix pv_major/pv_minor report field types so they are integers, not strings.
Add lvmdevices --delnotfound to delete entries for missing devices.
Always use cachepool name for metadata backup LV for lvconvert --repair.
Make metadata backup LVs read-only after pool's lvconvert --repair.
Improve VDO and Thin support with lvmlockd.
Handle 'lvextend --usepolicies' for pools for all activation variants.
Fix memleak in vgchange autoactivation setup.
Update py-compile building script.
Support conversion from thick to fully provisioned thin LV.
Cache/Thin-pool can use error and zero volumes for testing.
Individual thin volume can be cached, but cannot take snapshot.
Better internal support for handling error and zero target (for testing).
Resize COW above trimmed maximal size is does not return error.
Support parsing of vdo geometry format version 4.
Add lvm.conf thin_restore and cache_restore settings.
Handle multiple mounts while resizing volume with a FS.
Handle leading/trailing spaces in sys_wwid and sys_serial used by deivce_id.
Enhance lvm_import_vdo and use snapshot when converting VDO volume.
Fix parsing of VDO metadata.
Fix failing -S|--select for non-reporting cmds if using LV info/status fields.
Allow snapshots of raid+integrity LV.
Fix multisegment RAID1 allocator to prevent using single disk for more legs.
version 2.03.21 - 21st April 2023
=================================
Fix activation of vdo-pool for with 0 length headers (converted pools).
Avoid printing internal init messages when creation integration devices.
Allow (write)cache over raid+integrity LV.
version 2.03.20 - 21st March 2023
=================================
Fix segfault if using -S|--select with log/report_command_log=1 setting.
Configure now fails when requested lvmlockd dependencies are missing.
Add some configure Gentoo enhancements for static builds.
version 2.03.19 - 21st February 2023
====================================
Configure supports --with-systemd-run executed from udev rules.
Enhancement for build with MuslC systemd and non-bash system shells (dash).
Do not reset SYSTEMD_READY variable in udev for PVs on MD and loop devices.
Ensure udev is processing origin LV before its thick snapshots LVs.
Fix and improve runtime memory size detection for VDO volumes.
version 2.03.18 - 22nd December 2022
====================================
Fix issues reported by coverity scan.
Fix warning for thin pool overprovisioning on lvextend (2.03.17).
Add support for writecache metadata_only and pause_writeback settings.
Fix missing error messages in lvmdbusd.
Version 2.03.17 - 10th November 2022
====================================
Add new options (--fs, --fsmode) for FS handling when resizing LVs.
Fix 'lvremove -S|--select LV' to not also remove its historical LV right away.
Fix lv_active field type to binary so --select and --binary applies properly.
Switch to use mallinfo2 and use it only with glibc.
Error out in lvm shell if using a cmd argument not supported in the shell.
Fix lvm shell's lastlog command to report previous pre-command failures.
Extend VDO and VDOPOOL without flushing and locking fs.
Add --valuesonly option to lvmconfig to print only values without keys.
Updates configure with recent autoconf tooling.
Fix lvconvert --test --type vdo-pool execution.
Add json_std output format for more JSON standard compliant version of output.
Fix vdo_slab_size_mb value for converted VDO volume.
Fix many corner cases in device_id, including handling of S/N duplicates.
Fix various issues in lvmdbusd.
- Drop patches that have been merged into upstream
- 0001-devices-file-move-clean-up-after-command-is-run.patch
- 0002-devices-file-fail-if-devicesfile-filename-doesn-t-ex.patch
- 0003-filter-mpath-handle-other-wwid-types-in-blacklist.patch
- 0004-filter-mpath-get-wwids-from-sysfs-vpd_pg83.patch
- 0005-pvdisplay-restore-reportformat-option.patch
- 0006-exit-with-error-when-devicesfile-name-doesn-t-exist.patch
- 0007-report-fix-pe_start-column-type-from-NUM-to-SIZ.patch
- 0008-_vg_read_raw_area-fix-segfault-caused-by-using-null-.patch
- 0009-mm-remove-libaio-from-being-skipped.patch
- 0010-dmsetup-check-also-for-ouf-of-range-value.patch
- 0011-devices-drop-double-from-sysfs-path.patch
- 0012-devices-file-fix-pvcreate-uuid-matching-pvid-entry-w.patch
- 0013-vgimportdevices-change-result-when-devices-are-not-a.patch
- 0014-vgimportdevices-fix-locking-when-creating-devices-fi.patch
- bug-1203216_lvmlockd-purge-the-lock-resources-left-in-previous-l.patch
- bug-1212613_apply-multipath_component_detection-0-to-duplicate-P.patch
- Add upstream patch
+ 0001-lvconvert-swapmetadata-fix-lvmlockd-locking.patch
+ 0002-lvconvert-fix-ret-values-fro-integrity-remove.patch
+ 0003-lvconvert-fix-regresion-from-integrity-check.patch
+ 0004-gcc-cleanup-warnings.patch
+ 0005-lvmlockd-fix-thick-to-thin-lv-conversion.patch
+ 0006-lvmlockd-let-lockd_init_lv_args-set-lock_args.patch
+ 0007-lvmlockd-fix-lvconvert-to-thin-pool.patch
+ 0008-lvconvert-run-error-path-code-only-for-shared-VG.patch
+ 0009-vgchange-acquire-an-exclusive-VG-lock-for-refresh.patch
+ 0010-lvmlockd-client-mutex-ordering.patch
+ 0011-filesystem-move-stat-after-open-check.patch
+ 0012-tests-check-for-writecache.patch
+ 0013-lvresize-fix-32-bit-overflow-in-size-calculation.patch
+ 0014-gcc-fix-warnings-for-x32-architecture.patch
+ 0015-gcc-warning-missing-braces-around-initializer.patch
+ 0016-test-improve-aux-teardown.patch
+ 0017-tests-aux-try-with-extra-sleep.patch
+ 0018-tests-aux-using-singl-lvmconf-call.patch
+ 0019-tests-missing-to-check-for-writecache-support.patch
+ 0020-tests-pvmove-large-disk-area.patch
+ 0021-tests-enforce-full-fs-check.patch
+ 0022-tests-update-for-work-in-fake-dev-environment.patch
+ 0023-tests-skip-test-when-lvmdbusd-runs-on-the-system.patch
+ 0024-tests-better-slowdown.patch
- Update patch
- bug-1037309_Makefile-skip-compliling-daemons-lvmlockd-directory.patch
- bug-1184124-link-tests-as-PIE.patch
- bug-1184687_Add-nolvm-for-kernel-cmdline.patch
- fate-31841-03_tests-new-test-suite-of-fsadm-for-btrfs.patch
- Rename & Update patch
- bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch
+ bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-rules.patch
- update lvm2.spec
- change upstream_device_mapper_version to 1.02.196
- change device_mapper_version to %{lvm2_version}_1.02.196
- add config item "-with-libexecdir=%{_libexecdir}" to fix libexec path since commit a2d33cdf
- add new binary "%{_libexecdir}/lvresize_fs_helper" to lvm2 package
OBS-URL: https://build.opensuse.org/request/show/1112038
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=332
- update lvm2 from LVM2.03.10 to LVM2.2.03.12 (bsc#1187010)
*** WHATS_NEW from 2.03.11 to 2.03.12 ***
Version 2.03.12 - 07th May 2021
===============================
Allow attaching cache to thin data volume.
Fix memleak when generating list of outdated pvs.
Better hyphenation usage in man pages.
Replace use of deprecated security_context_t with char*.
Configure supports AIO_LIBS and AIO_CFLAGS.
Improve build process for static builds.
New --setautoactivation option to modify LV or VG auto activation.
New metadata based autoactivation property for LVs and VGs.
Improve signal handling with lvmpolld.
Signal handler can interrupt command also for SIGTERM.
Lvreduce --yes support.
Add configure option --with/out-symvers for non-glibc builds.
Report error when the filesystem is missing on fsadm resized volume.
Handle better blockdev with --getsize64 support for fsadm.
Do not include editline/history.h when using editline library.
Support error and zero segtype for thin-pool data for testing.
Support mixed extension for striped, error and zero segtypes.
Support resize also for stacked virtual volumes.
Skip dm-zero devices just like with dm-error target.
Reduce ioctl() calls when checking target status.
Merge polling does not fail, when LV is found to be already merged.
Poll volumes with at least 100ms delays.
Do not flush dm cache when cached LV is going to be removed.
New lvmlockctl_kill_command configuration option.
Support interruption while waiting on device close before deactivation.
Flush thin-pool messages before removing more thin volumes.
Improve hash function with less collisions and make it faster.
Reduce ioctl count when deactivating volumes.
Reduce number of metadata parsing.
Enhance performance of lvremove and vgremove commands.
Support interruption when taking archive and backup.
Accelerate large lvremoves.
Speedup search for cached device nodes.
Speedup command initialization.
Add devices file feature, off by default for now.
Support extension of writecached volumes.
Fix problem with unbound variable usage within fsadm.
Fix IMSM MD RAID detection on 4k devices.
Check for presence of VDO target before starting any conversion.
Support metatadata profiles with volume VDO pool conversions.
Support -Zn for conversion of already formated VDO pools.
Avoid removing LVs on error path of lvconvert during creation volumes.
Fix crashing lvdisplay when thin volume was waiting for merge.
Support option --errorwhenfull when converting volume to thin-pool.
Improve thin-performance profile support conversion to thin-pool.
Add workaround to avoid read of internal 'converted' devices.
Prohibit merging snapshot into the read-only thick snapshot origin.
Restore support for flipping rw/r permissions for thin snapshot origin.
Support resize of cached volumes.
Disable autoactivation with global/event_activation=0.
Check if lvcreate passes read_only_volume_list with tags and skips zeroing.
Allocation prints better error when metadata cannot fit on a single PV.
Pvmove can better resolve full thin-pool tree move.
Limit pool metadata spare to 16GiB.
Improves conversion and allocation of pool metadata.
Support thin pool metadata 15.88GiB, adds 64MiB, thin_pool_crop_metadata=0.
Enhance lvdisplay to report raid available/partial.
Support online rename of VDO pools.
Improve removal of pmspare when last pool is removed.
Fix problem with wiping of converted LVs.
Fix memleak in scanning (2.03.11).
Fix corner case allocation for thin-pools.
Version 2.03.11 - 08th January 2021
===================================
Fix pvck handling MDA at offset different from 4096.
Partial or degraded activation of writecache is not allowed.
Enhance error handling for fsadm and handle correct fsck result.
Dmeventd lvm plugin ignores higher reserved_stack lvm.conf values.
Support using BLKZEROOUT for clearing devices.
Support interruption when wipping LVs.
Support interruption for bcache waiting.
Fix bcache when device has too many failing writes.
Fix bcache waiting for IO completion with failing disks.
Configure use own python path name order to prefer using python3.
Add configure --enable-editline support as an alternative to readline.
Enhance reporting and error handling when creating thin volumes.
Enable vgsplit for VDO volumes.
Lvextend of vdo pool volumes ensure at least 1 new VDO slab is added.
Use revert_lv() on reload error path after vg_revert().
Configure --with-integrity enabled.
Restore lost signal blocking while VG lock is held.
Improve estimation of needed extents when creating thin-pool.
Use extra 1% when resizing thin-pool metadata LV with --use-policy.
Enhance --use-policy percentage rounding.
Configure --with-vdo and --with-writecache as internal segments.
Improving VDO man page examples.
Allow pvmove of writecache origin.
Report integrity fields.
Integrity volumes defaults to journal mode.
Switch code base to use flexible array syntax.
Fix 64bit math when calculation cachevol size.
Preserve uint32_t for seqno handling.
Switch from mmap to plain read when loading regular files.
Update lvmvdo man page and better explain DISCARD usage.
*** WHATS_NEW_DM from 1.02.175 to 1.02.177 ***
Version 1.02.177 - 07th May 2021
================================
Configure proceeds without libaio to allow build of device-mapper only.
Fix symbol versioning build with -O2 -flto.
Add dm_tree_node_add_thin_pool_target_v1 with crop_metadata support.
- Drop patches that have been merged into upstream
- bug-1175565_01-tools-move-struct-element-before-variable-lenght-lis.patch
- bug-1175565_02-gcc-change-zero-sized-array-to-fexlible-array.patch
- bug-1175565_03-gcc-zero-sized-array-to-fexlible-array-C99.patch
- bug-1178680_add-metadata-based-autoactivation-property-for-VG-an.patch
- bug-1185190_01-pvscan-support-disabled-event_activation.patch
- bug-1185190_02-config-improve-description-for-event_activation.patch
- Add patch
+ 0001-lvmlockd-idm-Introduce-new-locking-scheme.patch
+ 0002-lvmlockd-idm-Hook-Seagate-IDM-wrapper-APIs.patch
+ 0003-lib-locking-Add-new-type-idm.patch
+ 0004-lib-locking-Parse-PV-list-for-IDM-locking.patch
+ 0005-tools-Add-support-for-idm-lock-type.patch
+ 0006-configure-Add-macro-LOCKDIDM_SUPPORT.patch
+ 0007-enable-command-syntax-for-thin-and-writecache.patch
+ 0008-lvremove-fix-removing-thin-pool-with-writecache-on-d.patch
+ 0009-vdo-fix-preload-of-kvdo.patch
+ 0010-writecache-fix-lv_on_pmem.patch
+ 0011-writecache-don-t-pvmove-device-used-by-writecache.patch
+ 0012-pvchange-fix-file-locking-deadlock.patch
+ 0013-tests-Enable-the-testing-for-IDM-locking-scheme.patch
+ 0014-tests-Support-multiple-backing-devices.patch
+ 0015-tests-Cleanup-idm-context-when-prepare-devices.patch
+ 0016-tests-Add-checking-for-lvmlockd-log.patch
+ 0017-tests-stress-Add-single-thread-stress-testing.patch
+ 0018-tests-stress-Add-multi-threads-stress-testing-for-VG.patch
+ 0019-tests-stress-Add-multi-threads-stress-testing-for-PV.patch
+ 0020-tests-Support-idm-failure-injection.patch
+ 0021-tests-Add-testing-for-lvmlockd-failure.patch
+ 0022-tests-idm-Add-testing-for-the-fabric-failure.patch
+ 0023-tests-idm-Add-testing-for-the-fabric-failure-and-tim.patch
+ 0024-tests-idm-Add-testing-for-the-fabric-s-half-brain-fa.patch
+ 0025-tests-idm-Add-testing-for-IDM-lock-manager-failure.patch
+ 0026-tests-multi-hosts-Add-VG-testing.patch
+ 0027-tests-multi-hosts-Add-LV-testing.patch
+ 0028-tests-multi-hosts-Test-lease-timeout-with-LV-exclusi.patch
+ 0029-tests-multi-hosts-Test-lease-timeout-with-LV-shareab.patch
+ 0030-fix-empty-mem-pool-leak.patch
+ 0031-tests-writecache-blocksize-add-dm-cache-tests.patch
+ 0032-tests-rename-test.patch
+ 0033-tests-add-writecache-cache-blocksize-2.patch
+ 0034-lvmlockd-Fix-the-compilation-warning.patch
+ 0035-devices-don-t-use-deleted-loop-backing-file-for-devi.patch
+ 0036-man-help-fix-common-option-listing.patch
+ 0037-archiving-take-archive-automatically.patch
+ 0038-backup-automatically-store-data-on-vg_unlock.patch
+ 0039-archive-avoid-abuse-of-internal-flag.patch
+ 0040-pvck-add-lock_global-before-clean_hint_file.patch
+ 0041-lvmdevices-add-deviceidtype-option.patch
- Update patch
- bug-1184687_Add-nolvm-for-kernel-cmdline.patch
- fate-31841_fsadm-add-support-for-btrfs.patch
- lvm.conf
- trim tail space
- fix typo
- [new item] devices/use_devicesfile
- [new item] devices/devicesfile
- [new item] devices/search_for_devnames
- [new item] allocation/thin_pool_crop_metadata
- [new item] global/lvmlockctl_kill_command
- [new item] global/vdo_disabled_features
OBS-URL: https://build.opensuse.org/request/show/900342
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=300
- lvm2 should use 'external_device_info_source="udev"' by default (bsc#1179691)
- change external_device_info_source from none to udev
- comment out lvm.conf item preferred_names by default (bsc#1179738)
- comment out preferred_names
- Update lvm.conf, make it closely to upstream's setting (bsc#1179739)
- change lvm.conf, follow upstream 7b41ea61b2e33dbfad754fd4c6e7851faf7ca5ef
OBS-URL: https://build.opensuse.org/request/show/854416
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=290
- Update to LVM2.2.03.10
WHATS_NEW from 2.03.06 to 2.03.10:
Version 2.03.10 - 09th August 2020
==================================
Add writecache and integrity support to lvmdbusd.
Generate unique cachevol name when default required from lvcreate.
Converting RAID1 volume to one with same number of legs now succeeds with a
warning.
Fix conversion to raid from striped lagging type.
Fix conversion to 'mirrored' mirror log with larger regionsize.
Zero pool metadata on allocation (disable with allocation/zero_metadata=0).
Failure in zeroing or wiping will fail command (bypass with -Zn, -Wn).
Add lvcreate of new cache or writecache lv with single command.
Fix running out of free buffers for async writing for larger writes.
Add integrity with raid capability.
Fix support for lvconvert --repair used by foreign apps (i.e. Docker).
Version 2.03.09 - 26th March 2020
=================================
Fix formating of vdopool (vdo_slab_size_mb was smaller by 2 bits).
Fix showing of a dm kernel error when uncaching a volume with cachevol.
Version 2.03.08 - 11th February 2020
====================================
Prevent problematic snapshots of writecache volumes.
Add error handling for failing allocation in _reserve_area().
Fix memleak in syncing of internal cache.
Fix pvck dump_current_text memleak.
Fix lvmlockd result code on error path for _query_lock_lv().
Update pvck man page and help output.
Reject invalid writecache high/low_watermark setting.
Report writecache status.
Accept more output lines from vdo_format.
Prohibit reshaping of stacked raid LVs.
Avoid running cache input arg validation when creating vdo pool.
Prevent raid reshaping of stacked volumes.
Added VDO lvmdbusd methods for enable/disable compression & dedupe.
Added VDO lvmdbusd method for converting LV to VDO pool.
Version 2.03.07 - 30th November 2019
====================================
Subcommand in vgck for repairing headers and metadata.
Ensure minimum required region size on striped RaidLV creation.
Fix resize of thin-pool with data and metadata of different segtype.
Improve mirror type leg splitting.
Improve error path handling in daemons on shutdown.
Fix activation order when removing merged snapshot.
Experimental VDO support for lvmdbusd.
Version 2.03.06 - 23rd October 2019
===================================
Add _cpool suffix to cache-pool LV name when used by caching LV.
No longer store extra UUID for cmeta and cdata cachevol layer.
Enhance activation of cache devices with cachevols.
Add _cvol in list of protected suffixes and start use it with DM UUID.
Rename LV converted to cachevol to use _cvol suffix.
Use normal LVs for wiping of cachevols.
Reload cleanered cache DM only with cleaner policy.
Fix cmd return when zeroing of cachevol fails.
Extend lvs to show all VDO properties.
Preserve VDO write policy with vdopool.
Increase default vdo bio threads to 4.
Continue report when cache_status fails.
Add support for DM_DEVICE_GET_TARGET_VERSION into device_mapper.
Fix cmirrord usage of header files from device_mapper subdir.
Allow standalone activation of VDO pool just like for thin-pools.
Activate thin-pool layered volume as 'read-only' device.
Ignore crypto devices with UUID signature CRYPT-SUBDEV.
Enhance validation for thin and cache pool conversion and swapping.
Improve internal removal of cached devices.
Synchronize with udev when dropping snapshot.
Add missing device synchronization point before removing pvmove node.
Correctly set read_ahead for LVs when pvmove is finished.
Remove unsupported OPTIONS+="event_timeout" udev rule from 11-dm-lvm.rules.
Prevent creating VGs with PVs with different logical block sizes.
Fix metadata writes from corrupting with large physical block size.
WHATS_NEW_DM from 1.02.164 to 1.02.173:
Version 1.02.173 - 09th August 2020
===================================
Add support for VDO in blkdeactivate script.
Version 1.02.171 - 26th March 2020
==================================
Fix dm_list interators with gcc 10 optimization (-ftree-pta).
Dmeventd handles timer without looping on short intervals.
Version 1.02.169 - 11th February 2020
=====================================
Enhance error messages for device creation.
Version 1.02.167 - 30th November 2019
=====================================
Version 1.02.165 - 23rd October 2019
====================================
Add support for DM_DEVICE_GET_TARGET_VERSION.
Add debug of dmsetup udevcomplete with hexa print DM_COOKIE_COMPLETED.
Fix versioning of dm_stats_create_region and dm_stats_create_region.
- Drop patches that have been merged into upstream
- bug-1122666_devices-drop-open-error-message.patch
- bug-1150021_01-scanning-open-devs-rw-when-rescanning-for-write.patch
- bug-1149408_Fix-rounding-writes-up-to-sector-size.patch
- bug-1149408_vgcreate-vgextend-restrict-PVs-with-mixed-block-size.patch
- bug-1152378-md-component-detection-for-differing-PV-and-device-s.patch
- bug-1152378-pvscan-fix-PV-online-when-device-has-a-different-siz.patch
- jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch
- bug-1154655_udev-remove-unsupported-OPTIONS-event_timeout-rule.patch
- bug-1158628_01-tests-replaces-grep-q-usage.patch
- bug-1158628_02-tests-fix-ra-checking.patch
- bug-1158628_03-tests-simplify-some-var-settings.patch
- bug-1158628_04-pvmove-correcting-read_ahead-setting.patch
- bug-1158628_05-activation-add-synchronization-point.patch
- bug-1158628_06-pvmove-add-missing-synchronization.patch
- bug-1158628_07-activation-extend-handling-of-pending_delete.patch
- bug-1158628_08-lv_manip-add-synchronizations.patch
- bug-1158628_09-lvconvert-improve-validation-thin-and-cache-pool-con.patch
- bug-1158628_10-thin-activate-layer-pool-aas-read-only-LV.patch
- bug-1158628_11-tests-mdadm-stop-in-test-cleanup.patch
- bug-1158628_12-test-increase-size-of-raid10-LV-allowing-tests-to-su.patch
- bug-1158628_13-lvconvert-fix-return-value-when-zeroing-fails.patch
- bug-1158628_14-tests-add-extra-settle.patch
- bug-1158628_15-test-Fix-handling-leftovers-from-previous-tests.patch
- bug-1158861_01-config-remove-filter-typo.patch
- bug-1158861_02-config-Fix-default-option-which-makes-no-sense.patch
- bug-1158861_03-vgchange-don-t-fail-monitor-command-if-vg-is-exporte.patch
- bug-1158861_04-fix-duplicate-pv-size-check.patch
- bug-1158861_05-hints-fix-copy-of-filter.patch
- bug-1158861_06-fix-segfault-for-invalid-characters-in-vg-name.patch
- bug-1158861_07-vgck-let-updatemetadata-repair-mismatched-metadata.patch
- bug-1158861_08-hints-fix-mem-leaking-buffers.patch
- bug-1158861_09-pvcreate-pvremove-fix-reacquiring-global-lock-after.patch
- bug-1150021_02-bcache-add-bcache_abort.patch
- bug-1150021_03-label-Use-bcache_abort_fd-to-ensure-blocks-are-no-lo.patch
- bug-1150021_04-bcache-add-unit-test.patch
- bug-1150021_05-bcache-bcache_invalidate_fd-only-remove-prefixes-on.patch
- bug-1150021_06-fix-dev_unset_last_byte-after-write-error.patch
- bug-1157736-add-suggestion-message-for-mirror-LVs.patch
- bug-1171907-lvremove-remove-attached-cachevol-with-removed-LV.patch
- bug-1172566_cachevol-use-cachepool-code-for-metadata-size.patch
- lvm2.spec
+ Correct lvm2.spec 'Source' & 'Source42' URL
+ enable feature --with-writecache=internal
OBS-URL: https://build.opensuse.org/request/show/826061
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=277