Commit Graph

205 Commits

Author SHA256 Message Date
Dominique Leuenberger
d1cb3f7891 Accepting request 563495 from Base:System
OBS-URL: https://build.opensuse.org/request/show/563495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=113
2018-01-16 08:39:53 +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
Dominique Leuenberger
2de7bc1cdc Accepting request 558349 from Base:System
OBS-URL: https://build.opensuse.org/request/show/558349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=112
2017-12-21 10:26:51 +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
Dominique Leuenberger
659221aca2 Accepting request 545433 from Base:System
OBS-URL: https://build.opensuse.org/request/show/545433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=111
2017-11-30 11:41:52 +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
Dominique Leuenberger
b20b2efa5a Accepting request 538355 from Base:System
OBS-URL: https://build.opensuse.org/request/show/538355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=110
2017-11-09 12:40:40 +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
Dominique Leuenberger
0ed05a7796 Accepting request 535964 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/535964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=109
2017-10-26 16:40:14 +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
Dominique Leuenberger
be4b3b6a05 Accepting request 521789 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/521789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=108
2017-09-09 18:23:03 +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
Dominique Leuenberger
96197b8061 Accepting request 511662 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/511662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=107
2017-07-24 10:31:27 +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
Dominique Leuenberger
261b3446bd Accepting request 508665 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/508665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=106
2017-07-08 10:26:34 +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
Eric ren
82463e3962 Accepting request 508229 from network:ha-clustering:Unstable
* removed device-mapper-link.patch
  * removed bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch
  * removed Makefile-skip-compliling-daemons-lvmlockd-directory.patch
  * added bug-1037309_Makefile-skip-compliling-daemons-lvmlockd-directory.patch

OBS-URL: https://build.opensuse.org/request/show/508229
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=195
2017-07-05 01:55:05 +00:00
Eric ren
39212502cd Accepting request 508098 from network:ha-clustering:Unstable
- Update to LVM2.2.02.172
- Cleanup spec file, and refresh patches

- Fix zypper update issue with device-mapper package, see bsc#1045396
- Update to LVM2.2.02.172
- Cleanup spec file, and refresh patches

- Fix zypper update issue with device-mapper package, see bsc#1045396
- Update to LVM2.2.02.172
- Cleanup spec file, and refresh patches

- Fix zypper update issue with device-mapper package, see bsc#1045396

