On Tue, Jul 09, 2024 at 10:51:04AM -0700, Boris Burkov wrote: > Squotas are likely to leave qgroups that outlive deleted subvolids. > Before the kernel patch > 2b8aa78cf127 ("btrfs: qgroup: fix qgroup id collision across mounts") > this would lead to a repeated subvolid which would collide on an > existing qgroup id and error out with EEXIST. In snapshot creation, this > would lead to a read only fs. > > Add a test which exercises the path that could create duplicate > subvolids but with squotas enabled, which should avoid the trap. > > Signed-off-by: Boris Burkov <boris@xxxxxx> Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef