2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2012 Red Hat, Inc. All Rights Reserved.
7 # Ensure mkfs with stripe geometry goes into multidisk mode
8 # which results in more AGs
11 _begin_fstest auto mkfs quick
13 # Import common functions.
16 # real QA test starts here
18 # Modify as appropriate.
22 fsfile=$TEST_DIR/fsfile.$seq
25 $XFS_IO_PROG -f -c "truncate 256g" $fsfile
27 echo "mkfs.xfs without geometry"
28 mkfs.xfs -f $fsfile | _filter_mkfs 2> $tmp.mkfs > /dev/null
29 grep -E 'ddev|agcount|agsize' $tmp.mkfs | \
30 sed -e "s:$fsfile:FILENAME:g"
32 echo "mkfs.xfs with cmdline geometry"
33 mkfs.xfs -f -d su=16k,sw=5 $fsfile | _filter_mkfs 2> $tmp.mkfs > /dev/null
34 grep -E 'ddev|agcount|agsize' $tmp.mkfs | \
35 sed -e "s:$fsfile:FILENAME:g"