fstests: add a another gap extent testcase for btrfs
authorJosef Bacik <josef@toxicpanda.com>
Thu, 20 Feb 2020 14:38:55 +0000 (09:38 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 23 Feb 2020 14:52:16 +0000 (22:52 +0800)
commit1d6d14db1165db1ffc87fbddcf97eb70fdf84607
tree334dabb5d377f69fc4c15afe8df1bcc90f24d634
parent6f7ef01037d23ceb52f4bef88866f2f27e42a23a
fstests: add a another gap extent testcase for btrfs

This is a testcase for a corner that I missed when trying to fix gap
extents for btrfs.  We would end up with gaps if we hole punched past
isize and then extended past the gap in a specific way.  This is a
simple reproducer to show the problem, and has been properly fixed by my
patches now.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/206 [new file with mode: 0755]
tests/btrfs/206.out [new file with mode: 0644]
tests/btrfs/group