]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: new EOF fragmentation tests v2024.09.29
authorDave Chinner <dchinner@redhat.com>
Tue, 24 Sep 2024 08:45:48 +0000 (10:45 +0200)
committerZorro Lang <zlang@kernel.org>
Sun, 29 Sep 2024 13:08:52 +0000 (21:08 +0800)
commit790f4d8444fa4bed79d2b441212eec2167414c65
tree66b7699aa776b03b67b01af3682248aa39057189
parentd26d32028a78aaa972364c6d57894ed04bbcf9ba
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>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/629 [new file with mode: 0755]
tests/xfs/629.out [new file with mode: 0644]
tests/xfs/630 [new file with mode: 0755]
tests/xfs/630.out [new file with mode: 0644]
tests/xfs/631 [new file with mode: 0755]
tests/xfs/631.out [new file with mode: 0644]
tests/xfs/632 [new file with mode: 0755]
tests/xfs/632.out [new file with mode: 0644]