mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
test out some v2 log striping of more sizes
Merge of xfs-cmds-melb:slinx:19870a by kenmcd.
This commit is contained in:
@@ -72,8 +72,11 @@ cat >$tmp.seq.params <<EOF
|
||||
version=2,su=32768 logbsize=32k
|
||||
version=2,su=32768 logbsize=64k
|
||||
version=2 logbsize=64k
|
||||
version=2,su=64k logbsize=64k
|
||||
version=2 logbsize=128k
|
||||
version=2,su=128k logbsize=128k
|
||||
version=2 logbsize=256k
|
||||
version=2,su=256k logbsize=256k
|
||||
EOF
|
||||
|
||||
# Do the work for various log params which
|
||||
@@ -96,7 +99,8 @@ for s in sync nosync ; do
|
||||
|
||||
# mkfs the FS
|
||||
_echofull "mkfs"
|
||||
if ! _mkfs_log; then
|
||||
_scratch_mkfs_xfs >>$seq.full 2>&1
|
||||
if [ $? -ne 0 ] ; then
|
||||
_echofull "mkfs failed: $MKFS_OPTIONS"
|
||||
continue
|
||||
fi
|
||||
|
||||
@@ -84,8 +84,11 @@ cat >$tmp.seq.params <<EOF
|
||||
version=2,su=4096 logbsize=32k
|
||||
version=2,su=32768 logbsize=32k
|
||||
version=2 logbsize=64k
|
||||
version=2,su=64k logbsize=64k
|
||||
version=2 logbsize=128k
|
||||
version=2,su=128k logbsize=128k
|
||||
version=2 logbsize=256k
|
||||
version=2,su=256k logbsize=256k
|
||||
EOF
|
||||
|
||||
cat $tmp.seq.params \
|
||||
@@ -101,7 +104,8 @@ do
|
||||
|
||||
# mkfs the FS
|
||||
_echofull "mkfs"
|
||||
if ! _mkfs_log; then
|
||||
_scratch_mkfs_xfs >>$seq.full 2>&1
|
||||
if [ $? -ne 0 ] ; then
|
||||
_echofull "mkfs failed: $MKFS_OPTIONS"
|
||||
continue
|
||||
fi
|
||||
|
||||
@@ -166,6 +166,49 @@ Files TMP.ls1 and TMP.ls2 are identical
|
||||
*** unmount ***
|
||||
|
||||
|
||||
*** logprint after mount and replay... ***
|
||||
|
||||
clean log
|
||||
|
||||
*** filesystem is checked ok ***
|
||||
|
||||
--- mkfs=version=2,su=64k, mnt=logbsize=64k ---
|
||||
|
||||
*** mkfs ***
|
||||
|
||||
|
||||
*** mount ***
|
||||
|
||||
|
||||
*** calling fsstress -p 4 -z -f rmdir=10 -f link=10 -f creat=10 -f mkdir=10 -f rename=30 -f stat=30 -f unlink=30 -f truncate=20 -m8 -n 10000 ***
|
||||
|
||||
|
||||
*** ls -RF SCRATCH_MNT ***
|
||||
|
||||
|
||||
*** godown ***
|
||||
|
||||
|
||||
*** unmount ***
|
||||
|
||||
|
||||
*** logprint after going down... ***
|
||||
|
||||
dirty log
|
||||
|
||||
*** mount with replay ***
|
||||
|
||||
|
||||
*** ls -RF SCRATCH_MNT ***
|
||||
|
||||
|
||||
*** diff ls before and after ***
|
||||
|
||||
Files TMP.ls1 and TMP.ls2 are identical
|
||||
|
||||
*** unmount ***
|
||||
|
||||
|
||||
*** logprint after mount and replay... ***
|
||||
|
||||
clean log
|
||||
@@ -209,6 +252,49 @@ Files TMP.ls1 and TMP.ls2 are identical
|
||||
*** unmount ***
|
||||
|
||||
|
||||
*** logprint after mount and replay... ***
|
||||
|
||||
clean log
|
||||
|
||||
*** filesystem is checked ok ***
|
||||
|
||||
--- mkfs=version=2,su=128k, mnt=logbsize=128k ---
|
||||
|
||||
*** mkfs ***
|
||||
|
||||
|
||||
*** mount ***
|
||||
|
||||
|
||||
*** calling fsstress -p 4 -z -f rmdir=10 -f link=10 -f creat=10 -f mkdir=10 -f rename=30 -f stat=30 -f unlink=30 -f truncate=20 -m8 -n 10000 ***
|
||||
|
||||
|
||||
*** ls -RF SCRATCH_MNT ***
|
||||
|
||||
|
||||
*** godown ***
|
||||
|
||||
|
||||
*** unmount ***
|
||||
|
||||
|
||||
*** logprint after going down... ***
|
||||
|
||||
dirty log
|
||||
|
||||
*** mount with replay ***
|
||||
|
||||
|
||||
*** ls -RF SCRATCH_MNT ***
|
||||
|
||||
|
||||
*** diff ls before and after ***
|
||||
|
||||
Files TMP.ls1 and TMP.ls2 are identical
|
||||
|
||||
*** unmount ***
|
||||
|
||||
|
||||
*** logprint after mount and replay... ***
|
||||
|
||||
clean log
|
||||
@@ -258,3 +344,46 @@ clean log
|
||||
|
||||
*** filesystem is checked ok ***
|
||||
|
||||
--- mkfs=version=2,su=256k, mnt=logbsize=256k ---
|
||||
|
||||
*** mkfs ***
|
||||
|
||||
|
||||
*** mount ***
|
||||
|
||||
|
||||
*** calling fsstress -p 4 -z -f rmdir=10 -f link=10 -f creat=10 -f mkdir=10 -f rename=30 -f stat=30 -f unlink=30 -f truncate=20 -m8 -n 10000 ***
|
||||
|
||||
|
||||
*** ls -RF SCRATCH_MNT ***
|
||||
|
||||
|
||||
*** godown ***
|
||||
|
||||
|
||||
*** unmount ***
|
||||
|
||||
|
||||
*** logprint after going down... ***
|
||||
|
||||
dirty log
|
||||
|
||||
*** mount with replay ***
|
||||
|
||||
|
||||
*** ls -RF SCRATCH_MNT ***
|
||||
|
||||
|
||||
*** diff ls before and after ***
|
||||
|
||||
Files TMP.ls1 and TMP.ls2 are identical
|
||||
|
||||
*** unmount ***
|
||||
|
||||
|
||||
*** logprint after mount and replay... ***
|
||||
|
||||
clean log
|
||||
|
||||
*** filesystem is checked ok ***
|
||||
|
||||
|
||||
Reference in New Issue
Block a user