cvs commit: src/tools/regression/aio/kqueue Makefile aio_kqueue.c
ambrisko at FreeBSD.org
Wed Mar 2 03:32:02 GMT 2005
ambrisko 2005-03-02 03:32:01 UTC
FreeBSD src repository
tools/regression/aio/kqueue Makefile aio_kqueue.c
Add an AIO & kqueue regression test. It is a good idea to run this
against a disk as the argument. If you don't it will use a temp file.
The raw disk will use the kernel physio fast path method until the
max number of pending op's is reached then it will queue them. File
system op's are always queued. This is more important with LIO since
operation can get split across and accounting of op's is broken with LIO.
Note that this was broken when locking was added to kqueue (ie. 5.3)
My fix needs to be better integrated with FreeBSD.
Next is an LIO test and implementation.
Sponsored by: IronPort
Revision Changes Path
1.1 +6 -0 src/tools/regression/aio/kqueue/Makefile (new)
1.1 +197 -0 src/tools/regression/aio/kqueue/aio_kqueue.c (new)
More information about the cvs-src