@@ -37,8 +37,8 @@ _require_quota
_require_xfs_quota_foreign
_require_xfs_io_command "chproj"
-# we can't run with group quotas
-_exclude_scratch_mount_option "gquota" "grpquota"
+# we can't run with group quotas (on v4 xfs); the mount options for group
+# quotas will be filtered out by _qmount_option below.
dir=$SCRATCH_MNT/project
@@ -28,6 +28,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common/rc
. ./common/filter
. ./common/repair
+. ./common/quota
# nuke the superblock, AGI, AGF, AGFL; then try repair the damage
#
@@ -65,6 +66,7 @@ if [ $? -ne 0 ] # probably don't have a big enough scratch
then
_notrun "SCRATCH_DEV too small, results would be non-deterministic"
else
+ _qmount_option noquota
_scratch_mount
src/feature -U $SCRATCH_DEV && \
_notrun "UQuota are enabled, test needs controlled sb recovery"
@@ -28,6 +28,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common/rc
. ./common/filter
. ./common/repair
+. ./common/quota
# nuke the root, rt bitmap, and rt summary inodes
#
@@ -80,6 +81,7 @@ _link_out_file_named $seqfull.out "$FEATURES"
sed -e 's/ //g' -e 's/^/export /'`
# check we won't get any quota inodes setup on mount
+_qmount_option noquota
_scratch_mount
src/feature -U $SCRATCH_DEV && \
_notrun "UQuota are enabled, test needs controlled sb recovery"
@@ -29,6 +29,7 @@ _cleanup()
. ./common/rc
. ./common/filter
. ./common/dump
+. ./common/quota
#
# list recursively the directory
@@ -57,6 +58,7 @@ _require_scratch
# so don't run it
#
_scratch_mkfs_xfs >> $seqres.full
+_qmount_option noquota
_scratch_mount
$here/src/feature -U $SCRATCH_DEV && \
_notrun "UQuota enabled, test needs controlled xfsdump output"