]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
xfs: new EOF fragmentation tests eof-fragmentation
authorDave Chinner <dchinner@redhat.com>
Mon, 11 Feb 2019 01:36:47 +0000 (12:36 +1100)
committerChristoph Hellwig <hch@lst.de>
Tue, 24 Sep 2024 08:19:51 +0000 (10:19 +0200)
commitf78a4a633eac3dec8a2bc68b138eaded8226803c
tree2d24ce8ccd6dd02a0ce4dbad1716e588c5bf888d
parent10e6c6772b3d21a233dda763674c297337e88294
xfs: new EOF fragmentation tests

These tests create substantial file fragmentation as a result of
application actions that defeat post-EOF preallocation
optimisations. They are intended to replicate known vectors for
these problems, and provide a check that the fragmentation levels
have been controlled. The mitigations we make may not completely
remove fragmentation (e.g. they may demonstrate speculative delalloc
related extent size growth) so the checks don't assume we'll end up
with perfect layouts and hence check for an exceptable level of
fragmentation rather than none.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
[move to different test number, update to current xfstest APIs]
Signed-off-by: Christoph Hellwig <hch@lst.de>
tests/xfs/1500 [new file with mode: 0755]
tests/xfs/1500.out [new file with mode: 0644]
tests/xfs/1501 [new file with mode: 0755]
tests/xfs/1501.out [new file with mode: 0644]
tests/xfs/1502 [new file with mode: 0755]
tests/xfs/1502.out [new file with mode: 0644]
tests/xfs/1503 [new file with mode: 0755]
tests/xfs/1503.out [new file with mode: 0644]