]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test Btrfs delalloc accounting overflow
authorOmar Sandoval <osandov@fb.com>
Wed, 7 Jun 2017 06:57:10 +0000 (23:57 -0700)
committerEryu Guan <eguan@redhat.com>
Thu, 8 Jun 2017 02:53:27 +0000 (10:53 +0800)
commitff1f614f3373d83c9e5ec33bb45853e73560f2f8
tree0df637bb5a106b6478a8097925d755d30ca409c6
parent7b6729e9ab5a309d219c479c6831dffaf2a0ec89
btrfs: test Btrfs delalloc accounting overflow

This is a regression test for patch "Btrfs: fix delalloc accounting
leak caused by u32 overflow". It creates a bunch of delalloc extents
and merges them together to make sure the accounting is done right.

[eguan: use $XFS_IO_PROG instead of xfs_io]

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/btrfs/010 [new file with mode: 0755]
tests/btrfs/010.out [new file with mode: 0644]
tests/btrfs/group