summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-07Fio 1.25fio-1.25Jens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-04-07Reseed random generator for loop/time based runsJens Axboe
Then we get repeatable 2nd/3rd/etc runs. This is important if the file layout was random, otherwise subsequent runs will get very different results. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-04-07File reset should clear random map as wellJens Axboe
Fixes infinite loop on time based runs, where it repeatedly fails getting a new offset. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-04-07Merge branch 'master' of ssh://router/data/git/fioJens Axboe
2009-04-07aio: fixed a signedness issue that could cause abort on straceJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-14Add some missing options to the man pageJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-14Man page typo on zero_buffersJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-11Add blockalign/ba optionJens Axboe
Allows the job to specify alignment of the IO specifically, instead of relying on using blocksize as the offset alignment. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-10Fix integer store bug in parserJens Axboe
With commit f7fa2653589f9ecf0d3d106286f17620bcf32de0 I forgot to check the type, so we would mis-store on platforms where sizeof(int) is different from sizeof(long). Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-09Add some missing options to the man pageJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-09Get rid of int vs siint differenceJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-09Update HOWTO with 0x base for siintJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-09Allow 0x (or 0X) prefix for any int value to indicate hex baseJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-06Fix failure to strip end of line with commentJens Axboe
We left a space at the end, which confused the postfix checking. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-06Merge branch 'master' of ssh://brick.kernel.dk/data/git/fioJens Axboe
2009-03-05Update smalloc section in READMEJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-05Use strict matching for --section command line optionJens Axboe
Don't limit to string length of passed in section, otherwise we could be matching more than one section. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-05Avoid opening files until they are usedJens Axboe
Fio still opens and creates all files, just to check the size of them. Add a specialized IO engine op for getting the size of a file and use that instead. This also cleans a lot of things up. Note that the IO engine version is now bumped to 10, meaning that external engines will have to separate the file open from the size checking. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04Need to clear ->files_size when ->files is clearedJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04More file setting bug fixesJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04Botch edit in files setupJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04Missing fio.h updateJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04Realloc td->files to full size immediatelyJens Axboe
For adding many files, we do as many reallocs() as we have files. This is slow, so do full allocs instead. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04Add create_on_open optionJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Please enter the commit message for your changes. Lines starting
2009-03-04Fix file open leakJens Axboe
Introduced by commit 87b10676354d10be02864ad615e1e9fe5a2376ab Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04Fix bug with openfilesJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04Fix bug in file selectionJens Axboe
We need to check both the OPEN and CLOSING flag, since CLOSE will not be set until the file has really been closed. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-03-04Add 'sequential' file_service_typeJens Axboe
This service type will keep a file open until IO to it is completely done, before moving on to the next available file. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-02-19Allow 'norandommap' with verifyJens Axboe
We used to turn off verify completely if norandommap was given, since fio does not track block rewrites. But we can easily track rewrites, as long as we don't have to track various extent sizes. So relax the restriction to only cover norandommap with differing block sizes and adapt log_io_piece() to always use rbtree inserts for cases where we do need to check for potential overwrites. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-02-06Fio 1.24fio-1.24Jens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-02-02Check for a valid block device sizeJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-19net engine: notify receiver of UDP link closeJens Axboe
Also optimize the send/receive path, only use poll() if the non-blocking send/recv returned EAGAIN. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-19Fix broken rate checkJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-19net engine: termination fixesJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-19net engine: don't pass in flagsJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-19net engine: use poll() always for sending/receivingJens Axboe
Avoids getting stuck waiting for data and not accepting signals. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-16Add comment on UDP on examples/netioJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-16Missing text in iodepth_batch* help entriesJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-16libaio engine: get rid of non-async behaviour with buffered IOJens Axboe
It may not be true, just get rid of it. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-16net engine: accept both upper and lowercase tcp/udp.Jens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-16net engine: add UDP supportJens Axboe
The filename= option now accepts a third parameter designating the protocol type, udp or tcp. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-07Add platform section to READMEJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-06OS includes need errno.hJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-06smalloc: get rid of MP_SAFE define and lock checksJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-05Some more pthread_* call mishandled errorsJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-05Add --debug=mutexJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-05Make sure os mutex define is visible in mutex.cJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-05Only use process shared mutexes on support platformsJens Axboe
On FreeBSD, suggest the use of threads instead. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-05Fixup handling of pthread_mutex*() error returnsJens Axboe
They return the errno, not 0/-1. Thanks to Fabio Checconi <fabio@gandalf.sssup.it> for noticing this. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-05Add fio_cpuset_exit() empty handler for platforms that don't support affinityJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>