Fix coupel of newer tests to work with external log/rt devices too.

Merge of master-melb:xfs-cmds:26371a by kenmcd.
This commit is contained in:
Nathan Scott
2006-06-29 03:50:18 +00:00
parent 0b79635a78
commit 3a588d7a6e
4 changed files with 12 additions and 11 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
# To test log replay for the unlinked list.
# So we create unlinked and still referenced inodes
# and make sure that no clearing of the unlinked AGI buckets
# are happening.
# are happening.
# See pv#953263.
#
#-----------------------------------------------------------------------
@@ -46,7 +46,7 @@ _scratch_mount >>$seq.full 2>&1 \
# num_files must be greater than 64 (XFS_AGI_UNLINKED_BUCKETS)
# so that there will be at least one linked list from one of
# the 64 buckets, so that we can decode a di_next_unlinked field
# the 64 buckets, so that we can decode a di_next_unlinked field
num_files=200
delay=5
echo "open and unlink $num_files files"
@@ -82,7 +82,7 @@ echo "logprint after going down..."
_print_logstate
echo "logprint to check for CLEAR_AGI_BUCKET..."
xfs_logprint -t $SCRATCH_DEV | grep CLEAR
_scratch_xfs_logprint -t | grep CLEAR
# success, all done
status=0