On Tue, May 12, 2020 at 04:14:23PM +0200, David Sterba wrote: > Root an eb leak. > > Johannes bisected the problem, the first bad commit is one of > > 0e996e7fcf2e3a "btrfs: move ino_cache_inode dropping out of btrfs_free_fs_root" Unlikely as inode_cache mount option is not used neither by the tests nor by my testing setup. > 3fd6372758d91d "btrfs: make the extent buffer leak check per fs info" Unlikely as it's just moving extent buffer leak detector around. > 8c38938c7bb096 "btrfs: move the root freeing stuff into btrfs_put_root" That's most likely the cause. > Reproduced on btrfs/028, Johannes, do you have logs from the test? > [failed, exit status 1][ 7084.791281] BTRFS info (device vdb): at unmount delalloc count 1994752 delalloc leak at umount > [ 7085.109816] BTRFS error (device vdb): leaked root 18446744073709551607-0 refcount 1 18446744073709551607 == -9, which is BTRFS_DATA_RELOC_TREE_OBJECTID So some post-reloc cleanup is maybe missing, the test btrfs/028 does relocation and btrfs/125 as well.
