Subject: bug#47379: "statfs" test in tests/syscall.scm fails with BTRFS file systems.

From: Maxime Devos <[email-masked]>
Date: Thu, 25 Mar 2021 11:16:25 +0100

On Thu, 2021-03-25 at 12:04 +0200, Efraim Flashner wrote:
> [...]
> I'm also running on btrfs
> (ins)scheme@(guile-user)> (statfs "/")
> [...]
> 
> (ins)efraim@3900XT ~$ btrfs filesystem df /
> Data, single: total=289.00GiB, used=287.83GiB
> System, single: total=32.00MiB, used=48.00KiB
> Metadata, single: total=13.00GiB, used=12.07GiB
> GlobalReserve, single: total=512.00MiB, used=0.00B
> 
> When was the last time you ran btrfs balance?

... never? My output of "btrfs filesystem df" FWIW:

$ btrfs filesystem df /
Data, single: total=224.01GiB, used=223.14GiB
System, DUP: total=8.00MiB, used=48.00KiB
Metadata, DUP: total=14.00GiB, used=13.81GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

Are there any reasons for running "btrfs balance"?
If so, what command do you recommend (I assume something
only touching meta data?)

Greetings,
Maxime.