[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-nfs
Subject: RE: [NFS] Has anyone run the Connectathon Testsuite recently?
From: "Robert Williamson" <robbiew () us ! ibm ! com>
Date: 2001-10-23 20:47:39
[Download RAW message or body]
I recently ran the Connectathon testsuite against the 2.4.12-ac5 kernel &
the latest nfs-utils, and it passed on everything....including the 64-bit
locking tests for NFSv3.
- Robbie
Robert V. Williamson
Linux Test Project
IBM Linux Technology Center
Phone: (512) 838-9295 T/L: 638-9295
http://ltp.sourceforge.net
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
OUTPUT from testrun:
# ./server celica
Start tests on path /mnt.celica/celica.test [y/n]?
sh ./runtests -a -t /mnt.celica/celica.test
Starting BASIC tests: test directory /mnt.celica/celica.test (arg: -t)
./test1: File and directory creation test
created 155 files 62 directories 5 levels deep in 0.34 seconds
./test1 ok.
./test2: File and directory removal test
removed 155 files 62 directories 5 levels deep in 0.34 seconds
./test2 ok.
./test3: lookups across mount point
500 getcwd and stat calls in 0.1 seconds
./test3 ok.
./test4: setattr, getattr, and lookup
1000 chmods and stats on 10 files in 0.19 seconds
./test4 ok.
./test5: read and write
wrote 1048576 byte file 10 times in 0.36 seconds (28532214
bytes/sec)
read 1048576 byte file 10 times in 0.2 seconds (447688497
bytes/sec)
./test5 ok.
./test6: readdir
20500 entries read, 200 files in 0.12 seconds
./test6 ok.
./test7: link and rename
200 renames and links on 10 files in 0.14 seconds
./test7 ok.
./test8: symlink and readlink
400 symlinks and readlinks on 10 files in 0.14 seconds
./test8 ok.
./test9: statfs
1500 statfs calls in 0.35 seconds
./test9 ok.
Congratulations, you passed the basic tests!
GENERAL TESTS: directory /mnt.celica/celica.test
cd /mnt.celica/celica.test; rm -f Makefile runtests runtests.wrk *.sh *.c
mkdummy rmdummy nroff.in makefile.tst
cp Makefile runtests runtests.wrk *.sh *.c mkdummy rmdummy nroff.in
makefile.tst /mnt.celica/celica.test
Small Compile
File: "smcomp.time"
Size: 657 Blocks: 8 Regular File
Access: (0666/-rw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/
root)
Device: 9 Inode: 2530267 Links: 1
Access: Tue Oct 23 16:01:45 2001
Modify: Tue Oct 23 16:01:47 2001
Change: Tue Oct 23 16:01:47 2001
Tbl
File: "tbl.time"
Size: 649 Blocks: 8 Regular File
Access: (0666/-rw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/
root)
Device: 9 Inode: 2530271 Links: 1
Access: Tue Oct 23 16:01:47 2001
Modify: Tue Oct 23 16:01:47 2001
Change: Tue Oct 23 16:01:47 2001
Nroff
File: "nroff.time"
Size: 658 Blocks: 8 Regular File
Access: (0666/-rw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/
root)
Device: 9 Inode: 2530272 Links: 1
Access: Tue Oct 23 16:01:47 2001
Modify: Tue Oct 23 16:01:48 2001
Change: Tue Oct 23 16:01:48 2001
Large Compile
File: "lrgcomp.time"
Size: 658 Blocks: 8 Regular File
Access: (0666/-rw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/
root)
Device: 9 Inode: 2530269 Links: 1
Access: Tue Oct 23 16:01:48 2001
Modify: Tue Oct 23 16:01:49 2001
Change: Tue Oct 23 16:01:49 2001
Four simultaneous large compiles
File: "4lrg.time"
Size: 661 Blocks: 8 Regular File
Access: (0666/-rw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/
root)
Device: 9 Inode: 2530270 Links: 1
Access: Tue Oct 23 16:01:49 2001
Modify: Tue Oct 23 16:01:54 2001
Change: Tue Oct 23 16:01:54 2001
Makefile
File: "makefile.time"
Size: 646 Blocks: 8 Regular File
Access: (0666/-rw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/
root)
Device: 9 Inode: 2530324 Links: 1
Access: Tue Oct 23 16:01:54 2001
Modify: Tue Oct 23 16:01:54 2001
Change: Tue Oct 23 16:01:54 2001
General tests complete
SPECIAL TESTS: directory /mnt.celica/celica.test
cd /mnt.celica/celica.test; rm -f runtests runtests.wrk READWIN.txt
Makefile op_unlk op_ren op_chmod dupreq excltest negseek rename holey
truncate nfsidem nstat stat stat2 touchn fstat rewind telldir bigfile
bigfile2 freesp
cp runtests runtests.wrk READWIN.txt Makefile op_unlk op_ren op_chmod
dupreq excltest negseek rename holey truncate nfsidem nstat stat stat2
touchn fstat rewind telldir bigfile bigfile2 freesp /mnt.celica/celica.test
check for proper open/unlink operation
nfsjunk files before unlink:
ls: .nfs*: No such file or directory
./nfsLWhgnt open; unlink ret = 0
nfsjunk files after unlink:
-rw-rw-rw- 1 root root 0 Oct 23 16:01
.nfs00269be600000001
data compare ok
nfsjunk files after close:
ls: .nfs*: No such file or directory
test completed successfully.
check for proper open/rename operation
nfsjunk files before rename:
ls: .nfs*: No such file or directory
./nfsbOWUZ4R open; rename ret = 0
nfsjunk files after rename:
-rwxrwxrwx 1 root root 0 Oct 23 16:01
.nfs00269be700000002
data compare ok
nfsjunk files after close:
ls: .nfs*: No such file or directory
test completed successfully.
check for proper open/chmod 0 operation
testfile before chmod:
-rw-rw-rw- 1 root root 0 Oct 23 16:01 ./nfsFgI29x
./nfsFgI29x open; chmod ret = 0
testfile after chmod:
---------- 1 root root 0 Oct 23 16:01 ./nfsFgI29x
data compare ok
testfile after write/read:
---------- 1 root root 100 Oct 23 16:01 ./nfsFgI29x
test completed successfully.
check for lost reply on non-idempotent requests
100 tries
test exclusive create.
test negative seek, you should get: read: Invalid argument
or lseek: Invalid argument
lseek: Invalid argument
test rename
test truncate
truncate succeeded
test holey file support
Holey file test ok
second check for lost reply on non-idempotent requests
testing 50 idempotencies in directory "testdir"
test rewind support
test telldir cookies
write/read 30 MB file
write/read at 2GB, 4GB edges
test freesp and file size
fcntl(...F_FREESP...) not available on this platform.
Special tests complete
Starting LOCKING tests: test directory /mnt.celica/celica.test (arg: -t)
Testing native post-LFS locking
Creating parent/child synchronization pipes.
Test #1 - Test regions of an unlocked file.
Parent: 1.1 - F_TEST [ 0, 1] PASSED.
Parent: 1.2 - F_TEST [ 0, ENDING] PASSED.
Parent: 1.3 - F_TEST [ 0,7fffffff] PASSED.
Parent: 1.4 - F_TEST [ 1, 1] PASSED.
Parent: 1.5 - F_TEST [ 1, ENDING] PASSED.
Parent: 1.6 - F_TEST [ 1,7fffffff] PASSED.
Parent: 1.7 - F_TEST [7fffffff, 1] PASSED.
Parent: 1.8 - F_TEST [7fffffff, ENDING] PASSED.
Parent: 1.9 - F_TEST [7fffffff,7fffffff] PASSED.
Test #2 - Try to lock the whole file.
Parent: 2.0 - F_TLOCK [ 0, ENDING] PASSED.
Child: 2.1 - F_TEST [ 0, 1] PASSED.
Child: 2.2 - F_TEST [ 0, ENDING] PASSED.
Child: 2.3 - F_TEST [ 0,7fffffff] PASSED.
Child: 2.4 - F_TEST [ 1, 1] PASSED.
Child: 2.5 - F_TEST [ 1, ENDING] PASSED.
Child: 2.6 - F_TEST [ 1,7fffffff] PASSED.
Child: 2.7 - F_TEST [7fffffff, 1] PASSED.
Child: 2.8 - F_TEST [7fffffff, ENDING] PASSED.
Child: 2.9 - F_TEST [7fffffff,7fffffff] PASSED.
Parent: 2.10 - F_ULOCK [ 0, ENDING] PASSED.
Test #3 - Try to lock just the 1st byte.
Parent: 3.0 - F_TLOCK [ 0, 1] PASSED.
Child: 3.1 - F_TEST [ 0, 1] PASSED.
Child: 3.2 - F_TEST [ 0, ENDING] PASSED.
Child: 3.3 - F_TEST [ 1, 1] PASSED.
Child: 3.4 - F_TEST [ 1, ENDING] PASSED.
Parent: 3.5 - F_ULOCK [ 0, 1] PASSED.
Test #4 - Try to lock the 2nd byte, test around it.
Parent: 4.0 - F_TLOCK [ 1, 1] PASSED.
Child: 4.1 - F_TEST [ 0, 1] PASSED.
Child: 4.2 - F_TEST [ 0, 2] PASSED.
Child: 4.3 - F_TEST [ 0, ENDING] PASSED.
Child: 4.4 - F_TEST [ 1, 1] PASSED.
Child: 4.5 - F_TEST [ 1, 2] PASSED.
Child: 4.6 - F_TEST [ 1, ENDING] PASSED.
Child: 4.7 - F_TEST [ 2, 1] PASSED.
Child: 4.8 - F_TEST [ 2, 2] PASSED.
Child: 4.9 - F_TEST [ 2, ENDING] PASSED.
Parent: 4.10 - F_ULOCK [ 1, 1] PASSED.
Test #5 - Try to lock 1st and 2nd bytes, test around them.
Parent: 5.0 - F_TLOCK [ 0, 1] PASSED.
Parent: 5.1 - F_TLOCK [ 2, 1] PASSED.
Child: 5.2 - F_TEST [ 0, 1] PASSED.
Child: 5.3 - F_TEST [ 0, 2] PASSED.
Child: 5.4 - F_TEST [ 0, ENDING] PASSED.
Child: 5.5 - F_TEST [ 1, 1] PASSED.
Child: 5.6 - F_TEST [ 1, 2] PASSED.
Child: 5.7 - F_TEST [ 1, ENDING] PASSED.
Child: 5.8 - F_TEST [ 2, 1] PASSED.
Child: 5.9 - F_TEST [ 2, 2] PASSED.
Child: 5.10 - F_TEST [ 2, ENDING] PASSED.
Child: 5.11 - F_TEST [ 3, 1] PASSED.
Child: 5.12 - F_TEST [ 3, 2] PASSED.
Child: 5.13 - F_TEST [ 3, ENDING] PASSED.
Parent: 5.14 - F_ULOCK [ 0, 1] PASSED.
Parent: 5.15 - F_ULOCK [ 2, 1] PASSED.
Test #6 - Try to lock the MAXEOF byte.
Parent: 6.0 - F_TLOCK [7fffffff, 1] PASSED.
Child: 6.1 - F_TEST [7ffffffe, 1] PASSED.
Child: 6.2 - F_TEST [7ffffffe, 2] PASSED.
Child: 6.3 - F_TEST [7ffffffe, ENDING] PASSED.
Child: 6.4 - F_TEST [7fffffff, 1] PASSED.
Child: 6.5 - F_TEST [7fffffff, 2] PASSED.
Child: 6.6 - F_TEST [7fffffff, ENDING] PASSED.
Child: 6.7 - F_TEST [80000000, ENDING] PASSED.
Child: 6.8 - F_TEST [80000000, 1] PASSED.
Child: 6.9 - F_TEST [80000000,7fffffff] PASSED.
Child: 6.10 - F_TEST [80000000,80000000] PASSED.
Parent: 6.11 - F_ULOCK [7fffffff, 1] PASSED.
Test #7 - Test parent/child mutual exclusion.
Parent: 7.0 - F_TLOCK [ ffc, 9] PASSED.
Parent: Wrote 'aaaa eh' to testfile [ 4092, 7 ].
Parent: Now free child to run, should block on lock.
Parent: Check data in file to insure child blocked.
Parent: Read 'aaaa eh' from testfile [ 4092, 7 ].
Parent: 7.1 - COMPARE [ ffc, 7] PASSED.
Parent: Now unlock region so child will unblock.
Parent: 7.2 - F_ULOCK [ ffc, 9] PASSED.
Child: 7.3 - F_LOCK [ ffc, 9] PASSED.
Child: Write child's version of the data and release lock.
Child: Wrote 'bebebebeb' to testfile [ 4092, 9 ].
Child: 7.4 - F_ULOCK [ ffc, 9] PASSED.
Parent: Now try to regain lock, parent should block.
Parent: 7.5 - F_LOCK [ ffc, 9] PASSED.
Parent: Check data in file to insure child unblocked.
Parent: Read 'bebebebeb' from testfile [ 4092, 9 ].
Parent: 7.6 - COMPARE [ ffc, 9] PASSED.
Parent: 7.7 - F_ULOCK [ ffc, 9] PASSED.
Test #8 - Rate test performing lock/unlock cycles.
Parent: Performed 1000 lock/unlock cycles in 170 msecs. [705882
lpm].
Test #10 - Make sure a locked region is split properly.
Parent: 10.0 - F_TLOCK [ 0, 3] PASSED.
Parent: 10.1 - F_ULOCK [ 1, 1] PASSED.
Child: 10.2 - F_TEST [ 0, 1] PASSED.
Child: 10.3 - F_TEST [ 2, 1] PASSED.
Child: 10.4 - F_TEST [ 3, ENDING] PASSED.
Child: 10.5 - F_TEST [ 1, 1] PASSED.
Parent: 10.6 - F_ULOCK [ 0, 1] PASSED.
Parent: 10.7 - F_ULOCK [ 2, 1] PASSED.
Child: 10.8 - F_TEST [ 0, 3] PASSED.
Parent: 10.9 - F_ULOCK [ 0, 1] PASSED.
Parent: 10.10 - F_TLOCK [ 1, 3] PASSED.
Parent: 10.11 - F_ULOCK [ 2, 1] PASSED.
Child: 10.12 - F_TEST [ 1, 1] PASSED.
Child: 10.13 - F_TEST [ 3, 1] PASSED.
Child: 10.14 - F_TEST [ 4, ENDING] PASSED.
Child: 10.15 - F_TEST [ 2, 1] PASSED.
Child: 10.16 - F_TEST [ 0, 1] PASSED.
Test #11 - Make sure close() releases the process's locks.
Parent: 11.0 - F_TLOCK [ 0, ENDING] PASSED.
Parent: Closed testfile.
Child: 11.1 - F_TLOCK [ 0, ENDING] PASSED.
Child: 11.2 - F_ULOCK [ 0, ENDING] PASSED.
Parent: 11.3 - F_TLOCK [ 1d, 5b7] PASSED.
Parent: 11.4 - F_TLOCK [ 2000, 57] PASSED.
Parent: Closed testfile.
Child: 11.5 - F_TLOCK [ 0, ENDING] PASSED.
Child: 11.6 - F_ULOCK [ 0, ENDING] PASSED.
Parent: Wrote '123456789abcdef' to testfile [ 0, 16 ].
Parent: 11.7 - F_TLOCK [ 0, ENDING] PASSED.
Parent: Wrote '123456789abcdef' to testfile [ 13, 16 ].
Parent: Closed testfile.
Child: 11.8 - F_TLOCK [ 0, ENDING] PASSED.
Child: 11.9 - F_ULOCK [ 0, ENDING] PASSED.
Parent: Wrote '123456789abcdef' to testfile [ 0, 16 ].
Parent: 11.10 - F_TLOCK [ 0, ENDING] PASSED.
Parent: Truncated testfile.
Parent: Closed testfile.
Child: 11.11 - F_TLOCK [ 0, ENDING] PASSED.
Child: 11.12 - F_ULOCK [ 0, ENDING] PASSED.
Test #12 - Signalled process should release locks.
Child: 12.0 - F_TLOCK [ 0, ENDING] PASSED.
Parent: Killed child process.
Parent: 12.1 - F_TLOCK [ 0, ENDING] PASSED.
Test #13 - Check locking and mmap semantics.
Parent: 13.0 - F_TLOCK [ ffe, ENDING] PASSED.
Parent: 13.1 - mmap [ 0, 1000] WARNING!
Parent: **** Expected EAGAIN, returned success...
Parent: 13.2 - F_ULOCK [ 0, ENDING] PASSED.
Parent: unmap testfile.
Parent: 13.3 - mmap [ 0, 1000] PASSED.
Parent: 13.4 - F_TLOCK [ ffe, ENDING] PASSED.
Test #14 - Rate test performing I/O on unlocked and locked file.
Parent: File Unlocked
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Wrote and read 256 KB file 10 times; [42666.67 +/- 121.43
KB/s].
Parent: 14.0 - F_TLOCK [ 0, ENDING] PASSED.
Parent: File Locked
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Wrote and read 256 KB file 10 times; [39384.62 +/- 105.99
KB/s].
Parent: 14.1 - F_ULOCK [ 0, ENDING] PASSED.
** PARENT pass 1 results: 46/46 pass, 1/1 warn, 0/0 fail (pass/total).
** CHILD pass 1 results: 64/64 pass, 0/0 warn, 0/0 fail (pass/total).
Testing non-native 64 bit LFS locking
Creating parent/child synchronization pipes.
Test #1 - Test regions of an unlocked file.
Parent: 1.1 - F_TEST [ 0, 1] PASSED.
Parent: 1.2 - F_TEST [ 0, ENDING] PASSED.
Parent: 1.3 - F_TEST [ 0,7fffffffffffffff] PASSED.
Parent: 1.4 - F_TEST [ 1, 1] PASSED.
Parent: 1.5 - F_TEST [ 1, ENDING] PASSED.
Parent: 1.6 - F_TEST [ 1,7fffffffffffffff] PASSED.
Parent: 1.7 - F_TEST [7fffffffffffffff, 1] PASSED.
Parent: 1.8 - F_TEST [7fffffffffffffff, ENDING] PASSED.
Parent: 1.9 - F_TEST [7fffffffffffffff,7fffffffffffffff] PASSED.
Test #2 - Try to lock the whole file.
Parent: 2.0 - F_TLOCK [ 0, ENDING] PASSED.
Child: 2.1 - F_TEST [ 0, 1] PASSED.
Child: 2.2 - F_TEST [ 0, ENDING] PASSED.
Child: 2.3 - F_TEST [ 0,7fffffffffffffff] PASSED.
Child: 2.4 - F_TEST [ 1, 1] PASSED.
Child: 2.5 - F_TEST [ 1, ENDING] PASSED.
Child: 2.6 - F_TEST [ 1,7fffffffffffffff] PASSED.
Child: 2.7 - F_TEST [7fffffffffffffff, 1] PASSED.
Child: 2.8 - F_TEST [7fffffffffffffff, ENDING] PASSED.
Child: 2.9 - F_TEST [7fffffffffffffff,7fffffffffffffff] PASSED.
Parent: 2.10 - F_ULOCK [ 0, ENDING] PASSED.
Test #3 - Try to lock just the 1st byte.
Parent: 3.0 - F_TLOCK [ 0, 1] PASSED.
Child: 3.1 - F_TEST [ 0, 1] PASSED.
Child: 3.2 - F_TEST [ 0, ENDING] PASSED.
Child: 3.3 - F_TEST [ 1, 1] PASSED.
Child: 3.4 - F_TEST [ 1, ENDING] PASSED.
Parent: 3.5 - F_ULOCK [ 0, 1] PASSED.
Test #4 - Try to lock the 2nd byte, test around it.
Parent: 4.0 - F_TLOCK [ 1, 1] PASSED.
Child: 4.1 - F_TEST [ 0, 1] PASSED.
Child: 4.2 - F_TEST [ 0, 2] PASSED.
Child: 4.3 - F_TEST [ 0, ENDING] PASSED.
Child: 4.4 - F_TEST [ 1, 1] PASSED.
Child: 4.5 - F_TEST [ 1, 2] PASSED.
Child: 4.6 - F_TEST [ 1, ENDING] PASSED.
Child: 4.7 - F_TEST [ 2, 1] PASSED.
Child: 4.8 - F_TEST [ 2, 2] PASSED.
Child: 4.9 - F_TEST [ 2, ENDING] PASSED.
Parent: 4.10 - F_ULOCK [ 1, 1] PASSED.
Test #5 - Try to lock 1st and 2nd bytes, test around them.
Parent: 5.0 - F_TLOCK [ 0, 1] PASSED.
Parent: 5.1 - F_TLOCK [ 2, 1] PASSED.
Child: 5.2 - F_TEST [ 0, 1] PASSED.
Child: 5.3 - F_TEST [ 0, 2] PASSED.
Child: 5.4 - F_TEST [ 0, ENDING] PASSED.
Child: 5.5 - F_TEST [ 1, 1] PASSED.
Child: 5.6 - F_TEST [ 1, 2] PASSED.
Child: 5.7 - F_TEST [ 1, ENDING] PASSED.
Child: 5.8 - F_TEST [ 2, 1] PASSED.
Child: 5.9 - F_TEST [ 2, 2] PASSED.
Child: 5.10 - F_TEST [ 2, ENDING] PASSED.
Child: 5.11 - F_TEST [ 3, 1] PASSED.
Child: 5.12 - F_TEST [ 3, 2] PASSED.
Child: 5.13 - F_TEST [ 3, ENDING] PASSED.
Parent: 5.14 - F_ULOCK [ 0, 1] PASSED.
Parent: 5.15 - F_ULOCK [ 2, 1] PASSED.
Test #6 - Try to lock the MAXEOF byte.
Parent: 6.0 - F_TLOCK [7fffffffffffffff, 1] PASSED.
Child: 6.1 - F_TEST [7ffffffffffffffe, 1] PASSED.
Child: 6.2 - F_TEST [7ffffffffffffffe, 2] PASSED.
Child: 6.3 - F_TEST [7ffffffffffffffe, ENDING] PASSED.
Child: 6.4 - F_TEST [7fffffffffffffff, 1] PASSED.
Child: 6.5 - F_TEST [7fffffffffffffff, 2] PASSED.
Child: 6.6 - F_TEST [7fffffffffffffff, ENDING] PASSED.
Child: 6.7 - F_TEST [8000000000000000, ENDING] PASSED.
Child: 6.8 - F_TEST [8000000000000000, 1] PASSED.
Child: 6.9 - F_TEST [8000000000000000,7fffffffffffffff] PASSED.
Child: 6.10 - F_TEST [8000000000000000,8000000000000000] PASSED.
Parent: 6.11 - F_ULOCK [7fffffffffffffff, 1] PASSED.
Test #7 - Test parent/child mutual exclusion.
Parent: 7.0 - F_TLOCK [ ffc, 9] PASSED.
Parent: Wrote 'aaaa eh' to testfile [ 4092, 7 ].
Parent: Now free child to run, should block on lock.
Parent: Check data in file to insure child blocked.
Parent: Read 'aaaa eh' from testfile [ 4092, 7 ].
Parent: 7.1 - COMPARE [ ffc, 7] PASSED.
Parent: Now unlock region so child will unblock.
Parent: 7.2 - F_ULOCK [ ffc, 9] PASSED.
Child: 7.3 - F_LOCK [ ffc, 9] PASSED.
Child: Write child's version of the data and release lock.
Child: Wrote 'bebebebeb' to testfile [ 4092, 9 ].
Child: 7.4 - F_ULOCK [ ffc, 9] PASSED.
Parent: Now try to regain lock, parent should block.
Parent: 7.5 - F_LOCK [ ffc, 9] PASSED.
Parent: Check data in file to insure child unblocked.
Parent: Read 'bebebebeb' from testfile [ 4092, 9 ].
Parent: 7.6 - COMPARE [ ffc, 9] PASSED.
Parent: 7.7 - F_ULOCK [ ffc, 9] PASSED.
Test #8 - Rate test performing lock/unlock cycles.
Parent: Performed 1000 lock/unlock cycles in 170 msecs. [705882
lpm].
Test #10 - Make sure a locked region is split properly.
Parent: 10.0 - F_TLOCK [ 0, 3] PASSED.
Parent: 10.1 - F_ULOCK [ 1, 1] PASSED.
Child: 10.2 - F_TEST [ 0, 1] PASSED.
Child: 10.3 - F_TEST [ 2, 1] PASSED.
Child: 10.4 - F_TEST [ 3, ENDING] PASSED.
Child: 10.5 - F_TEST [ 1, 1] PASSED.
Parent: 10.6 - F_ULOCK [ 0, 1] PASSED.
Parent: 10.7 - F_ULOCK [ 2, 1] PASSED.
Child: 10.8 - F_TEST [ 0, 3] PASSED.
Parent: 10.9 - F_ULOCK [ 0, 1] PASSED.
Parent: 10.10 - F_TLOCK [ 1, 3] PASSED.
Parent: 10.11 - F_ULOCK [ 2, 1] PASSED.
Child: 10.12 - F_TEST [ 1, 1] PASSED.
Child: 10.13 - F_TEST [ 3, 1] PASSED.
Child: 10.14 - F_TEST [ 4, ENDING] PASSED.
Child: 10.15 - F_TEST [ 2, 1] PASSED.
Child: 10.16 - F_TEST [ 0, 1] PASSED.
Test #11 - Make sure close() releases the process's locks.
Parent: 11.0 - F_TLOCK [ 0, ENDING] PASSED.
Parent: Closed testfile.
Child: 11.1 - F_TLOCK [ 0, ENDING] PASSED.
Child: 11.2 - F_ULOCK [ 0, ENDING] PASSED.
Parent: 11.3 - F_TLOCK [ 1d, 5b7] PASSED.
Parent: 11.4 - F_TLOCK [ 2000, 57] PASSED.
Parent: Closed testfile.
Child: 11.5 - F_TLOCK [ 0, ENDING] PASSED.
Child: 11.6 - F_ULOCK [ 0, ENDING] PASSED.
Parent: Wrote '123456789abcdef' to testfile [ 0, 16 ].
Parent: 11.7 - F_TLOCK [ 0, ENDING] PASSED.
Parent: Wrote '123456789abcdef' to testfile [ 13, 16 ].
Parent: Closed testfile.
Child: 11.8 - F_TLOCK [ 0, ENDING] PASSED.
Child: 11.9 - F_ULOCK [ 0, ENDING] PASSED.
Parent: Wrote '123456789abcdef' to testfile [ 0, 16 ].
Parent: 11.10 - F_TLOCK [ 0, ENDING] PASSED.
Parent: Truncated testfile.
Parent: Closed testfile.
Child: 11.11 - F_TLOCK [ 0, ENDING] PASSED.
Child: 11.12 - F_ULOCK [ 0, ENDING] PASSED.
Test #12 - Signalled process should release locks.
Child: 12.0 - F_TLOCK [ 0, ENDING] PASSED.
Parent: Killed child process.
Parent: 12.1 - F_TLOCK [ 0, ENDING] PASSED.
Test #13 - Check locking and mmap semantics.
Parent: 13.0 - F_TLOCK [ ffe, ENDING] PASSED.
Parent: 13.1 - mmap [ 0, 1000] WARNING!
Parent: **** Expected EAGAIN, returned success...
Parent: 13.2 - F_ULOCK [ 0, ENDING] PASSED.
Parent: unmap testfile.
Parent: 13.3 - mmap [ 0, 1000] PASSED.
Parent: 13.4 - F_TLOCK [ ffe, ENDING] PASSED.
Test #14 - Rate test performing I/O on unlocked and locked file.
Parent: File Unlocked
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Wrote and read 256 KB file 10 times; [42666.67 +/- 121.43
KB/s].
Parent: 14.0 - F_TLOCK [ 0, ENDING] PASSED.
Parent: File Locked
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Truncated testfile.
Child: Wrote and read 256 KB file 10 times; [42666.67 +/- 121.43
KB/s].
Parent: 14.1 - F_ULOCK [ 0, ENDING] PASSED.
** PARENT pass 1 results: 46/46 pass, 1/1 warn, 0/0 fail (pass/total).
** CHILD pass 1 results: 64/64 pass, 0/0 warn, 0/0 fail (pass/total).
Congratulations, you passed the locking tests!
All tests completed
#
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic