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>
This commit is contained in:
Josef Bacik
2020-02-04 09:37:59 -05:00
committed by Eryu Guan
parent 8a861b8faf
commit 2d4500367c
3 changed files with 80 additions and 0 deletions
+1
View File
@@ -174,6 +174,7 @@
169 auto quick send
170 auto quick snapshot
171 auto quick qgroup
172 auto quick log replay
173 auto quick swap
174 auto quick swap
175 auto quick swap volume