Re: [PATCH 12/20] btrfs-progs: mark reloc roots as used
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-11-08 19:14:10
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-11-08 19:14:10
On Sat, Nov 06, 2021 at 08:39:23AM +0800, Qu Wenruo wrote:
On 2021/11/6 04:28, Josef Bacik wrote:quoted
btrfs_mark_used_tree_blocks skips the reloc roots for some reason, which causes problems because these blocks are in use, and we use this helper to determine if the block accounting is correct with extent tree v2.Any idea on why it's skipped in the first place?
Yeah I added it apparently in
439ce45e ("Btrfs-progs: add --init-extent-tree to btrfsck")
because at the time we didn't deal with the reloc tree properly and I was trying
to unfuck a users file system. I'm going to say that isn't the case anymore.
Thanks,
Josef