Hello community, here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2015-05-24 19:26:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-source (Old) and /work/SRC/openSUSE:Factory/.kernel-source.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source" Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-source/kernel-debug.changes 2015-05-16 19:01:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-debug.changes 2015-05-24 19:26:59.000000000 +0200 @@ -1,0 +2,22 @@ +Tue May 19 17:29:15 CEST 2015 - [email protected] + +- Revert "btrfs: delete chunk allocation attemp when setting block group ro". + High user impact, should land in 4.1. +- commit 4f5e0d5 + +------------------------------------------------------------------- +Tue May 19 12:31:23 CEST 2015 - [email protected] + +- Update config files. + Unset PKCS7_TEST_KEY, so that SYSTEM_TRUSTED_KEYRING can stay + disabled. I.e. make it the same as on other configs/arches. +- commit 6355689 + +------------------------------------------------------------------- +Mon May 18 09:19:31 CEST 2015 - [email protected] + +- Linux 4.0.4. +- Revert "xen/xenbus: Update xenbus event channel on resume". +- commit 383ecdf + +------------------------------------------------------------------- kernel-default.changes: same change kernel-desktop.changes: same change kernel-docs.changes: same change kernel-ec2.changes: same change kernel-lpae.changes: same change kernel-obs-build.changes: same change kernel-obs-qa-xen.changes: same change kernel-obs-qa.changes: same change kernel-pae.changes: same change kernel-pv.changes: same change kernel-source.changes: same change kernel-syms.changes: same change kernel-vanilla.changes: same change kernel-xen.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kernel-debug.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:04.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:04.000000000 +0200 @@ -20,7 +20,7 @@ # needssslcertforbuild %define srcversion 4.0 -%define patchversion 4.0.3 +%define patchversion 4.0.4 %define variant %{nil} %define vanilla_only 0 @@ -59,9 +59,9 @@ Summary: A Debug Version of the Kernel License: GPL-2.0 Group: System/Kernel -Version: 4.0.3 +Version: 4.0.4 %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif kernel-default.spec: same change kernel-desktop.spec: same change ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:04.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:04.000000000 +0200 @@ -16,7 +16,7 @@ # -%define patchversion 4.0.3 +%define patchversion 4.0.4 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -27,9 +27,9 @@ Summary: Kernel Documentation (man pages) License: GPL-2.0 Group: Documentation/Man -Version: 4.0.3 +Version: 4.0.4 %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif ++++++ kernel-ec2.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:04.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:04.000000000 +0200 @@ -20,7 +20,7 @@ # needssslcertforbuild %define srcversion 4.0 -%define patchversion 4.0.3 +%define patchversion 4.0.4 %define variant %{nil} %define vanilla_only 0 @@ -59,9 +59,9 @@ Summary: The Amazon EC2 Xen Kernel License: GPL-2.0 Group: System/Kernel -Version: 4.0.3 +Version: 4.0.4 %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif kernel-lpae.spec: same change ++++++ kernel-obs-build.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:04.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:04.000000000 +0200 @@ -19,7 +19,7 @@ #!BuildIgnore: post-build-checks -%define patchversion 4.0.3 +%define patchversion 4.0.4 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -45,9 +45,9 @@ Summary: package kernel and initrd for OBS VM builds License: GPL-2.0 Group: SLES -Version: 4.0.3 +Version: 4.0.4 %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif ++++++ kernel-obs-qa-xen.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:04.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:04.000000000 +0200 @@ -17,7 +17,7 @@ # needsrootforbuild -%define patchversion 4.0.3 +%define patchversion 4.0.4 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -36,9 +36,9 @@ Summary: Basic QA tests for the kernel License: GPL-2.0 Group: SLES -Version: 4.0.3 +Version: 4.0.4 %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif kernel-obs-qa.spec: same change ++++++ kernel-pae.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:04.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:04.000000000 +0200 @@ -20,7 +20,7 @@ # needssslcertforbuild %define srcversion 4.0 -%define patchversion 4.0.3 +%define patchversion 4.0.4 %define variant %{nil} %define vanilla_only 0 @@ -59,9 +59,9 @@ Summary: Kernel with PAE Support License: GPL-2.0 Group: System/Kernel -Version: 4.0.3 +Version: 4.0.4 %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif kernel-pv.spec: same change ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:04.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:04.000000000 +0200 @@ -18,7 +18,7 @@ %define srcversion 4.0 -%define patchversion 4.0.3 +%define patchversion 4.0.4 %define variant %{nil} %define vanilla_only 0 @@ -30,9 +30,9 @@ Summary: The Linux Kernel Sources License: GPL-2.0 Group: Development/Sources -Version: 4.0.3 +Version: 4.0.4 %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:04.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:04.000000000 +0200 @@ -24,10 +24,10 @@ Summary: Kernel Symbol Versions (modversions) License: GPL-2.0 Group: Development/Sources -Version: 4.0.3 +Version: 4.0.4 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif ++++++ kernel-vanilla.spec ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:05.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:05.000000000 +0200 @@ -20,7 +20,7 @@ # needssslcertforbuild %define srcversion 4.0 -%define patchversion 4.0.3 +%define patchversion 4.0.4 %define variant %{nil} %define vanilla_only 0 @@ -59,9 +59,9 @@ Summary: The Standard Kernel - without any SUSE patches License: GPL-2.0 Group: System/Kernel -Version: 4.0.3 +Version: 4.0.4 %if 0%{?is_kotd} -Release: <RELEASE>.g3ee3773 +Release: <RELEASE>.g4f5e0d5 %else Release: 0 %endif kernel-xen.spec: same change ++++++ config.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv6hl/vanilla new/config/armv6hl/vanilla --- old/config/armv6hl/vanilla 2015-05-07 11:35:52.000000000 +0200 +++ new/config/armv6hl/vanilla 2015-05-19 12:31:37.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.0.0 Kernel Configuration +# Linux/arm 4.0.4 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -5949,7 +5949,7 @@ CONFIG_PUBLIC_KEY_ALGO_RSA=y CONFIG_X509_CERTIFICATE_PARSER=y CONFIG_PKCS7_MESSAGE_PARSER=m -CONFIG_PKCS7_TEST_KEY=m +# CONFIG_PKCS7_TEST_KEY is not set CONFIG_BINARY_PRINTF=y # ++++++ patches.fixes.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/btrfs-revert-delete-chunk-allocation.patch new/patches.fixes/btrfs-revert-delete-chunk-allocation.patch --- old/patches.fixes/btrfs-revert-delete-chunk-allocation.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.fixes/btrfs-revert-delete-chunk-allocation.patch 2015-05-19 17:29:48.000000000 +0200 @@ -0,0 +1,84 @@ +From: Omar Sandoval <[email protected]> +Subject: Revert "btrfs: delete chunk allocation attemp when setting block + group ro" +Patch-mainline: 4.1 + +This reverts commit 2f0810880f082fa8ba66ab2c33b02e4ff9770a5e. + +This tried to fix the following test case: + + mkfs.ext4 -F /dev/sda + btrfs-convert /dev/sda + mount /dev/sda /mnt + btrfs device add -f /dev/sdb /mnt + btrfs balance start -v -dconvert=raid1 -mconvert=raid1 /mnt + +Before the reverted commit, this test case failed with ENOSPC because +all chunks on the freshly converted filesystem were allocated, although +many were empty. The reverted commit removed an allocation attempt in +btrfs_set_block_group_ro(), but that fix wasn't right. After the +reverted commit, the balance succeeds, but the data/metadata profiles +aren't actually updated: + + # btrfs fi df /mnt + Data, single: total=208.00MiB, used=49.48MiB + System, single: total=32.00MiB, used=4.00KiB + Metadata, single: total=208.00MiB, used=48.00KiB + GlobalReserve, single: total=4.00MiB, used=0.00B + +Indeed, several users reported that this commit caused a regression and +that converting the data and metadata profiles no longer works. This is +because the chunk allocation in question was where we actually allocated +the chunk with the new profile. Not seeing a more obvious fix, let's +just revert this. We can work around the ENOSPC in the original test +case by just issuing a balance to free up the unused block groups before +the conversion, anyways: + + mkfs.ext4 -F /dev/sda + btrfs-convert /dev/sda + mount /dev/sda /mnt + btrfs balance start -v /mnt + btrfs device add -f /dev/sdb /mnt + btrfs balance start -v -dconvert=raid1 -mconvert=raid1 /mnt + +Reported-by: Holger Hoffstätte <[email protected]> +Cc: Shaohua Li <[email protected]> +Signed-off-by: Omar Sandoval <[email protected]> +Signed-off-by: David Sterba <[email protected]> + +--- + + fs/btrfs/extent-tree.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c +index 8b353ad..6421852 100644 +--- a/fs/btrfs/extent-tree.c ++++ b/fs/btrfs/extent-tree.c +@@ -8537,6 +8537,14 @@ int btrfs_set_block_group_ro(struct btrfs_root *root, + if (IS_ERR(trans)) + return PTR_ERR(trans); + ++ alloc_flags = update_block_group_flags(root, cache->flags); ++ if (alloc_flags != cache->flags) { ++ ret = do_chunk_alloc(trans, root, alloc_flags, ++ CHUNK_ALLOC_FORCE); ++ if (ret < 0) ++ goto out; ++ } ++ + ret = set_block_group_ro(cache, 0); + if (!ret) + goto out; +@@ -8547,11 +8555,6 @@ int btrfs_set_block_group_ro(struct btrfs_root *root, + goto out; + ret = set_block_group_ro(cache, 0); + out: +- if (cache->flags & BTRFS_BLOCK_GROUP_SYSTEM) { +- alloc_flags = update_block_group_flags(root, cache->flags); +- check_system_chunk(trans, root, alloc_flags); +- } +- + btrfs_end_transaction(trans, root); + return ret; + } ++++++ patches.kernel.org.tar.bz2 ++++++ ++++ 2858 lines of diff (skipped) ++++++ series.conf ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:06.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:06.000000000 +0200 @@ -30,6 +30,8 @@ patches.kernel.org/patch-4.0.1 patches.kernel.org/patch-4.0.1-2 patches.kernel.org/patch-4.0.2-3 + patches.kernel.org/patch-4.0.3-4 + patches.kernel.org/revert-xen-xenbus-Update-xenbus-event-channel-on-res.patch ######################################################## # Build fixes that apply to the vanilla kernel too. @@ -277,6 +279,7 @@ # btrfs ######################################################## patches.suse/btrfs-use-correct-device-for-maps.patch + patches.fixes/btrfs-revert-delete-chunk-allocation.patch ######################################################## # Reiserfs Patches ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.VAYJTv/_old 2015-05-24 19:27:06.000000000 +0200 +++ /var/tmp/diff_new_pack.VAYJTv/_new 2015-05-24 19:27:06.000000000 +0200 @@ -1,3 +1,3 @@ -2015-05-13 15:41:19 +0200 -GIT Revision: 3ee37732a5a3a7c9a9db2c396f0d0554aed67735 +2015-05-19 17:29:48 +0200 +GIT Revision: 4f5e0d5e4abaaff617873107e77063bc6f834af7 GIT Branch: stable
