fio.git
17 years ago[PATCH] Unlink write file if !overwrite and it exists
Jens Axboe [Sun, 14 Jan 2007 04:56:44 +0000 (05:56 +0100)]
[PATCH] Unlink write file if !overwrite and it exists

Repeatability across runs, unlink the file so that the job
runs like it wasn't there to begin with.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Don't make file unlink the default
Jens Axboe [Sat, 13 Jan 2007 23:00:29 +0000 (00:00 +0100)]
[PATCH] Don't make file unlink the default

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] The last io depth entry is actually >= 64, not > 32
Jens Axboe [Sat, 13 Jan 2007 22:59:00 +0000 (23:59 +0100)]
[PATCH] The last io depth entry is actually >= 64, not > 32

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Include io depth distribution statistics
Jens Axboe [Sat, 13 Jan 2007 22:56:33 +0000 (23:56 +0100)]
[PATCH] Include io depth distribution statistics

Calculate the distribution of io depths for the job run.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Remove the time init check
Jens Axboe [Sat, 13 Jan 2007 14:17:22 +0000 (15:17 +0100)]
[PATCH] Remove the time init check

We cannot control constructor ordering easily, hence the check
code was also in fio_gettime().

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Shorten 'commitrate' to 'CR'
Jens Axboe [Sat, 13 Jan 2007 14:15:47 +0000 (15:15 +0100)]
[PATCH] Shorten 'commitrate' to 'CR'

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fixup rate usec cycle calculation for small values
Jens Axboe [Sat, 13 Jan 2007 11:29:13 +0000 (12:29 +0100)]
[PATCH] Fixup rate usec cycle calculation for small values

If someone set rate to 2KiB/sec or something low in that range,
we would integer divide by zero. Do calculation in reads per msec
instead of full seconds and fix the zero division.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Improve rate functionality
Jens Axboe [Sat, 13 Jan 2007 11:20:30 +0000 (12:20 +0100)]
[PATCH] Improve rate functionality

usec_sleep() now takes into account the granularity of nanosleep().
Also stop using the remainder returned by nanosleep(), it doesn't
appear to always be accurate. Instead just check the elapsed time
manually.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Properly shutdown in case of serious errors
Jens Axboe [Fri, 12 Jan 2007 08:04:41 +0000 (09:04 +0100)]
[PATCH] Properly shutdown in case of serious errors

Introduce fio_abort to do a forced shutdown of everything for things
like segfaults.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Update HOWTO
Jens Axboe [Thu, 11 Jan 2007 18:25:52 +0000 (19:25 +0100)]
[PATCH] Update HOWTO

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Cleanup some output code
Jens Axboe [Thu, 11 Jan 2007 18:24:55 +0000 (19:24 +0100)]
[PATCH] Cleanup some output code

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Thu, 11 Jan 2007 14:59:35 +0000 (15:59 +0100)]
Merge branch 'master' of ssh://router/data/git/fio

17 years ago[PATCH] Update irange documentation
Jens Axboe [Thu, 11 Jan 2007 14:59:26 +0000 (15:59 +0100)]
[PATCH] Update irange documentation

Also allow ':' as the range delimeter, and '/' as the
direction delimeter.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Help: thinktime is in microseconds
Jens Axboe [Thu, 11 Jan 2007 13:06:35 +0000 (14:06 +0100)]
[PATCH] Help: thinktime is in microseconds

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Abort early for bad option given to --cmdhelp
Jens Axboe [Thu, 11 Jan 2007 13:04:47 +0000 (14:04 +0100)]
[PATCH] Abort early for bad option given to --cmdhelp

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Really fixup disk util init
Jens Axboe [Thu, 11 Jan 2007 13:01:27 +0000 (14:01 +0100)]
[PATCH] Really fixup disk util init

Include disk io ticks, if the job itself creates the file. Don't
include it, if we create the file before running the job.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoRevert "[PATCH] Move disk utilization setup to thread itself"
Jens Axboe [Thu, 11 Jan 2007 12:58:32 +0000 (13:58 +0100)]
Revert "[PATCH] Move disk utilization setup to thread itself"

