]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/259: drop the 512-byte fsblock logic from this test
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 May 2025 22:41:20 +0000 (15:41 -0700)
committerZorro Lang <zlang@kernel.org>
Fri, 11 Jul 2025 13:17:39 +0000 (21:17 +0800)
commiteb0d2b299ded0992d197121c450baad2868a1925
tree3651df061520d36db962d3c90d6af7ee4e7dc8d3
parenta9dc5ac464764d8c41ffbfe5f74e27b2aca41c29
xfs/259: drop the 512-byte fsblock logic from this test

V5 filesystems do not support 512-byte fsblocks, and mkfs.xfs has long
defaulted to V5 filesystems.  Drop the 512 from the test loops, which
means we can get rid of all the _fs_has_crcs logic.  As a further
cleanup, use the truncate -s command to create the sparse file instead
of dd since even RHEL7 supports the -s switch.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/259
tests/xfs/259.out