]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test log replay with qgroups enabled and orphan roots
authorFilipe Manana <fdmanana@suse.com>
Tue, 5 Apr 2016 01:42:21 +0000 (11:42 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 5 Apr 2016 01:42:21 +0000 (11:42 +1000)
commitc6de4991a1bf92557af10b422786a97e8a91735b
tree95ae341d26d3c6638fea7a16964226354df57f56
parent281c087fcec08e4c15f1bfd54aa60cddb88538ca
btrfs: test log replay with qgroups enabled and orphan roots

Test that replaying a log tree when qgroups are enabled and orphan roots
(deleted snapshots) exist, the replay process does not crash.

This is motivated by a bug found in btrfs, introduced in the linux kernel
4.4 release, and is fixed by the linux kernel commit 909c3a22da3b
("Btrfs: fix loading of orphan roots leading to BUG_ON") that landed in
kernel 4.5.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/119 [new file with mode: 0755]
tests/btrfs/119.out [new file with mode: 0644]
tests/btrfs/group