aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Xu <xuyang2018.jy@fujitsu.com>2023-11-16 02:33:15 -0500
committerZorro Lang <zlang@kernel.org>2023-11-16 22:55:12 +0800
commit5fdd34e7618266e6ea2ce10150093cae3f4c0387 (patch)
tree1350262a7758ceb9d1a0415f0d9e28d3cd8d7888
parent483b1f90c8aafe0cb59052ae3b1980c66e496e0a (diff)
downloadxfstests-dev-5fdd34e7618266e6ea2ce10150093cae3f4c0387.tar.gz
xfs/263: Remove mkfs.xfs data section argument
On machine with using raid, this case will trigger the following error: ==== NO CRC ==== +mkfs.xfs: small data volume, ignoring data volume stripe unit 512 and stripe width 512 == Options: rw == == Options: usrquota,rw == mkfs.xfs generates this error since xfsprogs commit 42371fb36 ("mkfs: ignore data blockdev stripe geometry for small filesystems"). It disables automatic detection of stripe unit and width if the data device is less than 1GB. But, since xfstests commit baaa392c("xfs/263: don't hardcode inode numbers in output"), we don't care the inode number. So let's remove this data section size argument instead of increasing this size to 1G, then we can solve this false positive. Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/xfs/2635
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/xfs/263 b/tests/xfs/263
index fadd6280a2..bce4e13f92 100755
--- a/tests/xfs/263
+++ b/tests/xfs/263
@@ -72,12 +72,11 @@ function test_all_state()
}
echo "==== NO CRC ===="
-# Control size to control inode numbers
-_scratch_mkfs_xfs "-m crc=0 -n ftype=0 -d size=512m" >> $seqres.full
+_scratch_mkfs_xfs "-m crc=0 -n ftype=0" >> $seqres.full
test_all_state
echo "==== CRC ===="
-_scratch_mkfs_xfs "-m crc=1 -d size=512m" >>$seqres.full
+_scratch_mkfs_xfs "-m crc=1" >>$seqres.full
test_all_state
status=0