summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
912521c)
New xfs_quota kernel and xfsprogs add grace timers for group and project,
in addition to existing user quota. Adjust xfs/518 to accommodate those
changes, and avoid regression.
Signed-off-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
_scratch_mount >> $seqres.full
$XFS_QUOTA_PROG -x -c 'timer -u 300m' $SCRATCH_MNT
_scratch_mount >> $seqres.full
$XFS_QUOTA_PROG -x -c 'timer -u 300m' $SCRATCH_MNT
-$XFS_QUOTA_PROG -x -c 'state' $SCRATCH_MNT | grep 'grace time'
+$XFS_QUOTA_PROG -x -c 'state -u' $SCRATCH_MNT | grep 'grace time'
_scratch_unmount
# Remount and check the limits
_scratch_mount >> $seqres.full
_scratch_unmount
# Remount and check the limits
_scratch_mount >> $seqres.full
-$XFS_QUOTA_PROG -x -c 'state' $SCRATCH_MNT | grep 'grace time'
+$XFS_QUOTA_PROG -x -c 'state -u' $SCRATCH_MNT | grep 'grace time'
_scratch_unmount
# Run repair to force quota check
_scratch_unmount
# Run repair to force quota check
# while the incore copy stays at whatever was read in prior to quotacheck.
# This will show up after the /next/ remount.
_scratch_mount >> $seqres.full
# while the incore copy stays at whatever was read in prior to quotacheck.
# This will show up after the /next/ remount.
_scratch_mount >> $seqres.full
-$XFS_QUOTA_PROG -x -c 'state' $SCRATCH_MNT | grep 'grace time'
+$XFS_QUOTA_PROG -x -c 'state -u' $SCRATCH_MNT | grep 'grace time'
_scratch_unmount
# Remount and check the limits
_scratch_mount >> $seqres.full
_scratch_unmount
# Remount and check the limits
_scratch_mount >> $seqres.full
-$XFS_QUOTA_PROG -x -c 'state' $SCRATCH_MNT | grep 'grace time'
+$XFS_QUOTA_PROG -x -c 'state -u' $SCRATCH_MNT | grep 'grace time'
_scratch_unmount
# success, all done
_scratch_unmount
# success, all done