]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test creating a large number of snapshots of a received subvolume
authorFilipe Manana <fdmanana@suse.com>
Thu, 26 Feb 2026 14:34:24 +0000 (14:34 +0000)
committerZorro Lang <zlang@kernel.org>
Sat, 14 Mar 2026 20:02:00 +0000 (04:02 +0800)
commitc6946bc36b9f73891e2e438cb1362ae09da3550e
tree2a8b37d69dfbe563038b93e3c35f351970cdeb8d
parentaad362549a8a9514335b4f266c7e68c3741c89a5
btrfs: test creating a large number of snapshots of a received subvolume

Test that we can create a large number of snapshots of a received
subvolume without triggering a transaction abort due to leaf item
overflow. Also check that we are able to delete the snapshots and use
the last one for an incremental send/receive despite an item overflow
when updating the uuid tree to insert a BTRFS_UUID_KEY_RECEIVED_SUBVOL
item.

This exercises a bug fixed by the following kernel patch:

  "btrfs: fix transaction abort when snapshotting received subvolumes"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/345 [new file with mode: 0755]
tests/btrfs/345.out [new file with mode: 0644]