Commit Graph

310 Commits

Author SHA256 Message Date
Dominique Leuenberger
0a26d1042e Accepting request 1005078 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1005078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=155
2022-09-22 12:49:11 +00:00
heming zhao
68008c6150 Accepting request 1005077 from home:hmzhao:branches:Base:System
this request will enable sanlock feature, there is no new binary, only another lock type support from lvmlockd.

OBS-URL: https://build.opensuse.org/request/show/1005077
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=316
2022-09-21 01:11:50 +00:00
Dominique Leuenberger
a4417dcf89 Accepting request 1001168 from Base:System
for updating lvm2 to 2.03.16

OBS-URL: https://build.opensuse.org/request/show/1001168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=154
2022-09-06 11:00:44 +00:00
heming zhao
c2ad9bdafe Accepting request 1001167 from home:hmzhao:branches:Base:System
Update lvm2 from LVM2.2.03.15 to LVM2.2.03.16

OBS-URL: https://build.opensuse.org/request/show/1001167
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=314
2022-09-05 03:41:54 +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
heming zhao
819badda28 Accepting request 1000764 from home:hmzhao:branches:Base:System
- Update lvm2 from LVM2.2.03.15 to LVM2.2.03.16
  *** WHATS_NEW for 2.03.16 ***
  Version 2.03.16 - 18th May 2022
  ===============================
    Fix segfault when handling selection with historical LVs.
    Add support --vdosettings with lvcreate, lvconvert, lvchange.
    Filtering multipath devices respects blacklist setting from multipath configuration.
    lvmdevices support for removing by device id using --deviceidtype and --deldev.
    Display writecache block size with lvs -o writecache_block_size.
    Improve cachesettings description in man lvmcache.
    Fix lossing of delete message on thin-pool extension.
- Drop patches that have been merged into upstream
  - 0001-post-release.patch
  - 0002-asan-fix-some-reports-from-libasan.patch
  - 0003-make-generate.patch
  - 0004-tests-udev-pvscan-vgchange-fix-service-wait.patch
  - 0005-devices-file-do-not-clear-PVID-of-unread-devices.patch
  - 0006-tests-skip-vgchange-pvs-online.sh-on-rhel5.patch
  - 0007-dev_manager-fix-dm_task_get_device_list.patch
  - 0008-dev_manager-failing-status-is-not-internal-error.patch
  - 0009-clang-add-extra-check.patch
  - 0010-clang-possible-better-compilation-with-musl-c.patch
  - 0011-dev_manager-do-not-query-for-open_count.patch
  - 0012-dev_manager-use-list-info-for-preset-devs.patch
  - 0013-man-lvmcache-add-more-writecache-cachesettings-info.patch
  - 0014-man-update-cachesettings-option-description.patch
  - 0015-man-lvmcache-mention-writecache-memory-usage.patch
  - 0016-writecache-display-block-size-from-lvs.patch
  - 0017-devices-simplify-dev_cache_get_by_devt.patch
  - 0018-devices-drop-incorrect-paths-from-aliases-list.patch
  - 0019-devices-initial-use-of-existing-option.patch
  - 0020-devices-fix-dev_name-assumptions.patch
  - 0021-devices-use-dev-cache-aliases-handling-from-label-sc.patch
  - 0022-devices-only-close-PVs-on-LVs-when-scan_lvs-is-enabl.patch
  - 0023-writecache-check-memory-usage.patch
  - 0024-pvscan-don-t-use-udev-for-external-device-info.patch
  - 0025-vgchange-monitor-don-t-use-udev-info.patch
- Add upstream patch
  - 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
- update lvm2.spec
  - indent some lines for easy read
  - remove config item '--enable-cmirrord'
  - add new man lvm_import_vdo.8
  - add new man dmfilemapd.8

OBS-URL: https://build.opensuse.org/request/show/1000764
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=312
2022-09-01 23:48:48 +00:00
Dominique Leuenberger
a86cb267a7 Accepting request 965878 from Base:System
OBS-URL: https://build.opensuse.org/request/show/965878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=153
2022-04-02 16:19:53 +00:00
heming zhao
a1b7bcac16 Accepting request 965877 from home:hmzhao:branches:Base:System
bug subject was changed, and lvm2.changelog should be changed too.

