From 820c48557d8a20f840d65b5be893033e194282d3794043e5a9ea8495902c315d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 12 Nov 2021 14:59:10 +0000 Subject: [PATCH] Accepting request 930707 from filesystems - Update to 5.15 (forwarded request 930706 from dsterba) OBS-URL: https://build.opensuse.org/request/show/930707 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=124 --- btrfs-progs-v5.14.1.tar.gz | 3 --- btrfs-progs-v5.15.tar.gz | 3 +++ btrfsprogs.changes | 43 +++++++++++++++++++++++++++++++++++++ btrfsprogs.spec | 6 ++---- mkfs-default-features.patch | 14 ++++++++---- sles11-defaults.h | 1 + 6 files changed, 59 insertions(+), 11 deletions(-) delete mode 100644 btrfs-progs-v5.14.1.tar.gz create mode 100644 btrfs-progs-v5.15.tar.gz diff --git a/btrfs-progs-v5.14.1.tar.gz b/btrfs-progs-v5.14.1.tar.gz deleted file mode 100644 index a1a7561..0000000 --- a/btrfs-progs-v5.14.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10d2cdd508db81d8edb3a589315f7438ab40cfef93ec7a6577526ba2763f1093 -size 2771466 diff --git a/btrfs-progs-v5.15.tar.gz b/btrfs-progs-v5.15.tar.gz new file mode 100644 index 0000000..36941a5 --- /dev/null +++ b/btrfs-progs-v5.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3361da7c18f8ee35986c118cee029e9a8dcf695ac9ac4f984ff41b593c4f85a3 +size 2830077 diff --git a/btrfsprogs.changes b/btrfsprogs.changes index 7172458..16ac8f4 100644 --- a/btrfsprogs.changes +++ b/btrfsprogs.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Wed Nov 10 00:00:00 CET 2021 - dsterba@suse.cz + +- Update to 5.15 + * mkfs: new defaults! + * no-holes + * free-space-tree + * DUP for metadata unconditionally + * libbtrfsutil: add missing profile defines + * libbtrfs: minimize its impact on the other code, refactor and separate + implementation where needed, cleanup afterwards, reduced header exports + * documentation: introduce sphinx build and RST versions of manual pages, + will become the new format and replace asciidoc + * fixes: warning regarding v1 space cache when only v2 (free space tree) is + enabled +- Update to 5.14.1 + * fixes + * zoned mode + * properly detect non-zoned devices in emulation mode + * properly create quota tree + * raid1c3/4 also excluded from unsupported profiles + * use sysfs-based detection of device discard capability, fix mkfs-time trim + for non-standard devices + * mkfs: fix creation of populated filesystem with free space tree + * detect multipath devices (needs libudev) + * replace start: add option -K/--nodiscard, similar to what mkfs or device add has + * dump-tree: print complete root_item + * mkfs: add option --verbose + * sb-mod: better help, no checksum calculation on read-only actions + * subvol show: + * print more information (regarding send and receive) + * print warning if read-write subvolume has received_uuid set + * property set: + * add parameter -f to force changes + * changing ro->rw switch now needs -f if subvolume has received_uuid set, + (see documentation) + * build: optional libudev (on by default) + * other + * remove deprecated support for CREATE_ASYNC bit for subvolume ioctl + * CI updates + * new and updated tests +- Update patch: mkfs-default-features.patch (add stub define for new defaults) + ------------------------------------------------------------------- Wed Sep 22 00:00:00 CEST 2021 - dsterba@suse.cz diff --git a/btrfsprogs.spec b/btrfsprogs.spec index 67002a5..2366805 100644 --- a/btrfsprogs.spec +++ b/btrfsprogs.spec @@ -34,7 +34,7 @@ %define _dracutmodulesdir %(pkg-config --variable dracutmodulesdir dracut) Name: btrfsprogs -Version: 5.14.1 +Version: 5.15 Release: 0 Summary: Utilities for the Btrfs filesystem License: GPL-2.0-only @@ -74,10 +74,8 @@ BuildRequires: pkg-config %if 0%{?suse_version} >= 1310 BuildRequires: suse-module-tools %endif -BuildRequires: pkgconfig(udev) -%if 0%{?suse_version} == 1310 BuildRequires: libudev-devel -%endif +BuildRequires: pkgconfig(udev) %if %build_docs BuildRequires: xmlto %endif diff --git a/mkfs-default-features.patch b/mkfs-default-features.patch index 9598d81..9165df9 100644 --- a/mkfs-default-features.patch +++ b/mkfs-default-features.patch @@ -11,11 +11,11 @@ Signed-off-by: Jeff Mahoney utils.h | 4 ++++ 1 file changed, 4 insertions(+) -Index: btrfs-progs-v5.12/common/fsfeatures.h +Index: btrfs-progs-v5.15/common/fsfeatures.h =================================================================== ---- btrfs-progs-v5.12.orig/common/fsfeatures.h -+++ btrfs-progs-v5.12/common/fsfeatures.h -@@ -19,10 +19,14 @@ +--- btrfs-progs-v5.15.orig/common/fsfeatures.h ++++ btrfs-progs-v5.15/common/fsfeatures.h +@@ -19,14 +19,20 @@ #include "kerncompat.h" @@ -25,8 +25,14 @@ Index: btrfs-progs-v5.12/common/fsfeatures.h +#ifndef BTRFS_MKFS_DEFAULT_FEATURES #define BTRFS_MKFS_DEFAULT_FEATURES \ (BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF \ + | BTRFS_FEATURE_INCOMPAT_NO_HOLES \ | BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) +#endif ++#ifndef BTRFS_MKFS_DEFAULT_RUNTIME_FEATURES + #define BTRFS_MKFS_DEFAULT_RUNTIME_FEATURES \ + (BTRFS_RUNTIME_FEATURE_FREE_SPACE_TREE) ++#endif + /* * Avoid multi-device features (RAID56), mixed block groups, and zoned mode diff --git a/sles11-defaults.h b/sles11-defaults.h index d6cedac..6bde219 100644 --- a/sles11-defaults.h +++ b/sles11-defaults.h @@ -2,4 +2,5 @@ #define _SLES11_DEFAULTS_H #define BTRFS_MKFS_DEFAULT_NODE_SIZE sysconf(_SC_PAGESIZE) #define BTRFS_MKFS_DEFAULT_FEATURES BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF +#define BTRFS_MKFS_DEFAULT_RUNTIME_FEATURES (0) #endif