This reverts commit d52fb0c44567cf4fdc2a2c307c32672cc5a57170.

17 years ago[PATCH] Move disk utilization setup to thread itself
Jens Axboe [Thu, 11 Jan 2007 13:44:40 +0000 (14:44 +0100)]
[PATCH] Move disk utilization setup to thread itself

We don't want it to include potential file creation before the job runs.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Warn if both option variable offset and callback given
Jens Axboe [Thu, 11 Jan 2007 13:40:27 +0000 (14:40 +0100)]
[PATCH] Warn if both option variable offset and callback given

If the callback is present, it is preferred to the offsets. So
giving offsets with a callback specified doesn't make sense.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Pretty up option looping
Jens Axboe [Thu, 11 Jan 2007 13:36:56 +0000 (14:36 +0100)]
[PATCH] Pretty up option looping

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Change output dev= to stdev=
Jens Axboe [Thu, 11 Jan 2007 13:24:29 +0000 (14:24 +0100)]
[PATCH] Change output dev= to stdev=

It's really standard deviation, so make it a little easier to
understand.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Change O_DIRECT vs buffered setup
Jens Axboe [Thu, 11 Jan 2007 12:24:44 +0000 (13:24 +0100)]
[PATCH] Change O_DIRECT vs buffered setup

Change the default from O_DIRECT IO to normal buffered IO. That makes
more sense, as O_DIRECT is a special case and should be manually
enabled as such.

Do this by adding a option negate switch, so we don't need two sets
of parameters to control these options.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Change timeout to runtime and rearrange option entries
Jens Axboe [Thu, 11 Jan 2007 10:04:31 +0000 (11:04 +0100)]
[PATCH] Change timeout to runtime and rearrange option entries

Runtime is a more descriptive name - the documentation is updated
as well, however the parsing has added an alias functionality to
support older names as well. So 'timeout' still works.

Also rearrange option entries, now they matter because the --cmdhelp
option will print them in order.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Thread option didn't work
Jens Axboe [Wed, 10 Jan 2007 19:30:53 +0000 (20:30 +0100)]
[PATCH] Thread option didn't work

We stored to the wrong location, woops.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Implement a better mean and standard deviation calculation
Jens Axboe [Wed, 10 Jan 2007 18:56:37 +0000 (19:56 +0100)]
[PATCH] Implement a better mean and standard deviation calculation

Based on Knuth's, volume 2.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] strtoul() -> strtol() conversion
Jens Axboe [Wed, 10 Jan 2007 15:02:32 +0000 (16:02 +0100)]
[PATCH] strtoul() -> strtol() conversion

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoMerge branch 'master' of ssh://git.kernel.dk/data/git/fio
Jens Axboe [Wed, 10 Jan 2007 14:41:07 +0000 (15:41 +0100)]
Merge branch 'master' of ssh://git.kernel.dk/data/git/fio

17 years ago[PATCH] Fix standard deviation calculation
Jens Axboe [Wed, 10 Jan 2007 14:39:51 +0000 (15:39 +0100)]
[PATCH] Fix standard deviation calculation

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Be strict in checking option ranges
Jens Axboe [Wed, 10 Jan 2007 12:41:26 +0000 (13:41 +0100)]
[PATCH] Be strict in checking option ranges

Fail if given value falls outside of range instead of adjusting
it automatically.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Option minval should be signed
Jens Axboe [Wed, 10 Jan 2007 12:20:09 +0000 (13:20 +0100)]
[PATCH] Option minval should be signed

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Introduce bool option type
Jens Axboe [Wed, 10 Jan 2007 12:14:02 +0000 (13:14 +0100)]
[PATCH] Introduce bool option type

We can automatically flag those with min/max values.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Show allowed option values for string matching
Jens Axboe [Wed, 10 Jan 2007 11:26:18 +0000 (12:26 +0100)]
[PATCH] Show allowed option values for string matching

Helpful to avoid looking in the documentation.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Pretty up command help output
Jens Axboe [Wed, 10 Jan 2007 10:41:11 +0000 (11:41 +0100)]
[PATCH] Pretty up command help output

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Reversed order of thinktime_blocks modulo operation
Jens Axboe [Wed, 10 Jan 2007 10:33:14 +0000 (11:33 +0100)]
[PATCH] Reversed order of thinktime_blocks modulo operation

