Accepting request 1032864 from home:dsterba:branches:filesystems

- update to 6.0

OBS-URL: https://build.opensuse.org/request/show/1032864
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=374
This commit is contained in:
David Sterba 2022-11-02 11:59:24 +00:00 committed by Git OBS Bridge
parent 68433c3719
commit 192dfd20f2
7 changed files with 57 additions and 22 deletions

View File

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

Binary file not shown.

3
btrfs-progs-v6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99e0912d738ce99d3757ba5580225026052e5252a06ce6b3219d0caabb8f9a03
size 2845971

BIN
btrfs-progs-v6.0.tar.sign Normal file

Binary file not shown.

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Nov 2 00:00:00 CET 2022 - dsterba@suse.cz
- update to 6.0
* fi usage: in tabular output, print total size and slack size
* mkfs:
* option -O now accepts values from -R to unify the interface (-R will
continue to work)
* zone reset and discard is done in parallel on all devices
* removed option --leafsize, deprecated long time ago
* corrupt-block: recalculate checksum when changing generation
* fixes:
* convert: fix reserved range detection and overlaps
* mkfs: fix creating files with reserved inode numbers with --rootdir
* receive: escape filenames in command attributes
* fix extent buffer leaks after transaction abort
* experimental:
* mkfs: support for block-group-tree (kernel 6.1)
* fsverity in send (protocol v3, WIP)
* btrfstune -b converts to block-group-tree
* other:
* cleanups, refactoring
* new and updated tests
* update documentation
-------------------------------------------------------------------
Sat Sep 17 16:16:37 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -34,7 +34,7 @@
%define _dracutmodulesdir %(pkg-config --variable dracutmodulesdir dracut)
Name: btrfsprogs
Version: 5.19.1
Version: 6.0
Release: 0
Summary: Utilities for the Btrfs filesystem
License: GPL-2.0-only

View File

@ -11,28 +11,38 @@ Signed-off-by: Jeff Mahoney <jeffm@suse.com>
utils.h | 4 ++++
1 file changed, 4 insertions(+)
Index: btrfs-progs-v5.15/common/fsfeatures.h
Index: btrfs-progs-v6.0/common/fsfeatures.h
===================================================================
--- btrfs-progs-v5.15.orig/common/fsfeatures.h
+++ btrfs-progs-v5.15/common/fsfeatures.h
@@ -19,14 +19,20 @@
#include "kerncompat.h"
--- btrfs-progs-v6.0.orig/common/fsfeatures.h
+++ btrfs-progs-v6.0/common/fsfeatures.h
@@ -21,7 +21,9 @@
#include <stdio.h>
#include "kernel-lib/sizes.h"
+#ifndef BTRFS_MKFS_DEFAULT_NODE_SIZE
#define BTRFS_MKFS_DEFAULT_NODE_SIZE SZ_16K
+#endif
+#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
* Since one feature can set at least one bit in either
@@ -44,11 +46,20 @@ struct btrfs_mkfs_features {
#define BTRFS_FEATURE_STRING_BUF_SIZE (160)
static const struct btrfs_mkfs_features btrfs_mkfs_default_features = {
+#ifndef BTRFS_MKFS_DEFAULT_RUNTIME_FEATURES
.compat_ro_flags = BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE |
BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID,
+#else
+ .compat_ro_flags = BTRFS_MKFS_DEFAULT_RUNTIME_FEATURES ,
+#endif
+
+#ifndef BTRFS_MKFS_DEFAULT_FEATURES
.incompat_flags = BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF |
BTRFS_FEATURE_INCOMPAT_NO_HOLES |
BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA,
+#else
+ .incompat_flags = BTRFS_MKFS_DEFAULT_FEATURES ,
+#endif
};
/*