Since now fsstress can create new subvolumes, it causes new problem for btrfs/022. First two patches will fix the problem by: - Enhance _btrfs_get_subvolid() So it can catch correct subvolid - Use proper qgroupid for grep This solves the random failure even after _btrfs_get_subvolid enhancement. The last patch will add extra debug output for btrfs/022 to make our lives easier. Qu Wenruo (3): fstests: btrfs: Use word mathcing for _btrfs_get_subvolid() fstests: btrfs/022: Match qgroup id more correctly fstests: btrfs/022: Add debug output common/btrfs | 2 +- tests/btrfs/022 | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) -- 2.23.0