OBS-URL: https://build.opensuse.org/request/show/508098
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=194
2017-07-04 12:31:34 +00:00
Dominique Leuenberger
133cfa3ef1 Accepting request 507522 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/507522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=105
2017-07-04 09:55:51 +00:00
Eric ren
ca0867bdb4 Accepting request 507153 from home:dimstar:branches:Base:System
- Add Special migration for libdevmapper's move from /lib to
  /usr/lib and from device-mapper.rpm to libdevmapper.rpm: the
  library is now in %{_libdir}, but up to the point where zypp
  removes the 'old' device-mapper package, the old library 'wins'
  the ldloader race resulting in binaries asking for the newer
  version still getting the old one (boo#1045396).
  A typical update issue seen is, zypp updating packages in this
  order:
  - libdevmapper1_03 (new package)
  - libcryptsetup4 (links libdevmapper-1.03, rpm dep satisfied)
  - systemd (linking libcryptsetup.so.4, rpm dep satisfied
    At this point, anything calling systemdctl gets libdevmapper
    from the old device-mapper package into the memory, which in
    turn is version 1.02 and does not provide all the needed
    symbols
  - device-mapper (which removes /lib/libdevmapper.so.1.02, but is
    now too late, as various post scripts already failed on running
    systemctl)

This has been tested in a VM upgrade, similar to the situation reported in bugzilla - the results was a fully operational system

OBS-URL: https://build.opensuse.org/request/show/507153
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=192
2017-07-01 13:52:52 +00:00
Dominique Leuenberger
34192434bb Accepting request 504391 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/504391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=104
2017-06-23 07:13:47 +00:00
Eric ren
e42ca3a38b Accepting request 504390 from home:ZRen:branches:Base:System
- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

OBS-URL: https://build.opensuse.org/request/show/504390
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=190
2017-06-17 17:19:42 +00:00
Eric ren
3cba7f3163 Accepting request 504374 from home:ZRen:branches:Base:System
- Fix test failures about read ahead issue, see bsc#1043040 
  + bug-1043040_test-fix-read-ahead-issues-in-test-scripts.patch
- Reorder the patches to put them into the right groups

- Don't package dynamic directories in /run

- Fix test failures about read ahead issue, see bsc#1043040 
  + bug-1043040_test-fix-read-ahead-issues-in-test-scripts.patch
- Reorder the patches to put them into the right groups

- Don't package dynamic directories in /run

- Fix test failures about read ahead issue, see bsc#1043040 
  + bug-1043040_test-fix-read-ahead-issues-in-test-scripts.patch
- Reorder the patches to put them into the right groups

OBS-URL: https://build.opensuse.org/request/show/504374
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=189
2017-06-17 15:47:00 +00:00
Eric ren
4e91129e12 Accepting request 502726 from home:kukuk:branches:Base:System
- Don't package dynamic directories in /run

OBS-URL: https://build.opensuse.org/request/show/502726
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=188
2017-06-12 07:02:40 +00:00
Dominique Leuenberger
5236e74199 Accepting request 495532 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/495532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=103
2017-05-20 12:29:44 +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
cea84c2670 Accepting request 495194 from home:ZRen:branches:Base:System
- Fix compiling issue of lvmlockd, bsc#1037309
  + Makefile-skip-compliling-daemons-lvmlockd-directory.patch

- Fix compiling issue of lvmlockd, bsc#1037309
  + Makefile-skip-compliling-daemons-lvmlockd-directory.patch

- Fix compiling issue of lvmlockd, bsc#1037309
  + Makefile-skip-compliling-daemons-lvmlockd-directory.patch

OBS-URL: https://build.opensuse.org/request/show/495194
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=185
2017-05-16 09:02:24 +00:00
Dominique Leuenberger
fe5a9c0060 Accepting request 492764 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/492764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=102
2017-05-10 18:32:55 +00:00
Tomáš Chvátal
d5825cbb3f - Remove block comments that break scriptlets
* warning: %postun(libdevmapper1_03-1.02.137-5.1.x86_64) scriptlet failed, exit status 1

- Remove block comments that break scriptlets
  * warning: %postun(libdevmapper1_03-1.02.137-5.1.x86_64) scriptlet failed, exit status 1

- Remove block comments that break scriptlets
  * warning: %postun(libdevmapper1_03-1.02.137-5.1.x86_64) scriptlet failed, exit status 1

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=183
2017-05-05 11:34:41 +00:00
Eric ren
40b70d82b5 Accepting request 492763 from home:ZRen:branches:Base:System
- This patch has been dropped since SLE12 (bsc#952300)
  * removed sys_mount_instead_linux_fs.diff
- Drop obsolete patches:
  * removed improve_probing.diff (bsc#49657)
  * removed no-inc-audit.diff 
  * removed suppress_format1_size_warning.diff
- Add more bug/fate references, and reorder the patches accordingly

- This patch has been dropped since SLE12 (bsc#952300)
  * removed sys_mount_instead_linux_fs.diff
- Drop obsolete patches:
  * removed improve_probing.diff (bsc#49657)
  * removed no-inc-audit.diff 
  * removed suppress_format1_size_warning.diff
- Add more bug/fate references, and reorder the patches accordingly

- This patch has been dropped since SLE12 (bsc#952300)
  * removed sys_mount_instead_linux_fs.diff
- Drop obsolete patches:
  * removed improve_probing.diff (bsc#49657)
  * removed no-inc-audit.diff 
  * removed suppress_format1_size_warning.diff
- Add more bug/fate references, and reorder the patches accordingly

OBS-URL: https://build.opensuse.org/request/show/492763
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=182
2017-05-04 02:45:40 +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
c42d9595ba - BuildRequire modutils so build script detects modprobe and module
autoloading works again (boo#983221)

- BuildRequire modutils so build script detects modprobe and module
  autoloading works again (boo#983221)

- BuildRequire modutils so build script detects modprobe and module
  autoloading works again (boo#983221)

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=180
2017-04-25 12:29:41 +00:00
Dominique Leuenberger
3c41f400a6 Accepting request 489075 from Base:System
- Update to 2.02.170:
  * Few smal fixes around; obsoleted 169 release that was removed
    from mirrors
- Refresh patch:
  * display-dm-name-for-lv-name.diff

- Update device mapper version to 1.02.138, see WHATS_NEW_DM for
  detailed changelogs
  * Drop obsolete lvmchange files accordingly
- Refresh libdm-iface-not-output-error-message-inside-retry-loop.patch
- Refresh make-mirror-legs-on-different-tag-pvs.patch
- device-mapper-dmsetup-export.patch

- Version update to 2.02.169 release, see WHATS_NEW and WHATS_NEW_DM
  files for detailed changelogs

- Split configure options to have one per line
- Pass over with spec-cleaner
- Enable internal cache
- Enable lvmpolld

- Add 'lvm2-lockd' subpackage, fate#323203 to lvm2-clvm to not pull
  corosync and other deps to the core lvm2 package

- Update to 2.02.170:
  * Few smal fixes around; obsoleted 169 release that was removed
    from mirrors
- Refresh patch:
  * display-dm-name-for-lv-name.diff

OBS-URL: https://build.opensuse.org/request/show/489075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=101
2017-04-25 06:55:28 +00:00
Tomáš Chvátal
917229d6d3 - Update to 2.02.170:
* Few smal fixes around; obsoleted 169 release that was removed
    from mirrors
- Refresh patch:
  * display-dm-name-for-lv-name.diff

- Update to 2.02.170:
  * Few smal fixes around; obsoleted 169 release that was removed
    from mirrors
- Refresh patch:
  * display-dm-name-for-lv-name.diff

- Update to 2.02.170:
  * Few smal fixes around; obsoleted 169 release that was removed
    from mirrors
- Refresh patch:
  * display-dm-name-for-lv-name.diff

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=178
2017-04-18 11:15:17 +00:00
Tomáš Chvátal
1c7cea6733 Accepting request 487889 from home:jnelson-suse:branches:Base:System
- Update device mapper version to 1.02.138, see WHATS_NEW_DM for
  detailed changelogs
  * Drop obsolete lvmchange files accordingly
- Refresh libdm-iface-not-output-error-message-inside-retry-loop.patch
- Refresh make-mirror-legs-on-different-tag-pvs.patch
- device-mapper-dmsetup-export.patch
- LVM version update to 2.02.169 release, see WHATS_NEW and WHATS_NEW_DM
  files for detailed changelogs
old: Base:System/lvm2
new: home:jnelson-suse:branches:Base:System/lvm2 rev None
Index: device-mapper-dmsetup-export.patch
===================================================================
--- device-mapper-dmsetup-export.patch (revision 176)
+++ device-mapper-dmsetup-export.patch (revision 5)
@@ -1,7 +1,20 @@
-Index: LVM2.2.02.139/man/dmsetup.8.in
+From b148cb1c1e801455cb774f51eecd57f7e4f98c39 Mon Sep 17 00:00:00 2001
+From: Eric Ren <zren@suse.com>
+Date: Tue, 11 Apr 2017 10:58:56 +0800
+Subject: [PATCH] DM: add dmsetup export
+
+bsc#479104
+
+Patch-refreshed-by: Eric Ren <zren@suse.com>
+---
+ man/dmsetup.8_main |  16 +++-
+ tools/dmsetup.c    | 252 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
+ 2 files changed, 266 insertions(+), 2 deletions(-)
+
+Index: LVM2.2.02.169/man/dmsetup.8_main
 ===================================================================
---- LVM2.2.02.139.orig/man/dmsetup.8.in
-+++ LVM2.2.02.139/man/dmsetup.8.in
+--- LVM2.2.02.169.orig/man/dmsetup.8_main
++++ LVM2.2.02.169/man/dmsetup.8_main
 @@ -97,7 +97,15 @@ dmsetup \(em low level logical volume ma
  ..
  .CMD_LOAD
@@ -23,20 +36,20 @@
  See below for more information on the table format.
  .
  .HP
-+.BR \-\-export
++.BR --export
 +.IR export
 +.br
 +Outputs information in key/value format to be imported by other programs.
 +.
 +.HP
- .BR \-\-udevcookie
+ .BR --udevcookie
  .IR cookie
  .br
-Index: LVM2.2.02.139/tools/dmsetup.c
+Index: LVM2.2.02.169/tools/dmsetup.c
 ===================================================================
---- LVM2.2.02.139.orig/tools/dmsetup.c
-+++ LVM2.2.02.139/tools/dmsetup.c
-@@ -2177,6 +2177,129 @@ out:
+--- LVM2.2.02.169.orig/tools/dmsetup.c
++++ LVM2.2.02.169/tools/dmsetup.c
+@@ -2231,6 +2231,129 @@ out:
  	return r;
  }
  
@@ -166,11 +179,16 @@
  /* Show target names and their version numbers */
  static int _targets(CMD_ARGS)
  {
-@@ -5138,6 +5261,7 @@ static struct command _dmsetup_commands[
- 	{"deps", "[-o <options>] [<device>]", 0, -1, 1, 0, _deps},
- 	{"stats", "<command> [<options>] [<devices>]", 1, -1, 1, 1, _stats},
- 	{"status", "[<device>] [--noflush] [--target <target_type>]", 0, -1, 1, 0, _status},
+@@ -5904,7 +6027,11 @@ static struct command _dmsetup_commands[
+ 	{"deps", "[-o <options>] [<device>...]", 0, -1, 1, 0, _deps},
+ 	{"stats", "<command> [<options>] [<device>...]", 1, -1, 1, 1, _stats},
+ 	{"status", "[<device>...] [--noflush] [--target <target_type>]", 0, -1, 1, 0, _status},
+-	{"table", "[<device>...] [--target <target_type>] [--showkeys]", 0, -1, 1, 0, _status},
++	{"deps", "[-o <options>] [<device>]", 0, -1, 1, 0, _deps},
++	{"stats", "<command> [<options>] [<devices>]", 1, -1, 1, 1, _stats},
++	{"status", "[<device>] [--noflush] [--target <target_type>]", 0, -1, 1, 0, _status},
 +	{"export", "[<device>]", 0, -1, 1, 0, _export},
- 	{"table", "[<device>] [--target <target_type>] [--showkeys]", 0, -1, 1, 0, _status},
++	{"table", "[<device>] [--target <target_type>] [--showkeys]", 0, -1, 1, 0, _status},
  	{"wait", "<device> [<event_nr>] [--noflush]", 0, 2, 0, 0, _wait},
- 	{"mknodes", "[<device>]", 0, -1, 1, 0, _mknodes},
+ 	{"mknodes", "[<device>...]", 0, -1, 1, 0, _mknodes},
+ 	{"mangle", "[<device>...]", 0, -1, 1, 0, _mangle},
Index: device-mapper.changes
===================================================================
--- device-mapper.changes (revision 176)
+++ device-mapper.changes (revision 5)
@@ -1,4 +1,20 @@
 -------------------------------------------------------------------
+Wed Apr 12 01:33:15 UTC 2017 - zren@suse.com
+
+- Update device mapper version to 1.02.138, see WHATS_NEW_DM for
+  detailed changelogs
+  * Drop obsolete lvmchange files accordingly
+- Refresh libdm-iface-not-output-error-message-inside-retry-loop.patch
+- Refresh make-mirror-legs-on-different-tag-pvs.patch
+- device-mapper-dmsetup-export.patch
+
+-------------------------------------------------------------------
+Mon Apr 10 23:08:45 UTC 2017 - jnelson-suse@jamponi.net
+
+- Version update to 2.02.169 release, see WHATS_NEW and WHATS_NEW_DM
+  files for detailed changelogs
+
+-------------------------------------------------------------------
 Mon Apr 10 10:41:02 UTC 2017 - tchvatal@suse.com
 
 - Split configure options to have one per line
Index: device-mapper.spec
===================================================================
--- device-mapper.spec (revision 176)
+++ device-mapper.spec (revision 5)
@@ -19,8 +19,8 @@
 %define libname libdevmapper1_03
 %define libname_event libdevmapper-event1_03
 ### COMMON-DEF-BEGIN ###
-%define lvm2_version              2.02.168
-%define device_mapper_version     1.02.137
+%define lvm2_version              2.02.169
+%define device_mapper_version     1.02.138
 %define thin_provisioning_version 0.5.6
 ### COMMON-DEF-END ###
 Name:           device-mapper
Index: libdm-iface-not-output-error-message-inside-retry-loop.patch
===================================================================
--- libdm-iface-not-output-error-message-inside-retry-loop.patch (revision 176)
+++ libdm-iface-not-output-error-message-inside-retry-loop.patch (revision 5)
@@ -1,22 +1,25 @@
-From a70f17fd1dc9a8cccefb946c3501d5cb6f2766bb Mon Sep 17 00:00:00 2001
-From: Liuhua Wang <lwang@suse.com>
-Date: Mon, 23 Nov 2015 13:49:39 +0800
+From 3c4d9dd3571e89545d97c8421fd4cbdbaa6895b8 Mon Sep 17 00:00:00 2001
+From: Eric Ren <zren@suse.com>
+Date: Tue, 11 Apr 2017 11:09:26 +0800
 Subject: [PATCH] libdm-iface: not output error message inside retry loops
 
-This is a workaround to avoid noisy error message being output inside retry loops
-in case of remove failure because device busy. But as to the replies from upstream
+This is a workaround to avoid noisy error message being output inside
+retry loops
+in case of remove failure because device busy. But as to the replies
+from upstream
 there may be some issues in udev operations.
 
 References: bsc#940298 boo#957059
 Signed-off-by: lwang@suse.com
+Patch-refreshed-by: Eric Ren <zren@suse.com>
 ---
- libdm/ioctl/libdm-iface.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ libdm/ioctl/libdm-iface.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
-Index: LVM2.2.02.141/libdm/ioctl/libdm-iface.c
-===================================================================
---- LVM2.2.02.141.orig/libdm/ioctl/libdm-iface.c
-+++ LVM2.2.02.141/libdm/ioctl/libdm-iface.c
+diff --git a/libdm/ioctl/libdm-iface.c b/libdm/ioctl/libdm-iface.c
+index cb3e8dc..c1c0771 100644
+--- a/libdm/ioctl/libdm-iface.c
++++ b/libdm/ioctl/libdm-iface.c
 @@ -62,6 +62,7 @@
   */
  #define MAPPER_CTRL_MINOR 236
@@ -25,15 +28,17 @@
  
  /* dm major version no for running kernel */
  static unsigned _dm_version = DM_VERSION_MAJOR;
-@@ -1862,7 +1863,7 @@ static struct dm_ioctl *_do_dm_ioctl(str
+@@ -1862,8 +1863,8 @@ static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command,
  					    dmt->major > 0 && dmt->minor == 0 ? "0" : "",
  					    dmt->major > 0 ? ")" : "",
  					    strerror(dmt->ioctl_errno));
 -			else
+-				log_error("device-mapper: %s ioctl on %s %s%s%.0d%s%.0d%s%s "
 +            else if(errno != EBUSY || retry_repeat_count == DM_IOCTL_RETRIES)
- 				log_error("device-mapper: %s ioctl on %s%s%s%.0d%s%.0d%s%s "
++				log_error("device-mapper: %s ioctl on %s%s%s%.0d%s%.0d%s%s "
  					  "failed: %s",
  					  _cmd_data_v4[dmt->type].name,
+ 					  dmi->name, dmi->uuid,
 @@ -1915,7 +1916,6 @@ void dm_task_update_nodes(void)
  	update_devs();
  }
@@ -42,3 +47,6 @@
  #define DM_RETRY_USLEEP_DELAY 200000
  
  int dm_task_get_errno(struct dm_task *dmt)
+-- 
+2.10.2
+
Index: lvm2-clvm.changes
===================================================================
--- lvm2-clvm.changes (revision 176)
+++ lvm2-clvm.changes (revision 5)
@@ -1,4 +1,20 @@
 -------------------------------------------------------------------
+Wed Apr 12 01:33:15 UTC 2017 - zren@suse.com
+
+- Update device mapper version to 1.02.138, see WHATS_NEW_DM for
+  detailed changelogs
+  * Drop obsolete lvmchange files accordingly
+- Refresh libdm-iface-not-output-error-message-inside-retry-loop.patch
+- Refresh make-mirror-legs-on-different-tag-pvs.patch
+- device-mapper-dmsetup-export.patch
+
+-------------------------------------------------------------------
+Mon Apr 10 23:08:45 UTC 2017 - jnelson-suse@jamponi.net
+
+- Version update to 2.02.169 release, see WHATS_NEW and WHATS_NEW_DM
+  files for detailed changelogs
+
+-------------------------------------------------------------------
 Mon Apr 10 10:41:02 UTC 2017 - tchvatal@suse.com
 
 - Split configure options to have one per line
Index: lvm2-clvm.spec
===================================================================
--- lvm2-clvm.spec (revision 176)
+++ lvm2-clvm.spec (revision 5)
@@ -19,8 +19,8 @@
 %define dlm_version     3.99.1
 %define sanlock_version 3.3.0
 ### COMMON-DEF-BEGIN ###
-%define lvm2_version              2.02.168
-%define device_mapper_version     1.02.137
+%define lvm2_version              2.02.169
+%define device_mapper_version     1.02.138
 %define thin_provisioning_version 0.5.6
 ### COMMON-DEF-END ###
 Name:           lvm2-clvm
Index: lvm2.changes
===================================================================
--- lvm2.changes (revision 176)
+++ lvm2.changes (revision 5)
@@ -1,4 +1,20 @@
 -------------------------------------------------------------------
+Wed Apr 12 01:33:15 UTC 2017 - zren@suse.com
+
+- Update device mapper version to 1.02.138, see WHATS_NEW_DM for
+  detailed changelogs
+  * Drop obsolete lvmchange files accordingly
+- Refresh libdm-iface-not-output-error-message-inside-retry-loop.patch
+- Refresh make-mirror-legs-on-different-tag-pvs.patch
+- device-mapper-dmsetup-export.patch
+
+-------------------------------------------------------------------
+Mon Apr 10 23:08:45 UTC 2017 - jnelson-suse@jamponi.net
+
+- Version update to 2.02.169 release, see WHATS_NEW and WHATS_NEW_DM
+  files for detailed changelogs
+
+-------------------------------------------------------------------
 Mon Apr 10 10:41:02 UTC 2017 - tchvatal@suse.com
 
 - Split configure options to have one per line
Index: lvm2.spec
===================================================================
--- lvm2.spec (revision 176)
+++ lvm2.spec (revision 5)
@@ -20,8 +20,8 @@
 %define applib liblvm2app2_2
 %define cmdlib liblvm2cmd2_02
 ### COMMON-DEF-BEGIN ###
-%define lvm2_version              2.02.168
-%define device_mapper_version     1.02.137
+%define lvm2_version              2.02.169
+%define device_mapper_version     1.02.138
 %define thin_provisioning_version 0.5.6
 ### COMMON-DEF-END ###
 Name:           lvm2
@@ -282,7 +282,6 @@
 %{_sbindir}/lvcreate
 %{_sbindir}/lvdisplay
 %{_sbindir}/lvextend
-%{_sbindir}/lvmchange
 %{_sbindir}/lvmdiskscan
 %{_sbindir}/lvmsadc
 %{_sbindir}/lvmsar
@@ -336,7 +335,6 @@
 /sbin/lvcreate
 /sbin/lvdisplay
 /sbin/lvextend
-/sbin/lvmchange
 /sbin/lvmdiskscan
 /sbin/lvmsadc
 /sbin/lvmsar
@@ -391,7 +389,6 @@
 %{_mandir}/man8/lvm-config.8%{ext_man}
 %{_mandir}/man8/lvmconfig.8%{ext_man}
 %{_mandir}/man8/lvm-dumpconfig.8%{ext_man}
-%{_mandir}/man8/lvmchange.8%{ext_man}
 %{_mandir}/man8/lvmconf.8%{ext_man}
 %{_mandir}/man8/lvmdiskscan.8%{ext_man}
 %{_mandir}/man8/lvmdump.8%{ext_man}
Index: make-mirror-legs-on-different-tag-pvs.patch
===================================================================
--- make-mirror-legs-on-different-tag-pvs.patch (revision 176)
+++ make-mirror-legs-on-different-tag-pvs.patch (revision 5)
@@ -1,10 +1,10 @@
-From 49a5da732c74b8b96bc123a541d590c4fd06d7af Mon Sep 17 00:00:00 2001
-From: Guangliang Zhao <gzhao@suse.com>
-Date: Mon, 12 Nov 2012 15:28:11 +0800
-Subject: [PATCH 1/2] mirror: make mirror legs on different tag pvs
+From b17f2ae4334f9233a88d7a2fcae325f86691beb0 Mon Sep 17 00:00:00 2001
+From: Eric Ren <zren@suse.com>
+Date: Tue, 11 Apr 2017 10:44:30 +0800
+Subject: [PATCH] [PATCH 1/2] mirror: make mirror legs on different tag pvs
 
-The mirror legs could be placed on the PVs(with different
-tags) from the other mirror legs with this patch.
+The mirror legs could be placed on the PVs(with different tags)
+from the other mirror legs with this patch.
 
 The lvcreate allocates the replica "randomly" when creating
 a mirrored logical volume now, so it could happen that both
@@ -17,18 +17,19 @@
 always be placed on pvs with differnt tags.
 
 Signed-off-by: Guangliang Zhao <gzhao@suse.com>
+Fix-conflict-by: Eric Ren <zren@suse.com>
 ---
- conf/example.conf.in         |   17 +++++++++++++++++
- lib/config/config_settings.h |    3 +++
- lib/config/defaults.h        |    1 +
- lib/metadata/lv_manip.c      |   35 +++++++++++++++++++++++++++++++++++
- man/lvcreate.8.in            |    4 ++++
- 5 files changed, 60 insertions(+)
+ conf/example.conf.in         | 17 +++++++++++++++++
+ lib/config/config_settings.h |  5 ++++-
+ lib/config/defaults.h        |  1 +
+ lib/metadata/lv_manip.c      | 35 +++++++++++++++++++++++++++++++++++
+ man/lvcreate.8_pregen        |  7 +++++++
+ 5 files changed, 64 insertions(+), 1 deletion(-)
 
-Index: LVM2.2.02.165/conf/example.conf.in
-===================================================================
---- LVM2.2.02.165.orig/conf/example.conf.in
-+++ LVM2.2.02.165/conf/example.conf.in
+diff --git a/conf/example.conf.in b/conf/example.conf.in
+index 614ce53..b33289f 100644
+--- a/conf/example.conf.in
++++ b/conf/example.conf.in
 @@ -372,6 +372,23 @@ allocation {
  	# or erased unless the --wipesignatures option is used directly.
  	wipe_signatures_when_zeroing_new_lvs = 1
@@ -53,25 +54,27 @@
  	# Configuration option allocation/mirror_logs_require_separate_pvs.
  	# Mirror logs and images will always use different PVs.
  	# The default setting changed in version 2.02.85.
-Index: LVM2.2.02.165/lib/config/config_settings.h
-===================================================================
---- LVM2.2.02.165.orig/lib/config/config_settings.h
-+++ LVM2.2.02.165/lib/config/config_settings.h
-@@ -473,6 +473,9 @@ cfg(allocation_raid_stripe_all_devices_C
+diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
+index b701722..0e5a5e2 100644
+--- a/lib/config/config_settings.h
++++ b/lib/config/config_settings.h
+@@ -473,7 +473,10 @@ cfg(allocation_raid_stripe_all_devices_CFG, "raid_stripe_all_devices", allocatio
  	"when the command does not specify the number of stripes to use.\n"
  	"This was the default behaviour until release 2.02.162.\n")
  
+-cfg(allocation_cache_pool_metadata_require_separate_pvs_CFG, "cache_pool_metadata_require_separate_pvs", allocation_CFG_SECTION, CFG_PROFILABLE | CFG_PROFILABLE_METADATA, CFG_TYPE_BOOL, DEFAULT_CACHE_POOL_METADATA_REQUIRE_SEPARATE_PVS, vsn(2, 2, 106), NULL, 0, NULL,
 +cfg(allocation_mirror_legs_require_separate_pvs_CFG, "mirror_legs_require_separate_pvs", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_MIRROR_LEGS_REQUIRE_SEPARATE_PVS, vsn(2, 2, 98), NULL, 0, NULL,
 +	"Mirror legs will always use different PVs.\n")
 +
- cfg(allocation_cache_pool_metadata_require_separate_pvs_CFG, "cache_pool_metadata_require_separate_pvs", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_CACHE_POOL_METADATA_REQUIRE_SEPARATE_PVS, vsn(2, 2, 106), NULL, 0, NULL,
++cfg(allocation_cache_pool_metadata_require_separate_pvs_CFG, "cache_pool_metadata_require_separate_pvs", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_CACHE_POOL_METADATA_REQUIRE_SEPARATE_PVS, vsn(2, 2, 106), NULL, 0, NULL,
  	"Cache pool metadata and data will always use different PVs.\n")
  
-Index: LVM2.2.02.165/lib/config/defaults.h
-===================================================================
---- LVM2.2.02.165.orig/lib/config/defaults.h
-+++ LVM2.2.02.165/lib/config/defaults.h
-@@ -158,6 +158,7 @@
+ cfg(allocation_cache_pool_cachemode_CFG, "cache_pool_cachemode", allocation_CFG_SECTION, CFG_PROFILABLE | CFG_PROFILABLE_METADATA | CFG_DEFAULT_COMMENTED, CFG_TYPE_STRING, DEFAULT_CACHE_MODE, vsn(2, 2, 113), NULL, vsn(2, 2, 128),
+diff --git a/lib/config/defaults.h b/lib/config/defaults.h
+index 2340636..256fab6 100644
+--- a/lib/config/defaults.h
++++ b/lib/config/defaults.h
+@@ -159,6 +159,7 @@
  #define DEFAULT_MAX_LV 0
  #define DEFAULT_ALLOC_POLICY ALLOC_NORMAL
  #define DEFAULT_MIRROR_LOGS_REQUIRE_SEPARATE_PVS 0
@@ -79,11 +82,11 @@
  #define DEFAULT_MAXIMISE_CLING 1
  #define DEFAULT_CLUSTERED 0
  
-Index: LVM2.2.02.165/lib/metadata/lv_manip.c
-===================================================================
---- LVM2.2.02.165.orig/lib/metadata/lv_manip.c
-+++ LVM2.2.02.165/lib/metadata/lv_manip.c
-@@ -1519,6 +1519,9 @@ struct alloc_handle {
+diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c
+index 0dfbad4..357e46a 100644
+--- a/lib/metadata/lv_manip.c
++++ b/lib/metadata/lv_manip.c
+@@ -1622,6 +1622,9 @@ struct alloc_handle {
  
  	unsigned maximise_cling;
  	unsigned mirror_logs_separate;	/* Force mirror logs on separate PVs? */
@@ -93,7 +96,7 @@
  
  	/*
  	 * RAID devices require a metadata area that accompanies each
-@@ -2633,6 +2636,32 @@ static int _limit_to_one_area_per_tag(st
+@@ -2736,6 +2739,32 @@ static int _limit_to_one_area_per_tag(struct alloc_handle *ah, struct alloc_stat
  }
  
  /*
@@ -126,7 +129,7 @@
   * Returns 1 regardless of whether any space was found, except on error.
   */
  static int _find_some_parallel_space(struct alloc_handle *ah,
-@@ -2762,6 +2791,10 @@ static int _find_some_parallel_space(str
+@@ -2865,6 +2894,10 @@ static int _find_some_parallel_space(struct alloc_handle *ah,
  					continue;
  
  				case USE_AREA:
@@ -137,7 +140,7 @@
  					/*
  					 * Except with ALLOC_ANYWHERE, replace first area with this
  					 * one which is smaller but still big enough.
-@@ -3243,6 +3276,7 @@ static struct alloc_handle *_alloc_init(
+@@ -3355,6 +3388,7 @@ static struct alloc_handle *_alloc_init(struct cmd_context *cmd,
  	ah->parity_count = parity_count;
  	ah->region_size = region_size;
  	ah->alloc = alloc;
@@ -145,7 +148,7 @@
  
  	/*
  	 * For the purposes of allocation, area_count and parity_count are
-@@ -3254,6 +3288,7 @@ static struct alloc_handle *_alloc_init(
+@@ -3366,6 +3400,7 @@ static struct alloc_handle *_alloc_init(struct cmd_context *cmd,
  	ah->area_multiple = _calc_area_multiple(segtype, area_count + parity_count, stripes);
  	//FIXME: s/mirror_logs_separate/metadata_separate/ so it can be used by others?
  	ah->mirror_logs_separate = find_config_tree_bool(cmd, allocation_mirror_logs_require_separate_pvs_CFG, NULL);
@@ -153,18 +156,24 @@
  
  	if (mirrors || stripes)
  		total_extents = new_extents;
-Index: LVM2.2.02.165/man/lvcreate.8.in
-===================================================================
---- LVM2.2.02.165.orig/man/lvcreate.8.in
-+++ LVM2.2.02.165/man/lvcreate.8.in
-@@ -418,6 +418,10 @@ Using \fBcore\fP means the mirror is reg
- from the first device each time the logical volume is activated,
- like after every reboot.
+diff --git a/man/lvcreate.8_pregen b/man/lvcreate.8_pregen
+index 6663087..c385927 100644
+--- a/man/lvcreate.8_pregen
++++ b/man/lvcreate.8_pregen
+@@ -416,6 +416,13 @@ Create a raid10 LV.
+ [ \fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT] ]
+ .ad b
  .br
 +Every leg of the mirrored logical volume could be placed on the pvs with
 +same tag, see details(mirror_legs_require_separate_pvs) in lvm.conf.
 +
 +.br
- Using \fBmirrored\fP will create a persistent log that is itself mirrored.
- .
- .HP
++Using \fBmirrored\fP will create a persistent log that is itself mirrored.
++.
++.HP
+ .ad l
+ [ \fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT] ]
+ .ad b
+-- 
+2.10.2
+
Index: LVM2.2.02.169.tgz
===================================================================
Binary file LVM2.2.02.169.tgz (revision 5) added
Index: LVM2.2.02.169.tgz.asc
===================================================================
--- LVM2.2.02.169.tgz.asc (added)
+++ LVM2.2.02.169.tgz.asc (revision 5)
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEABECAAYFAljafgEACgkQIoGRwVZ+LBeo5wCfVaQeSN73FPcJf86c3aqrFmZu
+Rs0AoJ6l75QbY2V55rhunJvwwDllKlpF
+=0Jtt
+-----END PGP SIGNATURE-----
Index: LVM2.2.02.168.tgz
===================================================================
Binary file LVM2.2.02.168.tgz (revision 176) deleted
Index: LVM2.2.02.168.tgz.asc
===================================================================
--- LVM2.2.02.168.tgz.asc (revision 176)
+++ LVM2.2.02.168.tgz.asc (deleted)
@@ -1,7 +0,0 @@
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEUEABECAAYFAlg/XqMACgkQIoGRwVZ+LBdjQACVGeU4I+B5ETIhINJeYXy2bLNu
-hQCgxEmGwG0ec2frSXhQociTYfT6vVc=
-=T5md
------END PGP SIGNATURE-----

OBS-URL: https://build.opensuse.org/request/show/487889
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=177
2017-04-18 10:55:18 +00:00
Tomáš Chvátal
bc6d22a59b - Add 'lvm2-lockd' subpackage, fate#323203 to lvm2-clvm to not pull
corosync and other deps to the core lvm2 package

- Add 'lvm2-lockd' subpackage, fate#323203 to lvm2-clvm to not pull
  corosync and other deps to the core lvm2 package

- Add 'lvm2-lockd' subpackage, fate#323203 to lvm2-clvm to not pull
  corosync and other deps to the core lvm2 package

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=176
2017-04-10 11:36:47 +00:00
Tomáš Chvátal
89857ea4f6 - Enable internal cache
- Enable lvmpolld
- Enable internal cache
- Enable lvmpolld
- Enable internal cache
- Enable lvmpolld

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=175
2017-04-10 11:01:31 +00:00
Tomáš Chvátal
a6cb4fc87d - Split configure options to have one per line
- Split configure options to have one per line
- Split configure options to have one per line

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=174
2017-04-10 10:41:54 +00:00
Tomáš Chvátal
cc9b493fe9 - Pass over with spec-cleaner
- Pass over with spec-cleaner

- Pass over with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=173
2017-04-10 10:40:22 +00:00
Tomáš Chvátal
e8d0c874f6 - Add the dlm_version and sandlock_version to common defs, to be
used later on

- Add the dlm_version and sandlock_version to common defs, to be
  used later on

- Add the dlm_version and sandlock_version to common defs, to be
  used later on

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=172
2017-04-10 10:37:58 +00:00
Dominique Leuenberger
f2b0336dc8 Accepting request 461233 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/461233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=100
2017-03-03 16:33:25 +00:00
Eric ren
d979f24d28 Accepting request 460502 from home:ZRen:branches:Base:System
- Improve the layout and readability of spec files
  * Place subpackages' sections at the bottom of spec file, making
  the layout more reasonable: 1. main package's spec sections are
  contiguous without a break; 2. subpackage's spec spections can
  also be placed together.

  * Get rid of wild-card usage in %files section; spec file is a
  perfect place for packager to know what files are exactly delivered
  with each RPMs; staring at wild-card doesn't give much information.

  * Put bsc#xxx at previous line of each SUSE patch at my best, some
  are still missing.

OBS-URL: https://build.opensuse.org/request/show/460502
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=170
2017-03-01 02:49:19 +00:00
Dominique Leuenberger
6014548dd9 Accepting request 460030 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/460030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=99
2017-02-24 23:47: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
Tomáš Chvátal
d35ced24ce Accepting request 459648 from home:ZRen:branches:Base:System
Fixes for bsc#1012973,bsc#1023283¸bsc#1025560

OBS-URL: https://build.opensuse.org/request/show/459648
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=167
2017-02-22 10:59:19 +00:00
Dominique Leuenberger
b1e49297cd Accepting request 453572 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/453572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=98
2017-02-04 14:18:41 +00:00