Hello community, here is the log from the commit of package lvm2 for openSUSE:Factory checked in at 2017-09-09 20:23:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lvm2 (Old) and /work/SRC/openSUSE:Factory/.lvm2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lvm2" Sat Sep 9 20:23:03 2017 rev:108 rq:521789 version:2.02.173 Changes: -------- --- /work/SRC/openSUSE:Factory/lvm2/device-mapper.changes 2017-07-24 12:31:30.469266812 +0200 +++ /work/SRC/openSUSE:Factory/.lvm2.new/device-mapper.changes 2017-09-09 20:23:06.807024920 +0200 @@ -1,0 +2,30 @@ +Fri Aug 18 09:53:39 UTC 2017 - mwi...@suse.com + +- 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 + +------------------------------------------------------------------- +Tue Aug 1 05:59:29 UTC 2017 - z...@suse.com + +- 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 + - version-plugins-in-libdir.patch + +------------------------------------------------------------------- +Tue Jul 25 13:48:00 UTC 2017 - z...@suse.com + +- Update to LVM2.2.02.173 +- Sync our lvm.conf with V2.02.173 + +------------------------------------------------------------------- lvm2-clvm.changes: same change lvm2.changes: same change Old: ---- 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch Import-ID_FS_XXX-variables-bnc909358.patch LVM2.2.02.172.tgz LVM2.2.02.172.tgz.asc device-mapper-dmsetup-export.patch 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 udev-Check-for-DM_NR_VALID_PATHS.patch udev_rules-update.diff version-plugins-in-libdir.patch New: ---- LVM2.2.02.173.tgz LVM2.2.02.173.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ device-mapper.spec ++++++ --- /var/tmp/diff_new_pack.2xbVCi/_old 2017-09-09 20:23:09.046709228 +0200 +++ /var/tmp/diff_new_pack.2xbVCi/_new 2017-09-09 20:23:09.050708663 +0200 @@ -19,8 +19,8 @@ %define libname libdevmapper1_03 %define libname_event libdevmapper-event1_03 ### COMMON-DEF-BEGIN ### -%define lvm2_version 2.02.172 -%define device_mapper_version 1.02.141 +%define lvm2_version 2.02.173 +%define device_mapper_version 1.02.142 %define thin_provisioning_version 0.7.0 ### COMMON-DEF-END ### Name: device-mapper @@ -53,50 +53,26 @@ Patch1001: cmirrord_remove_date_time_from_compilation.patch #fate#309425 Patch1002: display-dm-name-for-lv-name.diff -# no reference -Patch1003: device-mapper-type_punning.diff #fate#312248 -Patch1004: make-mirror-legs-on-different-tag-pvs.patch -Patch1005: improve-mirror-legs-on-different-tag-pvs.patch +Patch1003: make-mirror-legs-on-different-tag-pvs.patch +Patch1004: improve-mirror-legs-on-different-tag-pvs.patch #fate#315092 -Patch1006: cmirrord_improvment_performance.patch +Patch1005: cmirrord_improvment_performance.patch #fate#314367 -Patch1007: cluster_support_mirrord_log.diff -Patch1008: lvconvert-cluster-mirrored-disk-failed.patch -# no reference -Patch1009: pvmove_support_clustered_vg.diff +Patch1006: cluster_support_mirrord_log.diff +Patch1007: lvconvert-cluster-mirrored-disk-failed.patch #FATE#318413 -Patch1010: fsadm-add-support-for-btrfs.patch -#bnc#960744 -Patch1011: pvcreate-enhance-the-error-message.patch -#bnc873538 -Patch1012: fix-closedown-before-thread-finish.patch +Patch1008: fsadm-add-support-for-btrfs.patch #bnc#870824 -Patch1013: use-mirrortype-asdefault-whenclvmdrunning.patch -# no reference -Patch1014: version-plugins-in-libdir.patch +Patch1009: use-mirrortype-asdefault-whenclvmdrunning.patch #bsc#935623 -Patch1015: dmeventd-fix-dso-name-wrong-compare.patch +Patch1010: dmeventd-fix-dso-name-wrong-compare.patch #bsc#960044 -Patch1016: lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch +Patch1011: lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch #SUSE patches 2000+ for device mapper, udev rules -#bsc#479104,bnc#707253 -Patch2001: device-mapper-dmsetup-export.patch -#bnc#78902,bnc#789019,bnc#789020 -Patch2002: udev_rules-update.diff -#bnc#875233 -Patch2003: udev-Check-for-DM_NR_VALID_PATHS.patch -#bnc909358 -Patch2004: Import-ID_FS_XXX-variables-bnc909358.patch -#bsc#940298 -Patch2005: libdm-iface-not-output-error-message-inside-retry-loop.patch -#bnc#990538,bnc#986734 -Patch2006: 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch #bsc#1012973 -Patch2007: simplify-special-case-for-md-in-69-dm-lvm-metadata.patch -# no reference -Patch2008: device-mapper-gcc-warnings.patch +Patch2006: simplify-special-case-for-md-in-69-dm-lvm-metadata.patch ### COMMON-PATCH-END ### %description @@ -116,19 +92,7 @@ %patch1009 -p1 %patch1010 -p1 %patch1011 -p1 -%patch1012 -p1 -%patch1013 -p1 -%patch1014 -p1 -%patch1015 -p1 -%patch1016 -p1 -%patch2001 -p1 -%patch2002 -p1 -%patch2003 -p1 -%patch2004 -p1 -%patch2005 -p1 %patch2006 -p1 -%patch2007 -p1 -%patch2008 -p1 ### COMMON-PREP-END ### %build ++++++ lvm2-clvm.spec ++++++ --- /var/tmp/diff_new_pack.2xbVCi/_old 2017-09-09 20:23:09.078704718 +0200 +++ /var/tmp/diff_new_pack.2xbVCi/_new 2017-09-09 20:23:09.082704154 +0200 @@ -19,8 +19,8 @@ %define dlm_version 3.99.1 %define sanlock_version 3.3.0 ### COMMON-DEF-BEGIN ### -%define lvm2_version 2.02.172 -%define device_mapper_version 1.02.141 +%define lvm2_version 2.02.173 +%define device_mapper_version 1.02.142 %define thin_provisioning_version 0.7.0 ### COMMON-DEF-END ### Name: lvm2-clvm @@ -56,50 +56,26 @@ Patch1001: cmirrord_remove_date_time_from_compilation.patch #fate#309425 Patch1002: display-dm-name-for-lv-name.diff -# no reference -Patch1003: device-mapper-type_punning.diff #fate#312248 -Patch1004: make-mirror-legs-on-different-tag-pvs.patch -Patch1005: improve-mirror-legs-on-different-tag-pvs.patch +Patch1003: make-mirror-legs-on-different-tag-pvs.patch +Patch1004: improve-mirror-legs-on-different-tag-pvs.patch #fate#315092 -Patch1006: cmirrord_improvment_performance.patch +Patch1005: cmirrord_improvment_performance.patch #fate#314367 -Patch1007: cluster_support_mirrord_log.diff -Patch1008: lvconvert-cluster-mirrored-disk-failed.patch -# no reference -Patch1009: pvmove_support_clustered_vg.diff +Patch1006: cluster_support_mirrord_log.diff +Patch1007: lvconvert-cluster-mirrored-disk-failed.patch #FATE#318413 -Patch1010: fsadm-add-support-for-btrfs.patch -#bnc#960744 -Patch1011: pvcreate-enhance-the-error-message.patch -#bnc873538 -Patch1012: fix-closedown-before-thread-finish.patch +Patch1008: fsadm-add-support-for-btrfs.patch #bnc#870824 -Patch1013: use-mirrortype-asdefault-whenclvmdrunning.patch -# no reference -Patch1014: version-plugins-in-libdir.patch +Patch1009: use-mirrortype-asdefault-whenclvmdrunning.patch #bsc#935623 -Patch1015: dmeventd-fix-dso-name-wrong-compare.patch +Patch1010: dmeventd-fix-dso-name-wrong-compare.patch #bsc#960044 -Patch1016: lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch +Patch1011: lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch #SUSE patches 2000+ for device mapper, udev rules -#bsc#479104,bnc#707253 -Patch2001: device-mapper-dmsetup-export.patch -#bnc#78902,bnc#789019,bnc#789020 -Patch2002: udev_rules-update.diff -#bnc#875233 -Patch2003: udev-Check-for-DM_NR_VALID_PATHS.patch -#bnc909358 -Patch2004: Import-ID_FS_XXX-variables-bnc909358.patch -#bsc#940298 -Patch2005: libdm-iface-not-output-error-message-inside-retry-loop.patch -#bnc#990538,bnc#986734 -Patch2006: 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch #bsc#1012973 -Patch2007: simplify-special-case-for-md-in-69-dm-lvm-metadata.patch -# no reference -Patch2008: device-mapper-gcc-warnings.patch +Patch2006: simplify-special-case-for-md-in-69-dm-lvm-metadata.patch ### COMMON-PATCH-END ### %description @@ -120,19 +96,7 @@ %patch1009 -p1 %patch1010 -p1 %patch1011 -p1 -%patch1012 -p1 -%patch1013 -p1 -%patch1014 -p1 -%patch1015 -p1 -%patch1016 -p1 -%patch2001 -p1 -%patch2002 -p1 -%patch2003 -p1 -%patch2004 -p1 -%patch2005 -p1 %patch2006 -p1 -%patch2007 -p1 -%patch2008 -p1 ### COMMON-PREP-END ### %build ++++++ lvm2.spec ++++++ --- /var/tmp/diff_new_pack.2xbVCi/_old 2017-09-09 20:23:09.110700208 +0200 +++ /var/tmp/diff_new_pack.2xbVCi/_new 2017-09-09 20:23:09.114699644 +0200 @@ -21,8 +21,8 @@ %define cmdlib liblvm2cmd2_02 ### COMMON-DEF-BEGIN ### -%define lvm2_version 2.02.172 -%define device_mapper_version 1.02.141 +%define lvm2_version 2.02.173 +%define device_mapper_version 1.02.142 %define thin_provisioning_version 0.7.0 ### COMMON-DEF-END ### @@ -64,50 +64,26 @@ Patch1001: cmirrord_remove_date_time_from_compilation.patch #fate#309425 Patch1002: display-dm-name-for-lv-name.diff -# no reference -Patch1003: device-mapper-type_punning.diff #fate#312248 -Patch1004: make-mirror-legs-on-different-tag-pvs.patch -Patch1005: improve-mirror-legs-on-different-tag-pvs.patch +Patch1003: make-mirror-legs-on-different-tag-pvs.patch +Patch1004: improve-mirror-legs-on-different-tag-pvs.patch #fate#315092 -Patch1006: cmirrord_improvment_performance.patch +Patch1005: cmirrord_improvment_performance.patch #fate#314367 -Patch1007: cluster_support_mirrord_log.diff -Patch1008: lvconvert-cluster-mirrored-disk-failed.patch -# no reference -Patch1009: pvmove_support_clustered_vg.diff +Patch1006: cluster_support_mirrord_log.diff +Patch1007: lvconvert-cluster-mirrored-disk-failed.patch #FATE#318413 -Patch1010: fsadm-add-support-for-btrfs.patch -#bnc#960744 -Patch1011: pvcreate-enhance-the-error-message.patch -#bnc873538 -Patch1012: fix-closedown-before-thread-finish.patch +Patch1008: fsadm-add-support-for-btrfs.patch #bnc#870824 -Patch1013: use-mirrortype-asdefault-whenclvmdrunning.patch -# no reference -Patch1014: version-plugins-in-libdir.patch +Patch1009: use-mirrortype-asdefault-whenclvmdrunning.patch #bsc#935623 -Patch1015: dmeventd-fix-dso-name-wrong-compare.patch +Patch1010: dmeventd-fix-dso-name-wrong-compare.patch #bsc#960044 -Patch1016: lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch +Patch1011: lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch #SUSE patches 2000+ for device mapper, udev rules -#bsc#479104,bnc#707253 -Patch2001: device-mapper-dmsetup-export.patch -#bnc#78902,bnc#789019,bnc#789020 -Patch2002: udev_rules-update.diff -#bnc#875233 -Patch2003: udev-Check-for-DM_NR_VALID_PATHS.patch -#bnc909358 -Patch2004: Import-ID_FS_XXX-variables-bnc909358.patch -#bsc#940298 -Patch2005: libdm-iface-not-output-error-message-inside-retry-loop.patch -#bnc#990538,bnc#986734 -Patch2006: 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch #bsc#1012973 -Patch2007: simplify-special-case-for-md-in-69-dm-lvm-metadata.patch -# no reference -Patch2008: device-mapper-gcc-warnings.patch +Patch2006: simplify-special-case-for-md-in-69-dm-lvm-metadata.patch ### COMMON-PATCH-END ### # 3000+ for test code @@ -137,19 +113,7 @@ %patch1009 -p1 %patch1010 -p1 %patch1011 -p1 -%patch1012 -p1 -%patch1013 -p1 -%patch1014 -p1 -%patch1015 -p1 -%patch1016 -p1 -%patch2001 -p1 -%patch2002 -p1 -%patch2003 -p1 -%patch2004 -p1 -%patch2005 -p1 %patch2006 -p1 -%patch2007 -p1 -%patch2008 -p1 ### COMMON-PREP-END ### %patch3001 -p1 ++++++ LVM2.2.02.172.tgz -> LVM2.2.02.173.tgz ++++++ ++++ 16924 lines of diff (skipped) ++++++ bug-1043040_test-fix-read-ahead-issues-in-test-scripts.patch ++++++ --- /var/tmp/diff_new_pack.2xbVCi/_old 2017-09-09 20:23:09.682619593 +0200 +++ /var/tmp/diff_new_pack.2xbVCi/_new 2017-09-09 20:23:09.682619593 +0200 @@ -1,4 +1,4 @@ -From e1db89755455dfae9596c648c68a3e731d4419c7 Mon Sep 17 00:00:00 2001 +From 037eb35169d4a322c3b6d75c5b3491c77c41b4a3 Mon Sep 17 00:00:00 2001 From: Eric Ren <z...@suse.com> Date: Sat, 17 Jun 2017 21:32:40 +0800 Subject: [PATCH] test: fix read ahead issues in test scripts @@ -16,10 +16,10 @@ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/test/shell/lvcreate-usage.sh b/test/shell/lvcreate-usage.sh -index f7b4704..9001b64 100644 +index 4b5c2b6..e2e1b8f 100644 --- a/test/shell/lvcreate-usage.sh +++ b/test/shell/lvcreate-usage.sh -@@ -159,10 +159,10 @@ check lv_field $vg/$lv3 lv_read_ahead "8.00k" +@@ -173,10 +173,10 @@ check lv_field $vg/$lv3 lv_read_ahead "8.00k" check lv_field $vg/$lv3 lv_kernel_read_ahead "8.00k" lvcreate -L 8 -n $lv4 --readahead auto $vg check lv_field $vg/$lv4 lv_read_ahead "auto" @@ -33,10 +33,10 @@ check lv_field $vg/$lv6 lv_read_ahead "auto" check lv_field $vg/$lv6 lv_kernel_read_ahead "512.00k" diff --git a/test/shell/read-ahead.sh b/test/shell/read-ahead.sh -index 6e4bd35..3f9a9fd 100644 +index 9045de8..4a4991b 100644 --- a/test/shell/read-ahead.sh +++ b/test/shell/read-ahead.sh -@@ -31,11 +31,17 @@ lvchange -r 640 $vg/$lv +@@ -32,11 +32,17 @@ lvchange -r 640 $vg/$lv check lv_field $vg/$lv lv_read_ahead 640 --units s --nosuffix lvremove -ff $vg @@ -46,9 +46,9 @@ blockdev --setra 768 "$dev1" vgscan lvcreate -n $lv -L4m $vg "$dev1" --test $(blockdev --getra "$DM_DEV_DIR/$vg/$lv") -eq 768 +-test "$(blockdev --getra "$DM_DEV_DIR/$vg/$lv")" -eq 768 +if [ "$default_ra" -lt 768 ]; then -+ test $(blockdev --getra "$DM_DEV_DIR/$vg/$lv") -eq 768 ++ test "$(blockdev --getra "$DM_DEV_DIR/$vg/$lv")" -eq 768 +else + test $(blockdev --getra "$DM_DEV_DIR/$vg/$lv") -eq "$default_ra" +fi ++++++ fsadm-add-support-for-btrfs.patch ++++++ --- /var/tmp/diff_new_pack.2xbVCi/_old 2017-09-09 20:23:09.730612828 +0200 +++ /var/tmp/diff_new_pack.2xbVCi/_new 2017-09-09 20:23:09.730612828 +0200 @@ -1,32 +1,19 @@ -From cdb0d133b17a8c590f4b7458dbea81cdd4b4ed26 Mon Sep 17 00:00:00 2001 +From ecc163a3cb10a8ad89a445ec9d6fdb5a30c380de Mon Sep 17 00:00:00 2001 From: Eric Ren <z...@suse.com> Date: Thu, 6 Jul 2017 17:42:58 +0800 -Subject: [Patch v2] fsadm: add support for btrfs +Subject: [PATCH] fsadm: add support for btrfs Check: mount the device first and then run`btrfs filesystem scrub start -B` command Reisze: find the mount point first and resize the filesystem after get the device id since there are maybe several devices underneath btrfs filesystem - --- -Hi David, - - This is the patch I sent to upstream. It works fine based on our - test. - Please shed your light and thank you for taking time to review. - - Regards, - Lidong - -Signed-off-by: Lidong Zhong <lzh...@suse.com> -Refreshed-by: Eric Ren <z...@suse.com> ---- - scripts/fsadm.sh | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 72 insertions(+), 4 deletions(-) + scripts/fsadm.sh | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 71 insertions(+), 3 deletions(-) diff --git a/scripts/fsadm.sh b/scripts/fsadm.sh -index adf9b55..00ccc73 100755 +index 459905f..1219549 100755 --- a/scripts/fsadm.sh +++ b/scripts/fsadm.sh @@ -22,6 +22,7 @@ @@ -55,15 +42,6 @@ PROCDIR="/proc" PROCMOUNTS="$PROCDIR/mounts" PROCSELFMOUNTINFO="$PROCDIR/self/mountinfo" -@@ -152,7 +157,7 @@ cleanup() { - export _FSADM_YES _FSADM_EXTOFF - unset FSADM_RUNNING - test -n "$LVM_BINARY" && PATH=$_SAVEPATH -- dry exec "$LVM" lvresize $VERB $FORCE -r -L${NEWSIZE}b "$VOLUME_ORIG" -+ dry exec "$LVM" lvresize $VERB $FORCE -r -L${NEWSIZE}b "$VOLUME" - fi - - # error exit status for break @@ -225,6 +230,33 @@ detect_fs() { verbose "\"$FSTYPE\" filesystem found on \"$VOLUME\"." } @@ -98,7 +76,7 @@ # Check that passed mounted MAJOR:MINOR is not matching $MAJOR:MINOR of resized $VOLUME validate_mounted_major_minor() { -@@ -348,8 +380,12 @@ detect_mounted_with_proc_mounts() { +@@ -352,8 +384,12 @@ detect_mounted_with_proc_mounts() { # check if the given device is already mounted and where # FIXME: resolve swap usage and device stacking @@ -113,7 +91,7 @@ detect_mounted_with_proc_self_mountinfo elif test -e "$PROCMOUNTS"; then detect_mounted_with_proc_mounts -@@ -514,6 +550,31 @@ resize_xfs() { +@@ -520,6 +556,31 @@ resize_xfs() { fi } @@ -145,7 +123,7 @@ #################### # Resize filesystem #################### -@@ -530,6 +591,7 @@ resize() { +@@ -536,6 +597,7 @@ resize() { "ext3"|"ext2"|"ext4") resize_ext $NEWSIZE ;; "reiserfs") resize_reiser $NEWSIZE ;; "xfs") resize_xfs $NEWSIZE ;; @@ -153,7 +131,7 @@ *) error "Filesystem \"$FSTYPE\" on device \"$VOLUME\" is not supported by this tool." ;; esac || error "Resize $FSTYPE failed." cleanup 0 -@@ -587,6 +649,12 @@ check() { +@@ -593,6 +655,12 @@ check() { # Think about better way.... dry "$XFS_REPAIR" -n -o force_geometry "$VOLUME" fi ;; @@ -166,7 +144,7 @@ *) # check if executed from interactive shell environment case "$-" in *i*) dry "$FSCK" $YES $FORCE "$VOLUME" ;; -@@ -608,7 +676,7 @@ test -n "$FSADM_RUNNING" && exit 0 +@@ -614,7 +682,7 @@ test -n "$FSADM_RUNNING" && exit 0 for i in "$TUNE_EXT" "$RESIZE_EXT" "$TUNE_REISER" "$RESIZE_REISER" \ "$TUNE_XFS" "$RESIZE_XFS" "$MOUNT" "$UMOUNT" "$MKDIR" \ "$RMDIR" "$BLOCKDEV" "$BLKID" "$GREP" "$READLINK" \ ++++++ lvm.conf ++++++ ++++ 3038 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/lvm2/lvm.conf ++++ and /work/SRC/openSUSE:Factory/.lvm2.new/lvm.conf