mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Add testing of 128 and 256 K v2 log recovery after shutdown.
Add 128K and 256K v2 log buf tests.
This commit is contained in:
@@ -66,6 +66,9 @@ cat >$tmp.seq.params <<EOF
|
||||
-lversion=2,su=4096 -ologbsize=32k
|
||||
-lversion=2,su=32768 -ologbsize=32k
|
||||
-lversion=2,su=32768 -ologbsize=64k
|
||||
-lversion=2 -ologbsize=64k
|
||||
-lversion=2 -ologbsize=128k
|
||||
-lversion=2 -ologbsize=256k
|
||||
EOF
|
||||
|
||||
# Do the work for various log params which
|
||||
|
||||
@@ -79,6 +79,8 @@ cat >$tmp.seq.params <<EOF
|
||||
-lversion=2,su=4096 -ologbsize=32k
|
||||
-lversion=2,su=32768 -ologbsize=32k
|
||||
-lversion=2 -ologbsize=64k
|
||||
-lversion=2 -ologbsize=128k
|
||||
-lversion=2 -ologbsize=256k
|
||||
EOF
|
||||
|
||||
cat $tmp.seq.params \
|
||||
|
||||
@@ -172,3 +172,89 @@ clean log
|
||||
|
||||
*** filesystem is checked ok ***
|
||||
|
||||
--- mkfs=-lversion=2, mnt=-ologbsize=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
|
||||
|
||||
*** filesystem is checked ok ***
|
||||
|
||||
--- mkfs=-lversion=2, mnt=-ologbsize=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