generic: test exceeding max file size via INSERT_RANGE

Test how the "insert range" fallocate operation interacts with the
maximum file size (s_maxbytes).

- Shift extents past the max file size (exposes an ext4 bug).
- Increase i_size past the max file size (exposes an xfs bug).

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Eric Biggers
2018-04-30 15:17:01 -07:00
committed by Eryu Guan
parent 0c2896508f
commit d0f42b2530
3 changed files with 120 additions and 0 deletions
+1
View File
@@ -487,3 +487,4 @@
482 auto metadata replay
483 auto quick log metadata
484 auto quick
485 auto quick insert