We wish to find the remainder of block count vs thinktime_blocks,
not the other way around. This makes thinktime_blocks work correctly.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fixup ratecycle option
Jens Axboe [Wed, 10 Jan 2007 10:27:48 +0000 (11:27 +0100)]
[PATCH] Fixup ratecycle option

It set .name twice, the last one was supposed to be .help instead.
Also kill options->opt_set, it's not used.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Add default option values
Jens Axboe [Wed, 10 Jan 2007 10:23:16 +0000 (11:23 +0100)]
[PATCH] Add default option values

It's handy for the help text, and it also cleans up init.c by removing
a bunch of default option defines.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Move timeout structure where it is used
Jens Axboe [Tue, 9 Jan 2007 20:22:18 +0000 (21:22 +0100)]
[PATCH] Move timeout structure where it is used

Also makes sure that it's always initialized to 0's.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Complain if bad option given to 'cmdhelp'
Jens Axboe [Tue, 9 Jan 2007 20:22:02 +0000 (21:22 +0100)]
[PATCH] Complain if bad option given to 'cmdhelp'

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Add per-option help
Jens Axboe [Tue, 9 Jan 2007 20:20:13 +0000 (21:20 +0100)]
[PATCH] Add per-option help

It's hard to remember all the options that fio supports, so add a
'cmdhelp' option that either prints all possible options (if argument
is 'all'), or specific option help (if argument is the command).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fio version 1.11 fio-1.11
Jens Axboe [Tue, 9 Jan 2007 07:19:01 +0000 (08:19 +0100)]
[PATCH] Fio version 1.11

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix busy-looping with aio engine and depth > 1
Jens Axboe [Mon, 8 Jan 2007 21:27:05 +0000 (22:27 +0100)]
[PATCH] Fix busy-looping with aio engine and depth > 1

It's ok for io_getevents() to return 0, if min_nr is 0. Check
first if io_getevents() returns >= min_nr, if so then just break
and return.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Add extra disk util name check
Jens Axboe [Mon, 8 Jan 2007 09:57:27 +0000 (10:57 +0100)]
[PATCH] Add extra disk util name check

If it's the same device name, don't print utilization more than once.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Debug printf
Jens Axboe [Mon, 8 Jan 2007 09:49:38 +0000 (10:49 +0100)]
[PATCH] Debug printf

Kill it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Unlink and directory fix
Jens Axboe [Mon, 8 Jan 2007 09:47:43 +0000 (10:47 +0100)]
[PATCH] Unlink and directory fix

Make 'unlink' a bool and fix bug in directory setup.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Non-overwrite random write fix
Jens Axboe [Mon, 8 Jan 2007 09:25:51 +0000 (10:25 +0100)]
[PATCH] Non-overwrite random write fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Make note of mailing list address
Jens Axboe [Wed, 3 Jan 2007 20:02:41 +0000 (21:02 +0100)]
[PATCH] Make note of mailing list address

Yay, there's a list.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Make sure the fio_options[] members are always zero filled
Jens Axboe [Wed, 3 Jan 2007 19:45:09 +0000 (20:45 +0100)]
[PATCH] Make sure the fio_options[] members are always zero filled

Make sure the remaining members are cleared, to avoid confusion.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Add thinktime_blocks
Jens Axboe [Wed, 3 Jan 2007 19:43:19 +0000 (20:43 +0100)]
[PATCH] Add thinktime_blocks

Right now 'thinktime' waits after every IO. This may not be what you
need, sometimes you want to wait only after 'x' number of ios. This
options allows you to set the number of ios to complete, before waiting.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix deviation overflow
Jens Axboe [Wed, 3 Jan 2007 13:21:13 +0000 (14:21 +0100)]
[PATCH] Fix deviation overflow

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix division by zero in deviance calculation
Jens Axboe [Wed, 3 Jan 2007 10:10:27 +0000 (11:10 +0100)]
[PATCH] Fix division by zero in deviance calculation

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Split CFLAGS into OPTFLAGS + CFLAGS
Pascal Bleser [Tue, 2 Jan 2007 08:17:03 +0000 (09:17 +0100)]
[PATCH] Split CFLAGS into OPTFLAGS + CFLAGS

