History log of /freebsd-10.1-release/tools/regression/aio/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


253526 21-Jul-2013 kib

Fix several warnings.
Fix crash in aio_pty_cleanup() by initializing the pointer before
dereferencing.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week


253447 18-Jul-2013 kevlo

Include stdint.h when use intmax_t.

Reported by: bde


253442 18-Jul-2013 kevlo

Replace PRId64 with "jd" in a printf call. Cast the corresponding value to
intmax_t, because the original type is off_t.

Reported by: bde


253402 17-Jul-2013 kevlo

Use PRId64 instead of %gd to print an int64_t.


218938 22-Feb-2011 miwi

- Fix QA issues

PR: misc/146687
Submitted by: Garrett Cooper <gcooper@FreeBSD.org>
Approved by: rwatson (mentor)


205224 16-Mar-2010 kib

Add missing headers.

MFC after: 3 days


179017 15-May-2008 adrian

Add the ability to do all read, all write, or random read/write.


178823 07-May-2008 adrian

Include a very basic (and beta) tool for stressing disks using the POSIX
AIO calls.

This small program queues up a controllable number of concurrent AIO
read operations w/ controllable io size against a disk or regular file.
There are a few other things to add (notably optional write support!)
but it works well enough at the present time to stress the AIO code out
relatively harshly in the disk IO case.


156735 15-Mar-2006 ru

Style: NO_MAN doesn't need any value.


154668 22-Jan-2006 davidxu

s/sigval/sival/g


151261 12-Oct-2005 ambrisko

This test can run now.


142976 02-Mar-2005 ambrisko

This will not compile without:
http://www.ambrisko.com/doug/listio_kqueue/listio_kqueue.patch

Note: it is a good idea to run this against a physical drive to
exercise the physio fast path (ie. lio_kqueue /dev/<something safe>)
This will ensure op's counting per LIO request is correct. It is
currently broken the above patch fixes it.

Sponsored by: IronPort


142971 02-Mar-2005 ambrisko

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


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


138449 06-Dec-2004 rwatson

Print a warning if running as !root for aio_md_test rather than failing
the test. Privilege is required in order to allocate an md device.


138447 06-Dec-2004 rwatson

Add a basic aio functionality regression test, which simply writes and
then reads from a fairly broad range of object types: regular file,
fifo, UNIX socketpair, pty, UNIX pipe, and an md device. Not a deep
test of functionality, just a basic test that aio_write followed by
aio_read returns the correct data in a relatively timely manner.

Requested by: phk