]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/558: scale blk IO size based on the filesystem blksz
authorPankaj Raghav <p.raghav@samsung.com>
Wed, 13 Mar 2024 20:38:18 +0000 (21:38 +0100)
committerZorro Lang <zlang@kernel.org>
Wed, 27 Mar 2024 14:05:18 +0000 (22:05 +0800)
commit8d61144d281c49ba22581a16ac1010a38d3cc824
tree28296ca2dbef7838c9eca7f45f1da41d18f6f609
parentf8fbdbe233090b999a7c1e4f2e2a89d47194b719
xfs/558: scale blk IO size based on the filesystem blksz

This test fails for 64k filesystem block size on a 4k PAGE_SIZE
system. Scale the `blksz` based on the filesystem block size instead of
fixing it as 64k so that we do get some iomap invalidations while doing
concurrent writes.

Cap the blksz to be at least 64k to retain the same behaviour as before
for smaller filesystem blocksizes.

This fixes the "Expected to hear about writeback iomap invalidations?"
message for 64k filesystems.

Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Tested-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/558