Open
Description
btrfs-progs-5.18-1.fc36.x86_64
kernel-5.19.0-0.rc4.20220628git941e3e791269.34.fc37.x86_64
btrfs-convert is reporting wildly incorrect free space in its output, over 200% is free (?) is impossible.
Reproduce steps:
- truncate -s 28T test
- losetup /dev/loop0 test
- mkfs.ext4 /dev/loop0
- mount /dev/loop0 /mnt
- umount /mnt
- btrfs-convert /dev/loop0
Total space: 12412111552512
Free space: 29531792404480 (237.93%)
Downstream bug
https://bugzilla.redhat.com/show_bug.cgi?id=2101045