OBS-URL: https://build.opensuse.org/request/show/965877
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=310
2022-03-30 10:17:20 +00:00
heming zhao
1dc359f119 Accepting request 965834 from home:hmzhao:branches:openSUSE:Factory
- lvm2-monitor.service must be started after sysinit.target (bsc#1197183)
  + 0025-vgchange-monitor-don-t-use-udev-info.patch

OBS-URL: https://build.opensuse.org/request/show/965834
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=309
2022-03-30 08:25:57 +00:00
Dominique Leuenberger
9e38b93fd5 Accepting request 961358 from Base:System
OBS-URL: https://build.opensuse.org/request/show/961358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=152
2022-03-14 18:35:16 +00:00
heming zhao
ba3e66dece Accepting request 961357 from home:hmzhao:branches:openSUSE:Factory
- Udev database has incomplete information about device /dev/sda. (bsc#1181242)
  + 0024-pvscan-don-t-use-udev-for-external-device-info.patch

OBS-URL: https://build.opensuse.org/request/show/961357
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=307
2022-03-13 00:56:07 +00:00
Dominique Leuenberger
ad7113b5f7 Accepting request 958733 from Base:System
OBS-URL: https://build.opensuse.org/request/show/958733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=151
2022-03-05 13:43:42 +00:00
heming zhao
43699ef0cc Accepting request 958732 from home:hmzhao:branches:openSUSE:Factory
Update lvm2 from LVM2.2.03.12 to LVM2.2.03.15 (latest version)

OBS-URL: https://build.opensuse.org/request/show/958732
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=305
2022-03-03 10:29:46 +00:00
Dominique Leuenberger
4249a00dca Accepting request 950899 from Base:System
OBS-URL: https://build.opensuse.org/request/show/950899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=150
2022-02-06 22:53:23 +00:00
heming zhao
f8b3f79d97 Accepting request 950443 from home:mwilck:branches:Base:System
- udev: create symlinks and watch even in suspended state (bsc#1195231)
   + (add) 0043-udev-create-symlinks-and-watch-even-in-suspended-sta.patch

OBS-URL: https://build.opensuse.org/request/show/950443
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=304
2022-02-03 09:02:25 +00:00
Richard Brown
56e5b4c17c Accepting request 911403 from Base:System
OBS-URL: https://build.opensuse.org/request/show/911403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=149
2021-08-16 08:08:47 +00:00
Gang He
e04be0f555 Accepting request 911401 from home:marxin:branches:Base:System
- Add lvm2-rpmlintrc where we skip all rpmlint issue for lvm2-testsuite package
  (bsc#1179047).

OBS-URL: https://build.opensuse.org/request/show/911401
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=303
2021-08-11 09:24:53 +00:00
Dominique Leuenberger
39cf747a5c Accepting request 906204 from Base:System
OBS-URL: https://build.opensuse.org/request/show/906204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=148
2021-07-18 21:44:54 +00:00
Gang He
e8bec48e22 Accepting request 906108 from home:hmzhao:branches:openSUSE:Factory
- lvm2: double free or corruption with invalid LVM_SYSTEM_DIR breaks guestfs-tools (bsc#1188141)
  + bug-1188141_toolcontext-fix-double-free-core-dumped-issue.patch
- replace exist patch with bug fixed patches
  - (remove) fate-31841_fsadm-add-support-for-btrfs.patch
  + (add) fate-31841-01_fsadm-add-support-to-resize-check-btrfs-filesystem.patch
  + (add) fate-31841-02_man-add-support-for-btrfs.patch
  + (add) fate-31841-03_tests-new-test-suite-of-fsadm-for-btrfs.patch

OBS-URL: https://build.opensuse.org/request/show/906108
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=302
2021-07-14 05:55:59 +00:00
Dominique Leuenberger
d176024635 Accepting request 900349 from Base:System
OBS-URL: https://build.opensuse.org/request/show/900349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=147
2021-06-19 21:01:46 +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
Dominique Leuenberger
ffc4f253bf Accepting request 895446 from Base:System
OBS-URL: https://build.opensuse.org/request/show/895446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=146
2021-06-02 20:10:24 +00:00
Gang He
9a724fb84e Accepting request 895370 from home:wfrisch:branches:Base:System
Link test as position independent executable (bsc#1184124).
  + bug-1184124-link-tests-as-PIE.patch

OBS-URL: https://build.opensuse.org/request/show/895370
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=298
2021-05-26 05:55:13 +00:00
Dominique Leuenberger
758d9a64cf Accepting request 887919 from Base:System
OBS-URL: https://build.opensuse.org/request/show/887919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=145
2021-04-26 14:38:34 +00:00
Gang He
b226ee2e0d Accepting request 887913 from home:hmzhao:branches:openSUSE:Factory
- Honor lvm.conf event_activation=0 on "pvscan --cache -aay" (bsc#1185190)
  + bug-1185190_01-pvscan-support-disabled-event_activation.patch
  + bug-1185190_02-config-improve-description-for-event_activation.patch

OBS-URL: https://build.opensuse.org/request/show/887913
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=296
2021-04-23 05:24:21 +00:00
Gang He
a74004abdb Accepting request 887391 from home:hmzhao:branches:openSUSE:Factory
- LVM cannot be disabled on boot (bsc#1184687)
  + bug-1184687_Add-nolvm-for-kernel-cmdline.patch
- Update patch for avoiding apply warning message
  + bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch

OBS-URL: https://build.opensuse.org/request/show/887391
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=295
2021-04-22 03:19:47 +00:00
Gang He
243898e95b Accepting request 887127 from home:ganghe:branches:openSUSE:Factory
- Add metadata-based autoactivation property for VG and LV (bsc#1178680)
  + bug-1178680_add-metadata-based-autoactivation-property-for-VG-an.patch

OBS-URL: https://build.opensuse.org/request/show/887127
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=294
2021-04-21 05:32:10 +00:00
Dominique Leuenberger
abb3e3873b Accepting request 868529 from Base:System
OBS-URL: https://build.opensuse.org/request/show/868529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=144
2021-02-07 14:14:04 +00:00
Gang He
0d02d6c2e3 Accepting request 868503 from home:hmzhao:branches:openSUSE:Factory
- lvm2 should use 'external_device_info_source="udev"' by default (bsc#1179691)
  - add SUSE special patch to void issues in non udev env
    + bug-1179691_config-set-external_device_info_source-none.patch

OBS-URL: https://build.opensuse.org/request/show/868503
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=292
2021-02-02 06:22:46 +00:00
Dominique Leuenberger
8b4b108785 Accepting request 854459 from Base:System
OBS-URL: https://build.opensuse.org/request/show/854459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=143
2020-12-12 19:27:13 +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
Dominique Leuenberger
0d1eab5104 Accepting request 853682 from Base:System
OBS-URL: https://build.opensuse.org/request/show/853682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=142
2020-12-09 21:11:50 +00:00
Gang He
829d92af9a Accepting request 851094 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/851094
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=288
2020-12-08 05:05:35 +00:00
Dominique Leuenberger
099c87e3b6 Accepting request 850911 from Base:System
OBS-URL: https://build.opensuse.org/request/show/850911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=141
2020-11-30 08:53:12 +00:00
Gang He
8b72e5d025 Accepting request 850908 from home:hmzhao:branches:openSUSE:Factory
- Update lvm2.spec file (bsc#1177533)
  - in %postun, disable restart blk-availability.service & lvm2-monitor.service

OBS-URL: https://build.opensuse.org/request/show/850908
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=286
2020-11-26 08:19:35 +00:00
Gang He
f796c67f30 Accepting request 850776 from home:hmzhao:branches:openSUSE:Factory
- Update lvm2.spec file (bsc#1177533)
  - in %preun, disable restart blk-availability.service & lvm2-monitor.service

OBS-URL: https://build.opensuse.org/request/show/850776
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=285
2020-11-26 07:38:58 +00:00
Dominique Leuenberger
7f92695cca Accepting request 841376 from Base:System
OBS-URL: https://build.opensuse.org/request/show/841376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=140
2020-10-15 11:44:38 +00:00
Gang He
35d8b5464f Accepting request 841375 from home:ganghe:branches:openSUSE:Factory
- Update lvm2.spec file (bsc#1174336)
  - enable lvmlockd remote refresh using libdlmcontrol
  - update libdlm dependency relationship

OBS-URL: https://build.opensuse.org/request/show/841375
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=283
2020-10-13 04:08:49 +00:00
Dominique Leuenberger
219f3549a9 Accepting request 831970 from Base:System
OBS-URL: https://build.opensuse.org/request/show/831970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=139
2020-09-08 20:43:39 +00:00
Gang He
3e34f7b370 Accepting request 831895 from home:hmzhao:branches:openSUSE:Factory
- lvm can't pass build with gcc option Wstringop-overflow (bsc#1175565)
  - remove suse speical patch
    - bug-1175565_lvm-cant-pass-build-with-gcc-option-Wstringop-overflow.patch
  - add upstream patch
    + 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

OBS-URL: https://build.opensuse.org/request/show/831895
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=281
2020-09-04 01:23:47 +00:00
Dominique Leuenberger
8017fc8e0b Accepting request 829062 from Base:System
OBS-URL: https://build.opensuse.org/request/show/829062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=138
2020-08-28 19:13:32 +00:00
Gang He
1403f46767 Accepting request 829061 from home:hmzhao:branches:openSUSE:Factory
change lvmlockd to use  "BuildRequires: pkgconfig(libsystemd)" .

OBS-URL: https://build.opensuse.org/request/show/829061
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=279
2020-08-25 04:52:37 +00:00
Gang He
0ba3958513 Accepting request 828340 from home:hmzhao:branches:openSUSE:Factory
- lvm can't pass build with gcc option Wstringop-overflow (bsc#1175565)
  + bug-1175565_lvm-cant-pass-build-with-gcc-option-Wstringop-overflow.patch
- lvm2.spec
  + add obsoletes version for passing build
  + remove config item '--with-cluster=internal' for lvmlockd package

OBS-URL: https://build.opensuse.org/request/show/828340
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=278
2020-08-21 03:28:00 +00:00
Gang He
c157123a21 Accepting request 826061 from home:hmzhao:branches:openSUSE:Factory
- 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
2020-08-17 01:03:01 +00:00
Dominique Leuenberger
f968371efa Accepting request 814712 from Base:System
OBS-URL: https://build.opensuse.org/request/show/814712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=137
2020-06-17 12:45:35 +00:00
Gang He
b956656551 Accepting request 814709 from home:hmzhao:branches:openSUSE:Factory
- problem with LVM cache (data loss) (bsc#1172566)
  + bug-1172566_cachevol-use-cachepool-code-for-metadata-size.patch

OBS-URL: https://build.opensuse.org/request/show/814709
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=275
2020-06-15 13:05:31 +00:00
Dominique Leuenberger
679de0d0d1 Accepting request 809718 from Base:System
OBS-URL: https://build.opensuse.org/request/show/809718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=136
2020-06-03 18:28:42 +00:00
Gang He
1852122088 Accepting request 809544 from home:hmzhao:branches:openSUSE:Factory
- removing LVM cache with cache volume does not remove the cache volume (bsc#1171907)
  + bug-1171907-lvremove-remove-attached-cachevol-with-removed-LV.patch

OBS-URL: https://build.opensuse.org/request/show/809544
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=273
2020-05-28 00:26:20 +00:00
Dominique Leuenberger
9ce11fd092 Accepting request 804894 from Base:System
OBS-URL: https://build.opensuse.org/request/show/804894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=135
2020-05-14 21:22:32 +00:00
Gang He
bfdd2ee039 Accepting request 804806 from home:hmzhao:branches:openSUSE:Factory
- Add missing patch, which mistakenly removed in lvm2 update
  + bug-998893_make_pvscan_service_after_multipathd.patch
- Change lvm2.spec for fixing build error
  + lvm2.spec

OBS-URL: https://build.opensuse.org/request/show/804806
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=271
2020-05-13 07:19:25 +00:00