Makes it easier to control rpm generation.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Don't create libdir
Jens Axboe [Tue, 2 Jan 2007 08:15:36 +0000 (09:15 +0100)]
[PATCH] Don't create libdir

Since we link in io engines, we don't need to create the libdir anymore.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Don't dump optarg on unknown option
Jens Axboe [Fri, 22 Dec 2006 20:02:44 +0000 (21:02 +0100)]
[PATCH] Don't dump optarg on unknown option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Version 1.10 fio-1.10
Jens Axboe [Fri, 22 Dec 2006 19:54:06 +0000 (20:54 +0100)]
[PATCH] Version 1.10

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Allow mem=mmap to also use a file backing
Jens Axboe [Thu, 21 Dec 2006 08:50:00 +0000 (09:50 +0100)]
[PATCH] Allow mem=mmap to also use a file backing

We have the stuff in place for huge page backed memory, so it's little
extra code to support io buffers inside mmap file backed memory.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Warning on hugepage-size setting in HOWTO
Jens Axboe [Wed, 20 Dec 2006 19:28:33 +0000 (20:28 +0100)]
[PATCH] Warning on hugepage-size setting in HOWTO

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Add hugepage-size option
Jens Axboe [Wed, 20 Dec 2006 19:27:36 +0000 (20:27 +0100)]
[PATCH] Add hugepage-size option

We default to 4MiB, but export the setting so it can be changed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Document how to setup/use huge pages
Jens Axboe [Wed, 20 Dec 2006 19:15:41 +0000 (20:15 +0100)]
[PATCH] Document how to setup/use huge pages

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Remove debug fprintfs
Jens Axboe [Wed, 20 Dec 2006 13:42:17 +0000 (14:42 +0100)]
[PATCH] Remove debug fprintfs

Oops, leftover from the mmaphuge commit.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Support for mmap of hugetlb files as memory backing
Jens Axboe [Wed, 20 Dec 2006 13:40:44 +0000 (14:40 +0100)]
[PATCH] Support for mmap of hugetlb files as memory backing

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix character + O_DIRECT
Jens Axboe [Wed, 20 Dec 2006 11:54:25 +0000 (12:54 +0100)]
[PATCH] Fix character + O_DIRECT

Just clear ->odirect if it's a character device, it doesn't apply.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix hugetlb problems
Jens Axboe [Wed, 20 Dec 2006 11:48:23 +0000 (12:48 +0100)]
[PATCH] Fix hugetlb problems

Alignment was bad, and we need to check the shmhuge string before shm,
otherwise it'll match the latter.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Must use ->real_file_size
Jens Axboe [Wed, 20 Dec 2006 09:58:07 +0000 (10:58 +0100)]
[PATCH] Must use ->real_file_size

->file_size is the size of the file from offset, while ->real_file_size
is the total size of the file. So when comparing EOF, we should look
at ->real_file_size against the offset.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Support for hugetlb backed shared memory
Jens Axboe [Tue, 19 Dec 2006 14:18:14 +0000 (15:18 +0100)]
[PATCH] Support for hugetlb backed shared memory

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Only unlink for created files
Jens Axboe [Fri, 15 Dec 2006 15:01:54 +0000 (16:01 +0100)]
[PATCH] Only unlink for created files

If the file was already there, don't unlink it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Make unlink and overwrite the default
Jens Axboe [Fri, 15 Dec 2006 12:11:24 +0000 (13:11 +0100)]
[PATCH] Make unlink and overwrite the default

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix FreeBSD/Solaris linkage
Jens Axboe [Tue, 5 Dec 2006 10:56:56 +0000 (11:56 +0100)]
[PATCH] Fix FreeBSD/Solaris linkage

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix warnings from icc
Jens Axboe [Tue, 5 Dec 2006 10:44:16 +0000 (11:44 +0100)]
[PATCH] Fix warnings from icc

