From bc9b48237d9e8843dbbe07825cf48752d119e4a505f46891bbd1d397943e695c Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 18 Oct 2016 11:42:45 +0000 Subject: [PATCH 1/3] Accepting request 435904 from home:dsterba:branches:filesystems - update to 4.8.1 OBS-URL: https://build.opensuse.org/request/show/435904 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=255 --- btrfs-progs-v4.7.3.tar.gz | 3 --- btrfs-progs-v4.8.1.tar.gz | 3 +++ btrfsprogs.changes | 15 +++++++++++++++ btrfsprogs.spec | 2 +- local-version-override.patch | 4 ++-- 5 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 btrfs-progs-v4.7.3.tar.gz create mode 100644 btrfs-progs-v4.8.1.tar.gz diff --git a/btrfs-progs-v4.7.3.tar.gz b/btrfs-progs-v4.7.3.tar.gz deleted file mode 100644 index cedc607..0000000 --- a/btrfs-progs-v4.7.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c16df42626193345fa51301aaa2180e910d00fd2daed31e0f036589f900394e5 -size 1623377 diff --git a/btrfs-progs-v4.8.1.tar.gz b/btrfs-progs-v4.8.1.tar.gz new file mode 100644 index 0000000..c451b04 --- /dev/null +++ b/btrfs-progs-v4.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cb9a0be8f9f57120dad504bec95060b1f4facbb3e2439d32cf6ab9d08bb21b4 +size 1630823 diff --git a/btrfsprogs.changes b/btrfsprogs.changes index ca9795e..b6764c7 100644 --- a/btrfsprogs.changes +++ b/btrfsprogs.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Oct 18 00:00:00 CEST 2016 - dsterba@suse.cz + +- update to 4.8.1 + * 32bit builds fixed + * build without backtrace support fixed +- update to 4.8 + * error handling improvements all over the place + * new fuzzed images, test updates + * doc fixups + * minor cleanups and improvements + * kernel library helpers moved to own directory + * qgroup: fix regression leading to incorrect status after check, + introduced in 4.7 + ------------------------------------------------------------------- Wed Sep 28 00:00:00 CEST 2016 - dsterba@suse.cz diff --git a/btrfsprogs.spec b/btrfsprogs.spec index 5f072a9..4624054 100644 --- a/btrfsprogs.spec +++ b/btrfsprogs.spec @@ -28,7 +28,7 @@ %endif Name: btrfsprogs -Version: 4.7.3 +Version: 4.8.1 Release: 0 Summary: Utilities for the Btrfs filesystem License: GPL-2.0 diff --git a/local-version-override.patch b/local-version-override.patch index a388bcf..6941495 100644 --- a/local-version-override.patch +++ b/local-version-override.patch @@ -6,8 +6,8 @@ Index: btrfs-progs-v4.1/version.sh # Copyright 2008, Oracle # Released under the GNU GPLv2 --v="v4.7.3" -+v="v4.7.3+20160926" +-v="v4.8.1" ++v="v4.8.1+20161018" opt=$1 From 960b0f8574c42aaa49a24179b66a626b86b9af797bd17be5b0fd36c2fb1b3d2a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 28 Oct 2016 16:15:55 +0000 Subject: [PATCH 2/3] Accepting request 437311 from home:jeff_mahoney:branches:filesystems - Add ability to provide site specific defaults for mkfs (FATE#320615). * Only used for SLES11 defaults. - Added patch mkfs-default-features.patch OBS-URL: https://build.opensuse.org/request/show/437311 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=256 --- btrfsprogs.changes | 7 +++++++ btrfsprogs.spec | 8 ++++++++ mkfs-default-features.patch | 30 ++++++++++++++++++++++++++++++ sles11-defaults.h | 5 +++++ 4 files changed, 50 insertions(+) create mode 100644 mkfs-default-features.patch create mode 100644 sles11-defaults.h diff --git a/btrfsprogs.changes b/btrfsprogs.changes index b6764c7..b8e1327 100644 --- a/btrfsprogs.changes +++ b/btrfsprogs.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 25 15:58:46 UTC 2016 - jeffm@suse.com + +- Add ability to provide site specific defaults for mkfs (FATE#320615). + * Only used for SLES11 defaults. +- Added patch mkfs-default-features.patch + ------------------------------------------------------------------- Tue Oct 18 00:00:00 CEST 2016 - dsterba@suse.cz diff --git a/btrfsprogs.spec b/btrfsprogs.spec index 4624054..92fb5ec 100644 --- a/btrfsprogs.spec +++ b/btrfsprogs.spec @@ -40,12 +40,14 @@ Source: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs # support for mkinitrd in < 13.1 Source1: boot-btrfs.sh Source4: setup-btrfs.sh +Source5: sles11-defaults.h Patch163: 0163-btrfs-progs-fsck-fix-segfault.patch Patch167: 0167-Btrfs-progs-make-find_and_setup_root-return-an-error.patch Patch168: 0168-Btrfs-progs-don-t-bug-out-if-we-can-t-find-the-last-.patch Patch1000: local-version-override.patch +Patch1001: mkfs-default-features.patch BuildRequires: asciidoc BuildRequires: autoconf @@ -141,9 +143,15 @@ thing. %patch167 -p1 %patch168 -p1 %patch1000 -p1 +%patch1001 -p1 %build ./autogen.sh +%if 0%{?suse_version} == 1110 +cp %{SOURCE5} . +export CFLAGS="%optflags -include sles11-defaults.h" +%endif + %configure make V=1 %{?_smp_mflags} all \ %if %build_static diff --git a/mkfs-default-features.patch b/mkfs-default-features.patch new file mode 100644 index 0000000..12c2af1 --- /dev/null +++ b/mkfs-default-features.patch @@ -0,0 +1,30 @@ +From: Jeff Mahoney +Subject: mkfs: allow site to override defaults +Patch-mainline: Never, a real solution with a config file is required +References: FATE#320615 + +This is a simple method to allow us to set site defaults for mkfs by +adding -include to cflags. + +Signed-off-by: Jeff Mahoney +--- + utils.h | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/utils.h ++++ b/utils.h +@@ -28,10 +28,14 @@ + + #define BTRFS_MKFS_SYSTEM_GROUP_SIZE (4 * 1024 * 1024) + #define BTRFS_MKFS_SMALL_VOLUME_SIZE (1024 * 1024 * 1024) ++#ifndef BTRFS_MKFS_DEFAULT_NODE_SIZE + #define BTRFS_MKFS_DEFAULT_NODE_SIZE 16384 ++#endif ++#ifndef BTRFS_MKFS_DEFAULT_FEATURES + #define BTRFS_MKFS_DEFAULT_FEATURES \ + (BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF \ + | BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) ++#endif + + /* + * Avoid multi-device features (RAID56) and mixed block groups diff --git a/sles11-defaults.h b/sles11-defaults.h new file mode 100644 index 0000000..d6cedac --- /dev/null +++ b/sles11-defaults.h @@ -0,0 +1,5 @@ +#ifndef _SLES11_DEFAULTS_H +#define _SLES11_DEFAULTS_H +#define BTRFS_MKFS_DEFAULT_NODE_SIZE sysconf(_SC_PAGESIZE) +#define BTRFS_MKFS_DEFAULT_FEATURES BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF +#endif From 62f14961dd44ecb9754c4aa2a3bd8d05ebc8d972a264ce0dede619efaa5c986a Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 31 Oct 2016 08:30:55 +0000 Subject: [PATCH 3/3] Accepting request 437995 from home:dsterba:branches:filesystems - update to 4.8.2 OBS-URL: https://build.opensuse.org/request/show/437995 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=257 --- btrfs-progs-v4.8.1.tar.gz | 3 --- btrfs-progs-v4.8.2.tar.gz | 3 +++ btrfsprogs.changes | 16 ++++++++++++++++ btrfsprogs.spec | 2 +- local-version-override.patch | 4 ++-- 5 files changed, 22 insertions(+), 6 deletions(-) delete mode 100644 btrfs-progs-v4.8.1.tar.gz create mode 100644 btrfs-progs-v4.8.2.tar.gz diff --git a/btrfs-progs-v4.8.1.tar.gz b/btrfs-progs-v4.8.1.tar.gz deleted file mode 100644 index c451b04..0000000 --- a/btrfs-progs-v4.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7cb9a0be8f9f57120dad504bec95060b1f4facbb3e2439d32cf6ab9d08bb21b4 -size 1630823 diff --git a/btrfs-progs-v4.8.2.tar.gz b/btrfs-progs-v4.8.2.tar.gz new file mode 100644 index 0000000..a5ab39f --- /dev/null +++ b/btrfs-progs-v4.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfe1b692d23bb2121df85206ed9f0ab71b2b6baa2ce7393b943aad856a387dc4 +size 1675808 diff --git a/btrfsprogs.changes b/btrfsprogs.changes index b8e1327..392474a 100644 --- a/btrfsprogs.changes +++ b/btrfsprogs.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Oct 31 00:00:00 CET 2016 - dsterba@suse.cz + +- update to 4.8.2 + * convert: also convert file attributes + * convert: fix wrong tree block alignment for unalianged block group + * check: quota verify fixes, handle reloc tree + * build: add stub for FIEMAP_EXTENT_SHARED, compiles on ancient kernels + * build: add stub for BUILD_ASSERT when ioctl.h is included + * dump-tree: don't crash on unrecognized tree id for -t + * tests: + * add more ioctl tests + * convert: more symlink tests, attribute tests + * quota verify for reloc tree + * other cleanups + ------------------------------------------------------------------- Tue Oct 25 15:58:46 UTC 2016 - jeffm@suse.com diff --git a/btrfsprogs.spec b/btrfsprogs.spec index 92fb5ec..8af6ded 100644 --- a/btrfsprogs.spec +++ b/btrfsprogs.spec @@ -28,7 +28,7 @@ %endif Name: btrfsprogs -Version: 4.8.1 +Version: 4.8.2 Release: 0 Summary: Utilities for the Btrfs filesystem License: GPL-2.0 diff --git a/local-version-override.patch b/local-version-override.patch index 6941495..971d825 100644 --- a/local-version-override.patch +++ b/local-version-override.patch @@ -6,8 +6,8 @@ Index: btrfs-progs-v4.1/version.sh # Copyright 2008, Oracle # Released under the GNU GPLv2 --v="v4.8.1" -+v="v4.8.1+20161018" +-v="v4.8.2" ++v="v4.8.2+20161031" opt=$1