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:
fsgqa
2004-05-05 05:06:41 +00:00
parent b45cbb5a13
commit 6139c54b00
4 changed files with 1507 additions and 0 deletions
+3
View File
@@ -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
+1416
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -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 \
+86
View File
@@ -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 ***