Commit Graph

157 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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