icc spewed a bunch of warnings on building fio, but it did actually build
and work. Some of them are real bugs, most are just "helpful" warnings.

icc doesn't like pointer arithmetic, however these are not fixed up. It
works as-is, just ignore those class of warnings.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] rusage stat
Jens Axboe [Fri, 24 Nov 2006 12:29:20 +0000 (13:29 +0100)]
[PATCH] rusage stat

Sum up total over all loops, not for each one.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Improve time accounting for a job
Jens Axboe [Fri, 24 Nov 2006 12:12:56 +0000 (13:12 +0100)]
[PATCH] Improve time accounting for a job

We need to account loop time in usecs, or the null io engine can
get the timing wrong. For the system usage stats, don't use summed
up loop counts, but calculate end-start time instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Update ioengine help text
Jens Axboe [Fri, 24 Nov 2006 11:43:49 +0000 (12:43 +0100)]
[PATCH] Update ioengine help text

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] 'null' ioengine
Jens Axboe [Fri, 24 Nov 2006 11:37:34 +0000 (12:37 +0100)]
[PATCH] 'null' ioengine

Add a null io engine, which can be used to exercise and test/debug fio
itself. It doesn't transfer any data, just pretends to.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix time debug compile
Jens Axboe [Fri, 24 Nov 2006 09:54:06 +0000 (10:54 +0100)]
[PATCH] Fix time debug compile

If FIO_TIME_DEBUG gets enabled, we need hash.h.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Comment typo
Jens Axboe [Fri, 24 Nov 2006 09:47:40 +0000 (10:47 +0100)]
[PATCH] Comment typo

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Time and seek optimizations
Jens Axboe [Fri, 24 Nov 2006 09:42:00 +0000 (10:42 +0100)]
[PATCH] Time and seek optimizations

We did too many gettimeofday() calls, this patch cuts the number by
40%. Use clock_gettime() MONOTONIC instead, it is faster on my system
at least.

This patch also optimizes calling lseek() only when necessary for the
sync io engine.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Get rid of FIO_INST_PREFIX
Jens Axboe [Thu, 23 Nov 2006 14:11:53 +0000 (15:11 +0100)]
[PATCH] Get rid of FIO_INST_PREFIX

We don't need it anymore, since we link in known io engines and unknown
ones have to be given with a full path.

Also fixup Makefiles for Solaris and FreeBSD, they were a bit outdated.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Close files on error
Jens Axboe [Thu, 23 Nov 2006 14:01:19 +0000 (15:01 +0100)]
[PATCH] Close files on error

The error path doesn't close already opened files. Also set
O_SYNC regardless of file type.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Always open the files from the job itself
Jens Axboe [Thu, 23 Nov 2006 11:39:16 +0000 (12:39 +0100)]
[PATCH] Always open the files from the job itself

This way we don't fork or spawn threads and make them inherit the open
file.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] File close fix
Jens Axboe [Thu, 23 Nov 2006 11:23:12 +0000 (12:23 +0100)]
[PATCH] File close fix

We should unlink and invalidate a closed file, to less impact on
other threads or pending jobs.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] fsync and stonewall fix
Jens Axboe [Thu, 23 Nov 2006 10:58:59 +0000 (11:58 +0100)]
[PATCH] fsync and stonewall fix

We should not terminate threads that haven't been started yet.
The fsync check was bad, it should look at td->error.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Don't segfault on missing argument data
Jens Axboe [Tue, 21 Nov 2006 12:15:10 +0000 (13:15 +0100)]
[PATCH] Don't segfault on missing argument data

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] nrfiles > 1 random fix
Jens Axboe [Wed, 15 Nov 2006 09:00:31 +0000 (10:00 +0100)]
[PATCH] nrfiles > 1 random fix

We should only generate a block within the specific file size, not
the total io size.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix signedness issue
Jens Axboe [Wed, 8 Nov 2006 11:49:21 +0000 (12:49 +0100)]
[PATCH] Fix signedness issue

Don't compare standard char to -1.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Improve skeleton example
Jens Axboe [Wed, 8 Nov 2006 08:58:59 +0000 (09:58 +0100)]
[PATCH] Improve skeleton example

