summaryrefslogtreecommitdiffstats
path: root/tools/regression/aio
Commit message (Collapse)AuthorAgeFilesLines
* MFC r281593,r282071,r282074,r282133,r282134,r282135,r282136,r282137,r282138:ngie2015-05-136-1187/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r282071: Integrate tools/regression/mqueue into the FreeBSD test suite as tests/sys/mqueue r282074: Integrate tools/regression/aio/aiotest and tools/regression/aio/kqueue into the FreeBSD test suite as tests/sys/aio r282133: Fill in the copyright boilerplate for the test program r282134: Add initial (unpolished) macros for interfacing with the FreeBSD test suite This is very rough, but will be replaced/redesigned some time soon after I fix the Jenkins breakage I introduced r282135: Use ATF_REQUIRE_KERNEL_MODULE instead of aio_available function r282136: - Use ATF_REQUIRE_KERNEL_MDOULE to require aio(4) - Don't use /tmp as a basis for temporary files as it's outside of the ATF sandbox - Don't override MAX macro in sys/param.h r282137: Use PLAIN_REQUIRE_KERNEL_MODULE to require "mqueuefs" r282138: Adjust CFLAGS to find freebsd_test_suite/macros.h
* MFC r280894,r280895:ngie2015-05-134-18/+27
| | | | | | | | | | | | | | | r280894: Minor cleanup before converting to ATF testcases - Remove blank (tab-only) lines. - Fix -Wunused warnings. - Bump up to WARNS= 6 r280895: - Fix -Wsign issue - Bump up to WARNS=6
* MFC r282073:ngie2015-05-132-57/+57
| | | | | | | | | | - Fix style(9) a bit -- Fix whitespace -- Use err/errx -- Remove superfluous braces - Be a bit more defensive with input from the end-user - Don't throw a floating point exception by dividing by 0 when processing a zero-byte file
* MFC r280893:ngie2015-04-252-63/+69
| | | | | | | | | | | | | | | | Cleanup and do minor refactoring before converting testcases to ATF - Convert errx(-1, ..) to errx(1, ..) - Move the aio(4) checks to a single function (aio_available); use modfind(2) instead of depending on SIGSYS (doesn't work when aio(4) support is missing, not documented in the aio syscall manpages). - Use aio_available liberally in the testcase functions - Use mkstemp(3) + unlink(2) instead of mktemp(3) - Fix some -Wunused warnings - Bump WARNS to 6 Submitted by: mjohnston [*] Sponsored by: EMC / Isilon Storage Division
* MFC r264400,r265836:ngie2014-12-314-4/+4
| | | | | | | | | | | | | | r264400: NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. r265836: Remove last two NO_MAN= in the tree. In both of these cases, MAN= is what is needed.
* Fix several warnings.kib2013-07-211-8/+10
| | | | | | | | Fix crash in aio_pty_cleanup() by initializing the pointer before dereferencing. Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Include stdint.h when use intmax_t.kevlo2013-07-181-1/+1
| | | | Reported by: bde
* Replace PRId64 with "jd" in a printf call. Cast the corresponding value tokevlo2013-07-181-1/+1
| | | | | | intmax_t, because the original type is off_t. Reported by: bde
* Use PRId64 instead of %gd to print an int64_t.kevlo2013-07-171-1/+2
|
* - Fix QA issuesmiwi2011-02-221-45/+55
| | | | | | PR: misc/146687 Submitted by: Garrett Cooper <gcooper@FreeBSD.org> Approved by: rwatson (mentor)
* Add missing headers.kib2010-03-161-0/+3
| | | | MFC after: 3 days
* Add the ability to do all read, all write, or random read/write.adrian2008-05-151-9/+44
|
* Include a very basic (and beta) tool for stressing disks using the POSIXadrian2008-05-072-0/+197
| | | | | | | | | | 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.
* Style: NO_MAN doesn't need any value.ru2006-03-153-3/+3
|
* s/sigval/sival/gdavidxu2006-01-222-2/+2
|
* This test can run now.ambrisko2005-10-121-4/+0
|
* This will not compile without:ambrisko2005-03-022-0/+252
| | | | | | | | | | | 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
* Add an AIO & kqueue regression test. It is a good idea to run thisambrisko2005-03-022-0/+203
| | | | | | | | | | | | | | | 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
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Print a warning if running as !root for aio_md_test rather than failingrwatson2004-12-061-1/+5
| | | | the test. Privilege is required in order to allocate an md device.
* Add a basic aio functionality regression test, which simply writes andrwatson2004-12-062-0/+702
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
OpenPOWER on IntegriCloud