xfs/500: fix reflink support detection and add new groups

Fix some problems detecting reflink support in the test.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2019-02-18 21:29:05 -08:00
committed by Eryu Guan
parent 1d32301394
commit e7046479b4
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -36,10 +36,9 @@ _scratch_mkfs -d extszinherit=8388608 >> $seqres.full 2>&1
test $? -eq 1 || echo "should have failed extszinherit" test $? -eq 1 || echo "should have failed extszinherit"
# Try cow extent size hint if supported # Try cow extent size hint if supported
$MKFS_XFS_PROG -N -f $SCRATCH_DEV > $tmp.mkfs if _scratch_mkfs_xfs_supported -m crc=1,reflink=1 >> $seqres.full 2>&1; then
if grep -q 'reflink=' $tmp.mkfs ; then
echo cowextsize >> $seqres.full echo cowextsize >> $seqres.full
_scratch_mkfs -m reflink=1 -d cowextsize=8388608 >> $seqres.full 2>&1 _scratch_mkfs -m reflink=1,crc=1 -d cowextsize=8388608 >> $seqres.full 2>&1
test $? -eq 1 || echo "should have failed cowextsize" test $? -eq 1 || echo "should have failed cowextsize"
fi fi
+1 -1
View File
@@ -497,6 +497,6 @@
497 dangerous_fuzzers dangerous_scrub dangerous_online_repair 497 dangerous_fuzzers dangerous_scrub dangerous_online_repair
498 dangerous_fuzzers dangerous_norepair 498 dangerous_fuzzers dangerous_norepair
499 auto quick 499 auto quick
500 auto quick mkfs 500 auto quick mkfs prealloc mkfs
501 auto quick unlink 501 auto quick unlink
502 auto quick unlink 502 auto quick unlink