Commit Graph

176 Commits

Author SHA256 Message Date
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
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
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
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
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
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
Tomáš Chvátal
9d609652f0 Accepting request 784248 from home:hmzhao:branches:openSUSE:Factory
- fix patch name typo
  - bug-1158628-04-pvmove-correcting-read_ahead-setting.patch
  + bug-1158628_04-pvmove-correcting-read_ahead-setting.patch

OBS-URL: https://build.opensuse.org/request/show/784248
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=269
2020-03-12 10:51:08 +00:00
Gang He
a9897da30a Accepting request 779867 from home:hmzhao:branches:openSUSE:Factory
- vgreduce --removemissing with cache devices will remove lvs (bsc#1157736)
  + bug-1157736-add-suggestion-message-for-mirror-LVs.patch

OBS-URL: https://build.opensuse.org/request/show/779867
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=267
2020-03-02 02:23:05 +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
b74c0695d2 Accepting request 759060 from home:hmzhao:branches:openSUSE:Factory
LVM Metadata Error: Error writing device at 4096 length 512 (bsc#1150021)
 + bug-1150021_01-scanning-open-devs-rw-when-rescanning-for-write.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
- Update patch, according to bug-1150021_01-scanning-xxx.patch
 + bug-1158861_06-fix-segfault-for-invalid-characters-in-vg-name.patch

OBS-URL: https://build.opensuse.org/request/show/759060
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=263
2019-12-25 02:03:58 +00:00
Gang He
5c26b9e3f5 Accepting request 755508 from home:hmzhao:branches:openSUSE:Factory
change bug subject

OBS-URL: https://build.opensuse.org/request/show/755508
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=261
2019-12-10 10:10:05 +00:00
Gang He
7f9b3f4598 Accepting request 755483 from home:hmzhao:branches:openSUSE:Factory
- backport patches for lvm2 to avoid software abnormal work (bsc#1158861)
  + 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
- add necessary patches for passing lvm2 testsuite (bsc#1158628)
  + 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

OBS-URL: https://build.opensuse.org/request/show/755483
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=260
2019-12-10 09:29:09 +00:00
Tomáš Chvátal
3174c05314 Accepting request 742106 from home:hmzhao:branches:openSUSE:Factory
- Fix udev rules issue (bsc#1154655)
  + bug-1154655_udev-remove-unsupported-OPTIONS-event_timeout-rule.patch

OBS-URL: https://build.opensuse.org/request/show/742106
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=258
2019-10-23 10:35:49 +00:00
Tomáš Chvátal
263e4f5ae2 Accepting request 741452 from home:hmzhao:branches:openSUSE:Factory
- lvm2-pvscan needs process speed improvement on a large scale PVs (jcs#SLE-5498)
  + jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch

OBS-URL: https://build.opensuse.org/request/show/741452
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=256
2019-10-21 09:54:18 +00:00
Tomáš Chvátal
a85c03bfb8 Accepting request 734667 from home:mwilck:branches:Base:System
- Fix LV activation issues (boo#1152378, rh#1727270)
  + 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

OBS-URL: https://build.opensuse.org/request/show/734667
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=254
2019-10-03 06:59:05 +00:00
Gang He
ba39016fb6 Accepting request 729598 from home:hmzhao:branches:Base:System
update lvm2.spec to correct baselibs.conf mistake

OBS-URL: https://build.opensuse.org/request/show/729598
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=252
2019-09-10 02:25:24 +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
554da53f00 Accepting request 725505 from home:ganghe:branches:openSUSE:Factory
Fix the bug 1145231

OBS-URL: https://build.opensuse.org/request/show/725505
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=246
2019-08-23 08:35:57 +00:00
Gang He
600377c40b Accepting request 714366 from home:ganghe:branches:openSUSE:Factory
- Fix unknown feature in status message (bsc#1135984)
  + bug-1135984_cache-support-no_discard_passdown.patch
- Fix unknown feature in status message (bsc#1135984)
  + bug-1135984_cache-support-no_discard_passdown.patch
- Fix unknown feature in status message (bsc#1135984)
  + bug-1135984_cache-support-no_discard_passdown.patch

OBS-URL: https://build.opensuse.org/request/show/714366
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=244
2019-07-10 06:17:02 +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
8686071c7f Accepting request 706184 from home:hmzhao:branches:openSUSE:Factory
- Fix devices drop open error message (bsc#1122666)
  + bug-1122666_devices-drop-open-error-message.patch
- Fix devices drop open error message (bsc#1122666)
  + bug-1122666_devices-drop-open-error-message.patch
- Fix devices drop open error message (bsc#1122666)
  + bug-1122666_devices-drop-open-error-message.patch

OBS-URL: https://build.opensuse.org/request/show/706184
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=240
2019-05-29 06:30:14 +00:00
Gang He
aac4babd44 Accepting request 686402 from home:marxin:branches:Base:System
- Use %make_build in order to provide verbose output.

OBS-URL: https://build.opensuse.org/request/show/686402
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=238
2019-03-20 02:51:36 +00:00
Gang He
0e50a278e1 Accepting request 670482 from home:ganghe:branches:openSUSE:Factory
Disable the LVM lock daemon using sanlock, in order to avoid the
  dependence on sanlock related packages (bsc#1121382)
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/670482
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=236
2019-02-01 05:45:23 +00:00
Tomáš Chvátal
3900319bdf Accepting request 665742 from home:kukuk:branches:Base:System
- Use %license instead of %doc [bsc#1082318]

- Use %license instead of %doc [bsc#1082318]

- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/665742
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=235
2019-01-14 13:36:28 +00:00
Gang He
d739c3af8f Accepting request 657956 from home:ganghe:branches:openSUSE:Factory
- Update to LVM2.2.02.183
  Avoid disabling lvmetad when repair does nothing.
  Fix component detection for md version 0.90.
  Use sync io if async io_setup fails, or use_aio=0 is set in config.
  Avoid opening devices to get block size by using existing open fd.
- Drop patches that have been merged upstream
  - bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
- Update to LVM2.2.02.183
  Avoid disabling lvmetad when repair does nothing.
  Fix component detection for md version 0.90.
  Use sync io if async io_setup fails, or use_aio=0 is set in config.
  Avoid opening devices to get block size by using existing open fd.
- Drop patches that have been merged upstream
  - bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
- Update to LVM2.2.02.183
  Avoid disabling lvmetad when repair does nothing.
  Fix component detection for md version 0.90.
  Use sync io if async io_setup fails, or use_aio=0 is set in config.
  Avoid opening devices to get block size by using existing open fd.
- Drop patches that have been merged upstream
  - bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch

OBS-URL: https://build.opensuse.org/request/show/657956
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=234
2018-12-14 05:14:49 +00:00
Gang He
9729dfd46c Accepting request 646329 from home:ganghe:branches:openSUSE:Factory
- Prevent writing beyond metadata area (bsc#1114113)
  + bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
- Prevent writing beyond metadata area (bsc#1114113)
  + bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
- Prevent writing beyond metadata area (bsc#1114113)
  + bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch

OBS-URL: https://build.opensuse.org/request/show/646329
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=232
2018-11-05 07:54:59 +00:00
Gang He
f311e5d3ad Accepting request 632084 from home:ganghe:branches:openSUSE:Factory
- Fix lvm2 activation issue when used on top of multipath
  bsc#998893
  + bug-998893_make_pvscan_service_after_multipathd.patch
- Fix lvm2 activation issue when used on top of multipath
  bsc#998893
  + bug-998893_make_pvscan_service_after_multipathd.patch
- Fix lvm2 activation issue when used on top of multipath
  bsc#998893
  + bug-998893_make_pvscan_service_after_multipathd.patch

OBS-URL: https://build.opensuse.org/request/show/632084
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=230
2018-08-29 07:27:06 +00:00
Gang He
7f8f1bbba6 Accepting request 631016 from home:ganghe:branches:openSUSE:Factory
Update change log via the reviewers' comments.

OBS-URL: https://build.opensuse.org/request/show/631016
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=228
2018-08-23 06:19:25 +00:00
Gang He
9b722c3a2d Accepting request 630677 from home:ganghe:branches:openSUSE:Factory
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch

OBS-URL: https://build.opensuse.org/request/show/630677
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=227
2018-08-21 03:13:03 +00:00
Gang He
d837fba6c1 Accepting request 623585 from home:ganghe:branches:openSUSE:Factory
- Fix issuing discard in test mode (bsc#1095960)
  + bug-1095960_dev_io-no-discard-in-testmode.patch
- Fix issuing discard in test mode (bsc#1095960)
  + bug-1095960_dev_io-no-discard-in-testmode.patch
- Fix issuing discard in test mode (bsc#1095960)
  + bug-1095960_dev_io-no-discard-in-testmode.patch

OBS-URL: https://build.opensuse.org/request/show/623585
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=225
2018-07-18 08:52:01 +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
Martin Wilck
628729af6b Accepting request 598472 from home:ganghe:branches:openSUSE:Factory
- Fix handling of udev CHANGE events with systemd (bsc#1067312)
  + lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
  + lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
- Fix handling of udev CHANGE events with systemd (bsc#1067312)
  + lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
  + lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
- Fix handling of udev CHANGE events with systemd (bsc#1067312)
  + lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
  + lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch

OBS-URL: https://build.opensuse.org/request/show/598472
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=221
2018-04-19 09:49:14 +00:00
Tomáš Chvátal
e8884d3893 CLVM_PIDFILE, as we determine these features on runtime
bsc#1080299:
  + bsc1080299-detect-clvm-properly.patch
  CLVM_PIDFILE, as we determine these features on runtime
  bsc#1080299:
  + bsc1080299-detect-clvm-properly.patch
  CLVM_PIDFILE, as we determine these features on runtime
  bsc#1080299:
  + bsc1080299-detect-clvm-properly.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=219
2018-02-12 10:18:21 +00:00
Tomáš Chvátal
6e7cf92f00 Accepting request 575513 from home:scarabeus_iv:branches:Base:System
- Fix detection of clvm that happens on compile time based on
  CLVM_PIDFILE, as we determine these features on runtime:
  * bsc1080299-detect-clvm-properly.patch

- Fix detection of clvm that happens on compile time based on
  CLVM_PIDFILE, as we determine these features on runtime:
  * bsc1080299-detect-clvm-properly.patch

- Fix detection of clvm that happens on compile time based on
  CLVM_PIDFILE, as we determine these features on runtime:
  * bsc1080299-detect-clvm-properly.patch

OBS-URL: https://build.opensuse.org/request/show/575513
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=218
2018-02-12 10:13:53 +00:00
Eric ren
f1f0f1622d Accepting request 570449 from network:ha-clustering:Unstable
- clvmd: try to refresh device cache on the first failure
  (bsc#978055, bsc#1076042)
 + bug-978055_clvmd-try-to-refresh-device-cache-on-the-first-failu.patch 

- clvmd: try to refresh device cache on the first failure
  (bsc#978055, bsc#1076042)
 + bug-978055_clvmd-try-to-refresh-device-cache-on-the-first-failu.patch 

- clvmd: try to refresh device cache on the first failure
  (bsc#978055, bsc#1076042)
 + bug-978055_clvmd-try-to-refresh-device-cache-on-the-first-failu.patch

OBS-URL: https://build.opensuse.org/request/show/570449
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=216
2018-01-29 08:14:27 +00:00
Eric ren
1a6b6dce97 Accepting request 563494 from network:ha-clustering:Unstable
- lvmlockd: add lockopt values for skipping selected locks (fate#323203) 
 + fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch

- lvmlockd: add lockopt values for skipping selected locks (fate#323203) 
 + fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch

- lvmlockd: add lockopt values for skipping selected locks (fate#323203) 
 + fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch

OBS-URL: https://build.opensuse.org/request/show/563494
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=214
2018-01-11 02:12:30 +00:00
Eric ren
991b3eea09 Accepting request 558347 from network:ha-clustering:Unstable
- device-mapper.spec: fix wrong replacement of DM_VERSION (bsc#1072524) 
- Fixes failure of some testcases caused by nc behavior change (bsc#1072624)
 + bug-1072624_test-lvmetad_dump-always-timed-out-when-using-nc.patch
- Refreshed fate-31841_fsadm-add-support-for-btrfs.patch
- Update to LVM2.2.02.177
  When writing text metadata content, use complete 4096 byte blocks.
  Change text format metadata alignment from 512 to 4096 bytes.
  When writing metadata, consistently skip mdas marked as failed.
  Refactor and adjust text format metadata alignment calculation.
  Ensure _node_send_message always uses clean status of thin pool.
  Fix lvmlockd to use pool lock when accessing _tmeta volume.
  Report expected sanlock_convert errors only when retries fail.
  Avoid blocking in sanlock_convert on SH to EX lock conversion.
  Deactivate missing raid LV legs (_rimage_X-missing_Y_Z) on decativation.
  Categorise I/O with reason annotations in debug messages.
  Allow extending of raid LVs created with --nosync after a failed repair.
  Command will lock memory only when suspending volumes.
  Merge segments when pvmove is finished.
  Activation code for pvmove automatically discovers holding LVs for resume.
  Make a pvmove LV locking holder.
  Do not change critical section counter on resume path without real resume.
  Enhance activation code to automatically suspend pvmove participants.
  Prevent conversion of thin volumes to snapshot origin when lvmlockd is used.
  Add support for pvmove of cache and snapshot origins.
  Avoid using precommitted metadata for suspending pvmove tree.
  Deactivate activated LVs on error path when pvmove activation fails.
  Add "io" to log/debug_classes for logging low-level I/O.
  Avoid importing persistent filter in vgscan/pvscan/vgrename.
  Fix memleak of string buffer when vgcfgbackup runs in secure mode.
  Do not print error when clvmd cannot find running clvmd.

OBS-URL: https://build.opensuse.org/request/show/558347
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=212
2017-12-19 10:40:00 +00:00
Eric ren
f648734a50 Accepting request 545412 from network:ha-clustering:Unstable
- Update to LVM2.2.02.176:
  Keep Install section only in lvm2-{lvmetad,lvmpolld}.socket systemd unit.
  Fix segfault in lvm_pv_remove in liblvm. (2.02.173)
  Do not allow storing VG metadata with LV without any segment.
  Fix printed message when thin snapshot was already merged.
  Remove created spare LV when creation of thin-pool failed.
  Avoid reading ignored metadata when mda gets used again.
  Fix detection of moved PVs in vgsplit. (2.02.175)
  Ignore --stripes/--stripesize on RAID takeover
  Improve used paths for generated systemd units and init shells.
  Disallow creation of snapshot of mirror/raid subLV (was never supported).
  Fix regression in more advanced vgname extraction in lvconvert (2.02.169).
  Allow lvcreate to be used for caching of _tdata LV.
  Avoid internal error when resizing cache type _tdata LV (not yet supported).
  Show original converted names when lvconverting LV to pool volume.
  Move lib code used only by liblvm into metadata-liblvm.c.
  Distinguish between device not found and excluded by filter.
  Monitor external origin LVs. 
  Remove the replicator code, including configure --with-replicators.
  Allow lvcreate --type mirror to work with 100%FREE.
  Improve selection of resource name for complex volume activation lock.
  Avoid cutting first character of resource name for activation lock.
  Support for encrypted devices in fsadm.
  Improve thin pool overprovisioning and repair warning messages.
  Fix incorrect adjustment of region size on striped RaidLVs.
- Update to LVM2.2.02.176:
  Keep Install section only in lvm2-{lvmetad,lvmpolld}.socket systemd unit.
  Fix segfault in lvm_pv_remove in liblvm. (2.02.173)
  Do not allow storing VG metadata with LV without any segment.
  Fix printed message when thin snapshot was already merged.

OBS-URL: https://build.opensuse.org/request/show/545412
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=210
2017-11-25 06:08:13 +00:00
Eric ren
6e5934db47 Accepting request 545140 from network:ha-clustering:Unstable
- Update to LVM2.2.02.176
- Drop: bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
- Refresh: fate-31841_fsadm-add-support-for-btrfs.patch

- Update to LVM2.2.02.176
- Drop: bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
- Refresh: fate-31841_fsadm-add-support-for-btrfs.patch

- Update to LVM2.2.02.176
- Drop: bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
- Refresh: fate-31841_fsadm-add-support-for-btrfs.patch

OBS-URL: https://build.opensuse.org/request/show/545140
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=209
2017-11-24 11:13:44 +00:00
Eric ren
e700b24986 Accepting request 538354 from home:ZRen:branches:Base:System
- Re-add a strict requires on sanlock, fate#323203 

- Re-add a strict requires on sanlock, fate#323203 

- Re-add a strict requires on sanlock, fate#323203

OBS-URL: https://build.opensuse.org/request/show/538354
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=207
2017-11-02 13:02:55 +00:00
Eric ren
97fd3dd3df Accepting request 535963 from network:ha-clustering:Unstable
- lvm2-testsuite.patch to bug-950089_test-fix-lvm2-testsuite-build-error.patch
 - lvm2-testsuite.patch to bug-950089_test-fix-lvm2-testsuite-build-error.patch
 - lvm2-testsuite.patch to bug-950089_test-fix-lvm2-testsuite-build-error.patch

OBS-URL: https://build.opensuse.org/request/show/535963
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=205
2017-10-23 12:15:37 +00:00
Eric ren
fa5492787c Accepting request 535958 from network:ha-clustering:Unstable
- Update to LVM2.2.02.175
- Use week dependency for lvm2-lockd on libdlm and sanlock
- Rename/refresh patches:
 - display-dm-name-for-lv-name.diff to fate-309425_display-dm-name-for-lv-name.patch
 - fsadm-add-support-for-btrfs.patch to fate-31841_fsadm-add-support-for-btrfs.patch
 - dmeventd-fix-dso-name-wrong-compare.patch to bug-935623_dmeventd-fix-dso-name-wrong-compare.patch
 - lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch to bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
 - simplify-special-case-for-md-in-69-dm-lvm-metadata.patch to bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch

- Drop resource agents for clvmd and cmirror (bsc#1058680)
  - clvmd.ocf
  - cmirrord.ocf
- Drop all patches for cmirror (bsc#1058661)
  - cluster_support_mirrord_log.diff
  - cmirrord_improvment_performance.patch
  - lvconvert-cluster-mirrored-disk-failed.patch
  - improve-mirror-legs-on-different-tag-pvs.patch
  - make-mirror-legs-on-different-tag-pvs.patch
  - use-mirrortype-asdefault-whenclvmdrunning.patch
  - lvm2-testsuite.patch

- Update to LVM2.2.02.175
- Use week dependency for lvm2-lockd on libdlm and sanlock
- Rename/refresh patches:
 - display-dm-name-for-lv-name.diff to fate-309425_display-dm-name-for-lv-name.patch
 - fsadm-add-support-for-btrfs.patch to fate-31841_fsadm-add-support-for-btrfs.patch
 - dmeventd-fix-dso-name-wrong-compare.patch to bug-935623_dmeventd-fix-dso-name-wrong-compare.patch
 - lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch to bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
 - simplify-special-case-for-md-in-69-dm-lvm-metadata.patch to bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch

OBS-URL: https://build.opensuse.org/request/show/535958
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=204
2017-10-23 11:56:11 +00:00
Eric ren
aa0494a377 Accepting request 521767 from home:mwilck:branches:Base:System
New request after ruuning pre_checkin.sh

- Dropped udev rule patches (bsc#1054363)
 * dropped udev_rules-update.diff
 * dropped device-mapper-dmsetup-export.patch
 * dropped udev-Check-for-DM_NR_VALID_PATHS.patch
 * dropped Import-ID_FS_XXX-variables-bnc909358.patch
 * dropped 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch

- Dropped udev rule patches (bsc#1054363)
 * dropped udev_rules-update.diff
 * dropped device-mapper-dmsetup-export.patch
 * dropped udev-Check-for-DM_NR_VALID_PATHS.patch
 * dropped Import-ID_FS_XXX-variables-bnc909358.patch
 * dropped 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch

- Dropped udev rule patches (bsc#1054363)
 * dropped udev_rules-update.diff
 * dropped device-mapper-dmsetup-export.patch
 * dropped udev-Check-for-DM_NR_VALID_PATHS.patch
 * dropped Import-ID_FS_XXX-variables-bnc909358.patch
 * dropped 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch

OBS-URL: https://build.opensuse.org/request/show/521767
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=202
2017-09-06 20:42:11 +00:00
Eric ren
758f14c3c7 Accepting request 514876 from network:ha-clustering:Unstable
- version-plugins-in-libdir.patch
  - version-plugins-in-libdir.patch
  - version-plugins-in-libdir.patch

OBS-URL: https://build.opensuse.org/request/show/514876
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=201
2017-08-07 08:52:16 +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
Tomáš Chvátal
9845151b03 - Require device-mapper-devel rather than recommend. It is really
needed (the .h files are required by the lvm2app and lvm2cmd)

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=198
2017-07-13 13:10:06 +00:00
Eric ren
673bbc3719 Accepting request 508664 from network:ha-clustering:Unstable
- Don't create symlink for invisible device like thin-pool (bsc#1046591)
  * drop 10-dm.rules-Reset-state-variable-for-spurious-events.patch

- Don't create symlink for invisible device like thin-pool (bsc#1046591)
  * drop 10-dm.rules-Reset-state-variable-for-spurious-events.patch

- Don't create symlink for invisible device like thin-pool (bsc#1046591)
  * drop 10-dm.rules-Reset-state-variable-for-spurious-events.patch

OBS-URL: https://build.opensuse.org/request/show/508664
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=196
2017-07-07 05:24:39 +00:00