reflink: test unlinking a huge extent with a lot of refcount adjustments
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 21 Jun 2017 21:57:48 +0000 (14:57 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 14 Jul 2017 07:41:46 +0000 (15:41 +0800)
commit8dfe4562e3f1762ffe508841d667badee133a9cb
tree260c9ce455f2b9ef25331ac6c6b341c279e8629d
parentab803945aec1d2110827d0eb3767d8c8db5335dd
reflink: test unlinking a huge extent with a lot of refcount adjustments

Test a regression in XFS where we blow out a transaction reservation if
we create a big file, share every other block, and delete the first
file.  There's nothing particularly fs-specific about this stress test,
so put it in generic.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/447 [new file with mode: 0755]
tests/generic/447.out [new file with mode: 0644]
tests/generic/group