Commit Graph

27 Commits

Author SHA256 Message Date
heming zhao
9f29ca469f Accepting request 1094778 from home:hmzhao:branches:Base:System
- multipath_component_detection = 0 in lvm.conf does not have any effect (bsc#1212613)
  - bug-1212613_apply-multipath_component_detection-0-to-duplicate-P.patch

OBS-URL: https://build.opensuse.org/request/show/1094778
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=326
2023-06-23 09:00:10 +00:00
heming zhao
d02d9399ca Accepting request 1009982 from home:hmzhao:branches:Base:System
- lvm.conf should re-enable commented out option use_lvmlockd (bsc#1204219)
  - re-enable "use_lvmlockd = 0" in lvm.conf

OBS-URL: https://build.opensuse.org/request/show/1009982
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=318
2022-10-12 03:20:22 +00:00
heming zhao
6c3b05c927 Accepting request 1001122 from home:hmzhao:branches:Base:System
- Update patch
  - bug-1184687_Add-nolvm-for-kernel-cmdline.patch
- update lvm2.spec
  - add '--disable-silent-rules' for verbose building, this option was
    mistakenly removed on last commit.
  - remove config item '--enable-realtime', which became default setting.
  - add config item "--enable-dmfilemapd" for new daemon dmfilemapd
- lvm.conf
  - align upstream style, comment out default values

OBS-URL: https://build.opensuse.org/request/show/1001122
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=313
2022-09-04 13:45:37 +00:00
Gang He
d0810cf04c Accepting request 900342 from home:hmzhao:branches:openSUSE:Factory
- 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
2021-06-16 09:38:53 +00:00
Gang He
8c0ffe8cea Accepting request 854416 from home:hmzhao:branches:openSUSE:Factory
- 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
2020-12-10 06:03:04 +00:00
Gang He
49382d8b2b Accepting request 762035 from home:ganghe:branches:openSUSE:Factory
- Update lvm.conf file (bsc#1159238)
  - enable issue_discards by default

OBS-URL: https://build.opensuse.org/request/show/762035
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=265
2020-01-09 03:31:00 +00:00
Gang He
9dc484637c Accepting request 729324 from home:ganghe:branches:Base:System
Avoid creation of mixed-blocksize PV on LVM volume groups (bsc#1149408)

OBS-URL: https://build.opensuse.org/request/show/729324
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=251
2019-09-09 06:55:46 +00:00
Gang He
5c670ebc3c Accepting request 728458 from home:hmzhao:branches:openSUSE:Factory
upgrade lvm2 from 2.02.180 to 2.03.05. 
this upgrade only for opensuse & sles-15sp2

OBS-URL: https://build.opensuse.org/request/show/728458
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=249
2019-09-05 10:03:51 +00:00
Gang He
d1d2497104 Accepting request 712184 from home:hmzhao:branches:openSUSE:Factory
restore lvm.conf

OBS-URL: https://build.opensuse.org/request/show/712184
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=242
2019-06-27 05:21:48 +00:00
Gang He
64964ed048 Accepting request 708884 from home:hmzhao:branches:openSUSE:Factory
- Remove conflict filter in /etc/lvm/lvm.conf (bsc#1137296)
- Remove conflict filter in /etc/lvm/lvm.conf (bsc#1137296)
- Remove conflict filter in /etc/lvm/lvm.conf (bsc#1137296)

OBS-URL: https://build.opensuse.org/request/show/708884
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=241
2019-06-10 05:11:11 +00:00
Gang He
90900723ea Accepting request 612714 from home:ganghe:branches:openSUSE:Factory
- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)
- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)
- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)

OBS-URL: https://build.opensuse.org/request/show/612714
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=223
2018-05-29 03:23:47 +00:00
Eric ren
0ce44c981a Accepting request 514845 from network:ha-clustering:Unstable
- Dropped several not-upstreamed patches, some of them neither have
  history reference nor patch header, some were temporary workaround
  fix.
  - device-mapper-gcc-warnings.patch
  - device-mapper-type_punning.diff
  - fix-closedown-before-thread-finish.patch
  - libdm-iface-not-output-error-message-inside-retry-loop.patch
  - pvcreate-enhance-the-error-message.patch
  - pvmove_support_clustered_vg.diff

- Update to LVM2.2.02.173
- Sync our lvm.conf with V2.02.173

- Dropped several not-upstreamed patches, some of them neither have
  history reference nor patch header, some were temporary workaround
  fix.
  - device-mapper-gcc-warnings.patch
  - device-mapper-type_punning.diff
  - fix-closedown-before-thread-finish.patch
  - libdm-iface-not-output-error-message-inside-retry-loop.patch
  - pvcreate-enhance-the-error-message.patch
  - pvmove_support_clustered_vg.diff

- Update to LVM2.2.02.173
- Sync our lvm.conf with V2.02.173

- Dropped several not-upstreamed patches, some of them neither have
  history reference nor patch header, some were temporary workaround
  fix.
  - device-mapper-gcc-warnings.patch

OBS-URL: https://build.opensuse.org/request/show/514845
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=200
2017-08-07 07:53:46 +00:00
Eric ren
31f5264bbb Accepting request 495531 from home:ZRen:branches:Base:System
- Add lvmlockd-related configuration items in lvm.conf, fate#323203

- Add lvmlockd-related configuration items in lvm.conf, fate#323203

- Add lvmlockd-related configuration items in lvm.conf, fate#323203

OBS-URL: https://build.opensuse.org/request/show/495531
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=186
2017-05-17 08:34:14 +00:00
Eric ren
c98d894a7b Accepting request 491173 from home:ZRen:branches:Base:System
- Add check_pv_device_sizes option to check PV and disk sizes
  bsc#999878

- Add check_pv_device_sizes option to check PV and disk sizes
  bsc#999878

- Add check_pv_device_sizes option to check PV and disk sizes
  bsc#999878

OBS-URL: https://build.opensuse.org/request/show/491173
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=181
2017-04-26 05:48:16 +00:00
Tomáš Chvátal
db1f542327 Accepting request 459962 from home:ZRen:branches:Base:System
It's easy to enable systemid feature. Its code is already in place.
I just need to add the relative configure section into our lvm.conf.
Of course, careful testing is made according the manpage, without
finding problems.

- Enable lvmetad in sync with SLE 

- Add systemid feature
  * update lvm.conf accordingly
  * replace whitespaces with tab in lvm.conf

OBS-URL: https://build.opensuse.org/request/show/459962
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=168
2017-02-23 12:44:58 +00:00
15510c0f84 Accepting request 426139 from home:scarabeus_iv:branches:Base:System
- This is sync commit from Leap/SLE12 only
- Add patch pvcreate-enhance-the-error-message.patch bsc#960744
- Modify GPL-2.0 to GPL-2.0+ and LGPL-2.1 to LGPL-2.1+ to avoid
  license conflict with thin-provisioning-tools which is using GPL-3.0
- Also contains fix for bsc#969310
- Fix clvmd.ocf and cmirrord to remove "-d" option for cmirrod
  (bsc#971334)
- Fix clvmd.ocf to add lvmconf --enable-cluster before start daemon
  when locking_type is not 3 or use_lvmetad is 1 in setting
  (bsc#970439)
- Modified spec to enable blkid-wiping (fate#319908)
- Fix clvmd binary not found in case that users still use RA from
  ocf:lvm2:clvm (bsc#980200) 
  Add sbindir=$HA_SBIN_DIR for clvmd.ocf and cmirrord.ocf
- The bsc#979635 wnd bsc#991181 as fixed in past thanks to proper /usr
  migration code
- Modified raid10_segtype_default from "mirror" to "raid10"(bsc#982329)
- Remove lvm2-clvmd/cmirrord.service and related activation services
  from %service_add _pre/post/preun/postun because we start clvmd 
  /clmirrord and activate via pacemaker and RA. (bsc#980296)
- Lvchange improve refresh by trying to deactivate snapshot thinLV 
  in case it's preventing merge process change integrated upstream.
  (bsc#984321)
- Fixed in past bsc#992843
- Fixed by upstream bsc#984321
- Fixed by upstream bsc#970943
- 69-dm-lvm-metad.rules: Do not process rules for multipath
  devices (bsc#bsc#990538, bsc#986734)
  Add: 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch
- Rewrite patches to include patch header:

OBS-URL: https://build.opensuse.org/request/show/426139
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=158
2016-09-14 09:43:37 +00:00
Tomáš Chvátal
97971092ae Accepting request 266231 from home:wanglh:branches:Base:System
disable lvm2-lvmetad.service and fix lvm.conf for bnc#901859 bnc#906710 bnc#888798

OBS-URL: https://build.opensuse.org/request/show/266231
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=115
2014-12-29 16:08:16 +00:00
Stephan Kulow
eb8d8d5a12 Accepting request 258600 from home:wanglh:branches:Base:System
fix lvm2.spec to not add link in post & delete buildrequire for device-mapper-devel

OBS-URL: https://build.opensuse.org/request/show/258600
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=106
2014-11-01 14:44:16 +00:00
Tomáš Chvátal
9f2a3de59e Accepting request 239552 from home:deanraccoon:branches:Base:System
bnc#885632, set multipath_componnet_detection = 1 per default

OBS-URL: https://build.opensuse.org/request/show/239552
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=100
2014-07-10 13:01:17 +00:00
Tomáš Chvátal
04ddaa4bc5 Accepting request 236202 from home:wanglh:branches:Base:System
add cmirror version

OBS-URL: https://build.opensuse.org/request/show/236202
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=96
2014-06-12 08:09:50 +00:00
87bb6a4a81 Accepting request 229357 from home:wanglh:branches:Base:System
bnc#862403, modify lvm.conf to add filter to exclude floppy and cdrom

OBS-URL: https://build.opensuse.org/request/show/229357
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=87
2014-04-09 09:58:58 +00:00
95c020b7a0 Accepting request 212895 from home:deanraccoon:branches:Base:System
fix collective bugs

OBS-URL: https://build.opensuse.org/request/show/212895
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=75
2014-01-09 16:38:13 +00:00
0eac2148de Accepting request 195669 from home:deanraccoon:branches:Base:System
add systemd support to lvm2 package, split device-mapper to another package

OBS-URL: https://build.opensuse.org/request/show/195669
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=64
2013-08-26 11:12:14 +00:00
Cristian Rodríguez
66c4b5a3a8 Accepting request 138717 from home:sumski:branches:home:fcrozat:branches:Base:System
Change the default locking dir to reflect the change in filesystem package

OBS-URL: https://build.opensuse.org/request/show/138717
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=44
2012-10-24 16:12:49 +00:00
Stephan Kulow
56e5ad2fa6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=46 2012-10-18 08:15:42 +00:00
OBS User unknown
772bf0f4a7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=22 2008-09-13 03:05:30 +00:00
OBS User unknown
ef38e092b1 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=1 2006-12-18 13:01:39 +00:00