]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
ext4/061,062: Minor fixes and refactoring
authorOjaswin Mujoo <ojaswin@linux.ibm.com>
Fri, 10 Apr 2026 06:36:01 +0000 (12:06 +0530)
committerZorro Lang <zlang@kernel.org>
Mon, 13 Apr 2026 17:42:41 +0000 (01:42 +0800)
commitea4d04e7b6766118bbf0cbe596de2e41a325119c
tree1ba9783efd55dc8bf3456a5b6eabdbf0b165ca13
parent0bece2e05be1c5179654f7437519f80eeef71111
ext4/061,062: Minor fixes and refactoring

Fix 2 issues in the tests:

1. Use fs atomic write limits instead of bdev's

The tests use block device's limits instead of limits advertised
by filesystem. This can cause failures because block device might
advertise a higher maximum than the FS.  Fix the tests to use
filesystem's limits instead.

2. Fix the test loop range

Fix the test loop start and end so that our calculations for
blocksize, clustersize and iosize are correct.

Reported-by: Disha Goel <disgoel@linux.ibm.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/ext4/061
tests/ext4/062