]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/765: modify some steps to fix test
authorJohn Garry <john.g.garry@oracle.com>
Thu, 31 Jul 2025 09:18:13 +0000 (09:18 +0000)
committerZorro Lang <zlang@kernel.org>
Tue, 12 Aug 2025 08:29:12 +0000 (16:29 +0800)
commit00dced3f673035b8522d20ebe7ab3b68de21d08a
tree222e321e852c95dd5e953ee3709155f9d1e52c59
parent3d57f543ae0c149eb460574dcfb8d688aeadbfff
generic/765: modify some steps to fix test

Now that multi-block atomics writes are supported, some of the test steps
are failing. Those steps relied on supporting single-block atomic writes
only.

The current test steps are as follows:
a. Ensure statx for bdev returns same awu_min/max as from sysfs
b. test mkfs for each size of bdev atomic writes capabilities and supported
   FS block size
c. Ensure atomic limits for file match block size for each in b.
d. Ensure that we can atomic write block size for each in b.
e. Ensure that we cannot write file for 2* bdev awu_max or bdev awu_max /2

Make test pass again by:
1. Modify c. to ensure file awu_max >= block size
2. dropping e. We already have tests to ensure that we can only write a
   size >= awu_min and <= awu_max in generic/767

Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/765