Skip to contentSkip to conversation

Btrfs progs release 7.0

DISCUSSION David Sterba 3 participants 5 messages May 9 – May 23 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

btrfs-progs version 7.0 have been released.

Mixed changes, notable one is a faster crc32c implementation on Musl. The release on GH now provides ARM v8 static binaries (built on the GH infrastructure, like the x86_64 ones).

Changelog:

* btrfstune: add ability to do offline conversion to the remap tree (experimental feature)
* mkfs: add hole detection when precalculating size for --rootdir
* fixes: recognize fs-verity tree items in various tools (check)
* enable PCLMUL implementation on Musl (previously using SSE 4.2 at best)
* help format changed to be in line with common packages like util-linux
* reject writes to filesystem during check/btrfstune in case there's pending state of device replace or balance
* other:
* build ARM64 static binaries (attached to GH release) backward compatibility level is 'archv8-a'
* CI updates
* documentation updates

Tarballs: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
Git: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
Release: https://github.com/kdave/btrfs-progs/releases/tag/v7.0
Python: https://pypi.org/project/btrfsutil/

#1 lore raw
Quoted 1 line · David Sterba

btrfs-progs version 7.0 have been released.

Thanks.
This version correct some bugs in the Ubuntu 24 btrfs package.

Quoted 3 lines

Tarballs: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
Git: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
Release: https://github.com/kdave/btrfs-progs/releases/tag/v7.0

To get the newest version of btrfs.box.static I have written this script:

root@fex:/opt/btrfs-tools# cat btrfs-update
#!/bin/bash

bbs=btrfs.box.static
cd /opt/btrfs-tools/bin || exit 1
vv -s btrfs
rm -f $bbs
curl -sS -D- https://github.com/kdave/btrfs-progs/releases/latest |\
perl -ne 's/^location: (\S+)/wget -q $1\/'$bbs'/ and s:/tag/:/download/: and print' |sh -x if [[ $(file $bbs) =~ executable ]]; then
cat $bbs > btrfs
del $bbs
fi
btrfs --version

Yes, it works but it is ... ugly :-}

Is there a more elegant solution?

Signature · 6 lines
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart         E-Mail: [email protected]
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    https://www.tik.uni-stuttgart.de/
REF:<[email protected]>
#2 lore raw
Quoted 30 lines · Ulli Horlacher
Quoted 1 line · David Sterba

btrfs-progs version 7.0 have been released.

Thanks.
This version correct some bugs in the Ubuntu 24 btrfs package.

Quoted 3 lines

Tarballs: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
Git: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
Release: https://github.com/kdave/btrfs-progs/releases/tag/v7.0

To get the newest version of btrfs.box.static I have written this script:

root@fex:/opt/btrfs-tools# cat btrfs-update
#!/bin/bash

bbs=btrfs.box.static
cd /opt/btrfs-tools/bin || exit 1
vv -s btrfs
rm -f $bbs
curl -sS -D- https://github.com/kdave/btrfs-progs/releases/latest |\
perl -ne 's/^location: (\S+)/wget -q $1\/'$bbs'/ and s:/tag/:/download/: and print' |sh -x if [[ $(file $bbs) =~ executable ]]; then
cat $bbs > btrfs
del $bbs
fi
btrfs --version

Quoted 3 lines

Yes, it works but it is ... ugly :-}

Is there a more elegant solution?

Maybe it is, right now the place is the release web page (click to download), or you can use the 'gh' command line tool (gh release download). Using basic tools like curl, perl is more environment proof but you'd have to put to a script.

#3 lore raw
Quoted 1 line · David Sterba
Quoted 1 line

To get the newest version of btrfs.box.static I have written this script:

(...)

Quoted 6 lines
Quoted 3 lines

Yes, it works but it is ... ugly :-}

Is there a more elegant solution?

Maybe it is, right now the place is the release web page (click to download)

I need a script, because I want to automate the download.

Quoted 1 line

or you can use the 'gh' command line tool (gh release download)

What/where is gh?

Signature · 6 lines
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart         E-Mail: [email protected]
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    https://www.tik.uni-stuttgart.de/
REF:<[email protected]>
#4 lore raw
Quoted 4 lines · Ulli Horlacher
Quoted 1 line · David Sterba
Quoted 1 line

To get the newest version of btrfs.box.static I have written this script:

(...)

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Yes, it works but it is ... ugly :-}

Is there a more elegant solution?

Maybe it is, right now the place is the release web page (click to download)

I need a script, because I want to automate the download.

It's ok to host such script in the git repository or package it eventually, if somebody sends it. It should be quite robust regarding dependencies and potential changes in the web page from where it's looking up the binaries.

Quoted 3 lines
Quoted 1 line

or you can use the 'gh' command line tool (gh release download)

What/where is gh?

Quite confusingly at https://github.com/cli/cli