FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH] xfs/263: increase data section size to 1024M
@ 2023-11-15  5:56 Yang Xu
  2023-11-15 16:05 ` Darrick J. Wong
  2023-11-15 16:09 ` Bill O'Donnell
  0 siblings, 2 replies; 7+ messages in thread
From: Yang Xu @ 2023-11-15  5:56 UTC (permalink / raw)
  To: fstests; +Cc: Yang Xu

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.

To slove false poistive, just increase data section size to 1G.

Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 tests/xfs/263 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/xfs/263 b/tests/xfs/263
index fadd6280..48581bac 100755
--- a/tests/xfs/263
+++ b/tests/xfs/263
@@ -73,11 +73,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 -d size=1024m" >> $seqres.full
 test_all_state
 
 echo "==== CRC ===="
-_scratch_mkfs_xfs "-m crc=1 -d size=512m" >>$seqres.full
+_scratch_mkfs_xfs "-m crc=1 -d size=1024m" >>$seqres.full
 test_all_state
 
 status=0
-- 
2.39.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-16 19:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-15  5:56 [PATCH] xfs/263: increase data section size to 1024M Yang Xu
2023-11-15 16:05 ` Darrick J. Wong
2023-11-16  1:37   ` Yang Xu (Fujitsu)
2023-11-16  2:33   ` Zorro Lang
2023-11-16  7:05     ` Yang Xu (Fujitsu)
2023-11-16 18:53       ` Eric Sandeen
2023-11-15 16:09 ` Bill O'Donnell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox