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
This commit is contained in:
Dominique Leuenberger 2021-11-12 14:59:10 +00:00 committed by Git OBS Bridge
parent 6b8b1fba75
commit 820c48557d
6 changed files with 59 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10d2cdd508db81d8edb3a589315f7438ab40cfef93ec7a6577526ba2763f1093
size 2771466

3
btrfs-progs-v5.15.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3361da7c18f8ee35986c118cee029e9a8dcf695ac9ac4f984ff41b593c4f85a3
size 2830077

View File

@ -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

View File

@ -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

View File

@ -11,11 +11,11 @@ Signed-off-by: Jeff Mahoney <jeffm@suse.com>
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

View File

@ -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