summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d67b78b)
For all the tests which require that quotas be disabled, remove the
quota mount options before mounting the scratch filesystem.
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>
_require_xfs_quota_foreign
_require_xfs_io_command "chproj"
_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.
. ./common/rc
. ./common/filter
. ./common/repair
. ./common/rc
. ./common/filter
. ./common/repair
# nuke the superblock, AGI, AGF, AGFL; then try repair the damage
#
# nuke the superblock, AGI, AGF, AGFL; then try repair the damage
#
then
_notrun "SCRATCH_DEV too small, results would be non-deterministic"
else
then
_notrun "SCRATCH_DEV too small, results would be non-deterministic"
else
_scratch_mount
src/feature -U $SCRATCH_DEV && \
_notrun "UQuota are enabled, test needs controlled sb recovery"
_scratch_mount
src/feature -U $SCRATCH_DEV && \
_notrun "UQuota are enabled, test needs controlled sb recovery"
. ./common/rc
. ./common/filter
. ./common/repair
. ./common/rc
. ./common/filter
. ./common/repair
# nuke the root, rt bitmap, and rt summary inodes
#
# nuke the root, rt bitmap, and rt summary inodes
#
sed -e 's/ //g' -e 's/^/export /'`
# check we won't get any quota inodes setup on mount
sed -e 's/ //g' -e 's/^/export /'`
# check we won't get any quota inodes setup on mount
_scratch_mount
src/feature -U $SCRATCH_DEV && \
_notrun "UQuota are enabled, test needs controlled sb recovery"
_scratch_mount
src/feature -U $SCRATCH_DEV && \
_notrun "UQuota are enabled, test needs controlled sb recovery"
. ./common/rc
. ./common/filter
. ./common/dump
. ./common/rc
. ./common/filter
. ./common/dump
#
# list recursively the directory
#
# list recursively the directory
# so don't run it
#
_scratch_mkfs_xfs >> $seqres.full
# so don't run it
#
_scratch_mkfs_xfs >> $seqres.full
_scratch_mount
$here/src/feature -U $SCRATCH_DEV && \
_notrun "UQuota enabled, test needs controlled xfsdump output"
_scratch_mount
$here/src/feature -U $SCRATCH_DEV && \
_notrun "UQuota enabled, test needs controlled xfsdump output"