Commit Graph

36 Commits

Author SHA256 Message Date
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
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
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
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
0ce44c981a Accepting request 514845 from network:ha-clustering:Unstable
- Dropped several not-upstreamed patches, some of them neither have
  history reference nor patch header, some were temporary workaround
  fix.
  - device-mapper-gcc-warnings.patch
  - device-mapper-type_punning.diff
  - fix-closedown-before-thread-finish.patch
  - libdm-iface-not-output-error-message-inside-retry-loop.patch
  - pvcreate-enhance-the-error-message.patch
  - pvmove_support_clustered_vg.diff

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

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

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

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

OBS-URL: https://build.opensuse.org/request/show/514845
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=200
2017-08-07 07:53:46 +00:00
Eric ren
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
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
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
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
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
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
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
Tomáš Chvátal
bf54202619 - Remove special case for md (bsc#1012973)
* remove-special-case-for-md-in-69-dm-lvm-metadata.rul.patch

- Remove special case for md (bsc#1012973)
  * remove-special-case-for-md-in-69-dm-lvm-metadata.rul.patch

- Remove special case for md (bsc#1012973)
  * remove-special-case-for-md-in-69-dm-lvm-metadata.rul.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=164
2017-01-20 09:47:48 +00:00
Tomáš Chvátal
cd20cc0748 - add a new test package named lvm2-testsuite bnc#950089
* lvm2-testsuite.patch

- add a new test package named lvm2-testsuite bnc#950089
  * lvm2-testsuite.patch

- add a new test package named lvm2-testsuite bnc#950089
  * lvm2-testsuite.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=163
2017-01-10 09:43:13 +00:00
Tomáš Chvátal
c10bed7ee3 - Version update to 2.02.168 release, see WHATS_NEW and WHATS_NEW_DM
files for detailed changelogs
  * Refresh patch cluster_support_mirrord_log.diff

- Version update to 2.02.168 release, see WHATS_NEW and WHATS_NEW_DM
  files for detailed changelogs
  * Refresh patch cluster_support_mirrord_log.diff

- Version update to 2.02.168 release, see WHATS_NEW and WHATS_NEW_DM
  files for detailed changelogs
  * Refresh patch cluster_support_mirrord_log.diff

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

OBS-URL: https://build.opensuse.org/request/show/426139
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=158
2016-09-14 09:43:37 +00:00
cd69f1258b OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=157 2016-09-07 12:30:53 +00:00
5d063b296c Accepting request 424412 from home:scarabeus_iv:branches:Base:System
- Update to 2.02.164 release, WHATS_NEW for changelog
  * Mostly because the old tarball was no longer available
  * Refresh fuzz on patch:
    + make-mirror-legs-on-different-tag-pvs.patch
    + cluster_support_mirrord_log.diff

- Update to 2.02.164 release, WHATS_NEW for changelog
  * Mostly because the old tarball was no longer available
  * Refresh fuzz on patch:
    + make-mirror-legs-on-different-tag-pvs.patch
    + cluster_support_mirrord_log.diff

- Update to 2.02.164 release, WHATS_NEW for changelog
  * Mostly because the old tarball was no longer available
  * Refresh fuzz on patch:
    + make-mirror-legs-on-different-tag-pvs.patch
    + cluster_support_mirrord_log.diff

OBS-URL: https://build.opensuse.org/request/show/424412
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=156
2016-09-07 06:55:17 +00:00
LiuhuaMelody Wang
5768ee5ddf Accepting request 407296 from home:scarabeus_iv:branches:Base:System
- Update to 2.02.160 release, read WHATS_NEW for detailed log.
  * Most notable is lvconvert refactor/enhancements
  * Refresh patch:
    + cluster_support_mirrord_log.diff

- Update to 2.02.160 release, read WHATS_NEW for detailed log.
  * Most notable is lvconvert refactor/enhancements
  * Refresh patch:
    + cluster_support_mirrord_log.diff

- Update to 2.02.160 release, read WHATS_NEW for detailed log.
  * Most notable is lvconvert refactor/enhancements
  * Refresh patch:
    + cluster_support_mirrord_log.diff

OBS-URL: https://build.opensuse.org/request/show/407296
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=155
2016-07-25 02:29:50 +00:00
f2dca905c9 Accepting request 400646 from home:scarabeus_iv:branches:Base:System
- Add thin-provisioning-tools to deps to fix configure warnings

- Do not run initrd regenerating twice in post

- Update to 2.02.155 release, read WHATS_NEW for detailed log.
  * Mostly few bugfixes around caching
- Refresh patch pvmove_support_clustered_vg.diff

- Add thin-provisioning-tools to deps to fix configure warnings

- Do not run initrd regenerating twice in post

- Update to 2.02.155 release, read WHATS_NEW for detailed log.
  * Mostly few bugfixes around caching
- Refresh patch pvmove_support_clustered_vg.diff

- Add thin-provisioning-tools to deps to fix configure warnings

- Do not run initrd regenerating twice in post

- Update to 2.02.155 release, read WHATS_NEW for detailed log.
  * Mostly few bugfixes around caching
- Refresh patch pvmove_support_clustered_vg.diff

OBS-URL: https://build.opensuse.org/request/show/400646
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=154
2016-06-14 12:45:57 +00:00
Dominique Leuenberger
40dea6f79c Accepting request 396777 from home:scarabeus_iv:branches:Base:System
- Add compat symlinks for binaries to /sbin/ to avoid errors on
  hardcoded systems, obsolete them with leap 43

- Add compat symlinks for binaries to /sbin/ to avoid errors on
  hardcoded systems, obsolete them with leap 43

- Add compat symlinks for binaries to /sbin/ to avoid errors on
  hardcoded systems, obsolete them with leap 43

OBS-URL: https://build.opensuse.org/request/show/396777
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=152
2016-05-30 12:16:29 +00:00
LiuhuaMelody Wang
d3abef8d85 Accepting request 394993 from home:scarabeus_iv:branches:Base:System
- Add conflicts on unsplit packages to allow smooth upgrade path
  Also do the conflict properly in baselibs.conf

- Add dependencies to the devel pacakge in baselibs.conf

- Add conflicts on unsplit packages to allow smooth upgrade path
  Also do the conflict properly in baselibs.conf

- Add dependencies to the devel pacakge in baselibs.conf

- Add conflicts on unsplit packages to allow smooth upgrade path
  Also do the conflict properly in baselibs.conf

- Add dependencies to the devel pacakge in baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/394993
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=151
2016-05-17 09:54:33 +00:00
LiuhuaMelody Wang
8ac4ae703b Accepting request 393600 from home:scarabeus_iv:branches:Base:System
- Update patch use-mirrortype-asdefault-whenclvmdrunning.patch
  to match up the patches/pvmove_support_clustered_vg.diff and not
  use the define declared only when building clvm codebase;
  it is still broken if someone changes the PID location, but at least
  it now does not depend on clvm code
- Regenerate_initrd in post of the lvm2 main pkg
- Update baselibs to point to split-out devicemapper libraries

- Keep in sync the common configuration options that are shared among
  all the variants dm/lvm2/clvm

- Provide symlinks to 1.02 versions of dm and dm-event libs
  * this should sort out binary packages without the need of double
    rebuilding

- Update to 2.02.152 release, read WHATS_NEW for detailed log.
- Refresh patches:
  * 10-dm.rules-Reset-state-variable-for-spurious-events.patch
  * device-mapper-gcc-warnings.patch
  * device-mapper-link.patch
  * udev-Check-for-DM_NR_VALID_PATHS.patch
- Slightly tweak btrfs patch as the code changed for the detection:
  * fsadm-add-support-for-btrfs.patch

- Build and install properly cluster files
- Remove csm-converter.tar.gz as the evms was last present on sle10
  and thus migration is bit out of scope today

- Add pre_checkin.sh to allow syncing of patches between packages:
  workflow = add everything to lvm2.spec and run pre_checkin.sh

OBS-URL: https://build.opensuse.org/request/show/393600
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=150
2016-05-11 03:42:15 +00:00
Stephan Kulow
f1a960eb91 Accepting request 138672 from Base:System
- lvm2.spec: merge rules for device-mapper and
  lvm2-clvm packages, so there is only one
  spec file and all packages are built consistently.

OBS-URL: https://build.opensuse.org/request/show/138672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=47
2012-10-23 17:40:13 +00:00
Stephan Kulow
56e5ad2fa6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=46 2012-10-18 08:15:42 +00:00
OBS User unknown
c114ca9b11 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=32 2009-05-15 20:00:20 +00:00