btrfs-vol -b endless loop

Pär Andersson
2010-02-03T22:25:12Z

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

Hi,

I have a 11G btrfs file system where "btrfs-vol -b" get stuck in a
loop. The "found 7 extents" messages and heavy disk io continues until I
reboot:

[26223.544037] btrfs: relocating block group 42079027200 flags 36
[26228.082740] btrfs: found 2457 extents
[26228.104515] btrfs: relocating block group 41407938560 flags 1
[26228.423981] btrfs: found 124 extents
[26229.514583] btrfs: found 124 extents
[26229.544160] btrfs: found 7 extents
[26229.812494] btrfs: found 7 extents
[26230.453720] btrfs: found 7 extents
[26230.733233] btrfs: found 7 extents
[26231.383321] btrfs: found 7 extents
[26231.652815] btrfs: found 7 extents
...

The error is repeatable. btrfsck does not report any errors:

root@faran:~# btrfsck /dev/sda5
found 9035055104 bytes used err is 0
total csum bytes: 8293152
total tree bytes: 542867456
total fs tree bytes: 503087104
btree space waste bytes: 108089491
file data blocks allocated: 8492187648
referenced 10314125312
Btrfs Btrfs v0.19

The kernel is Linus' master from two days ago, and seems to have all the
latest btrfs code merged.

Regards,
Pär Andersson

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]