]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/{102,172,347}: Adapt test for XFS on systems with 128+CPUs + SSDs
authorLukas Herbolt <lukas@herbolt.com>
Thu, 14 May 2026 11:39:13 +0000 (13:39 +0200)
committerZorro Lang <zlang@kernel.org>
Fri, 15 May 2026 16:20:23 +0000 (00:20 +0800)
commit393a4e58584dccbbc457aa7f16a315175bdaa474
tree6ca86687e41c07ae5b7d362c653d691e76778612
parent7f162f5bcf50fc32c7e3b432e7ff189571a3151f
generic/{102,172,347}: Adapt test for XFS on systems with 128+CPUs + SSDs

XFS will now scale by default its log size according the amount of CPUs. This
can significantly increase the log area and using hard-coded size of file size
will make the test file. Using the X percent of the free space to create the
file will let the test proceed.

For generic/102 we also have to change the 102.out as we cannot know the
amount written data and it has to be filtered out.

For generic/172 we just use the new function to calculate file big enough
to consume most of the available space.

The generic/347 will use -l concurrency=0 in case it is being run on the
XFS filesystem and mkfs.xfs already supports this option.

Signed-off-by: Lukas Herbolt <lukas@herbolt.com>
Reviewed-by: Zorro Lang <zlang@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/102
tests/generic/102.out
tests/generic/172
tests/generic/347