mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user