Fill out stub functions and comments. Mark required vs not required
io_engine hooks.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Add skeleton external io engine
Jens Axboe [Tue, 7 Nov 2006 15:02:11 +0000 (16:02 +0100)]
[PATCH] Add skeleton external io engine

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Link in known io engines
Jens Axboe [Tue, 7 Nov 2006 14:20:59 +0000 (15:20 +0100)]
[PATCH] Link in known io engines

No real point in using dlopen() to find engines we know about. We still
support loading external modules, just give the name as the full path
to such a file.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Version 1.9 fio-1.9
Jens Axboe [Tue, 7 Nov 2006 13:33:15 +0000 (14:33 +0100)]
[PATCH] Version 1.9

A few stupid problems with 1.8, so release 1.9.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix options with no parameters
Jens Axboe [Tue, 7 Nov 2006 13:29:17 +0000 (14:29 +0100)]
[PATCH] Fix options with no parameters

Got broken yesterday, with the addition of the comma separated entries.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Remove rate_quit remnants
Jens Axboe [Tue, 7 Nov 2006 13:16:19 +0000 (14:16 +0100)]
[PATCH] Remove rate_quit remnants

The option was lost in the option unification, and it can be handled
equally well with 'exitall'.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Missing memset and free-on-error in io engines
Jens Axboe [Tue, 7 Nov 2006 13:02:48 +0000 (14:02 +0100)]
[PATCH] Missing memset and free-on-error in io engines

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Warn on writable strings
Jens Axboe [Tue, 7 Nov 2006 07:36:14 +0000 (08:36 +0100)]
[PATCH] Warn on writable strings

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Forgot to include 'M' as a unit postfix
Jens Axboe [Mon, 6 Nov 2006 13:51:58 +0000 (14:51 +0100)]
[PATCH] Forgot to include 'M' as a unit postfix

We skipped from K to G, forgetting 'M' in between...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Version 1.8 fio-1.8
Jens Axboe [Mon, 6 Nov 2006 13:21:49 +0000 (14:21 +0100)]
[PATCH] Version 1.8

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Print pretty bs values
Jens Axboe [Mon, 6 Nov 2006 13:03:03 +0000 (14:03 +0100)]
[PATCH] Print pretty bs values

Convert 1024 to 1K and so on.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Allow leading , in multi setting parameter
Jens Axboe [Mon, 6 Nov 2006 12:26:29 +0000 (13:26 +0100)]
[PATCH] Allow leading , in multi setting parameter

Allow only setting of the write end of the sizes by having an empty
text for the read side - example, use bs=,8k to just set the write
side and leave the read side with the default value.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Cleanup 2nd argument set parsing/setting
Jens Axboe [Mon, 6 Nov 2006 10:23:10 +0000 (11:23 +0100)]
[PATCH] Cleanup 2nd argument set parsing/setting

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] bs= and bsrange= takes both read and write sizes
Jens Axboe [Mon, 6 Nov 2006 10:08:21 +0000 (11:08 +0100)]
[PATCH] bs= and bsrange= takes both read and write sizes

Get rid of read_bs/write_bs and read_bsrange/write_bsrange. It was ugly
and too complicated. Instead support giving both values in a single bs=
or bsrange= seperated by a comma.

Example: bs=1k,4k will use 1k blocks for reads, 4k blocks for writes.
 bs=32k will use 32k blocks for both reads and writes.

Similar for bsrange=

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] HOWTO spelling fixes
Jens Axboe [Fri, 3 Nov 2006 14:51:45 +0000 (15:51 +0100)]
[PATCH] HOWTO spelling fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Fri, 3 Nov 2006 13:00:49 +0000 (14:00 +0100)]
Merge branch 'master' of ssh://router/data/git/fio

17 years ago[PATCH] Make fio build again on "crippled" platforms
Jens Axboe [Fri, 3 Nov 2006 13:00:45 +0000 (14:00 +0100)]
[PATCH] Make fio build again on "crippled" platforms

Some time in the future we want a proper configure setup and only
install the supported io engines, for now install limited versions
that just complain on initialization.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>