btrfs: add a test for the btrfs file extent gap issue
authorJosef Bacik <josef@toxicpanda.com>
Tue, 4 Feb 2020 14:37:59 +0000 (09:37 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 9 Feb 2020 15:55:23 +0000 (23:55 +0800)
commit2d4500367c5ed7579fe9f5d396c87b6d669a0c2d
tree3fc1fb9d028ea4f7e47e2a689dd06b1a37ee289c
parent8a861b8faf1f1d4eb98d5c130ac7f76b2fcb477a
btrfs: add a test for the btrfs file extent gap issue

This is a test to validate that we're not adjusting up i_size before
we have the appropriate file extents on disk.  We had a problem
where i_size would be adjusted up without a contiguous range of file
extents, which isn't ok without a special option enabled.

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/172 [new file with mode: 0755]
tests/btrfs/172.out [new file with mode: 0644]
tests/btrfs/group