fio.git
13 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>
13 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

13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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

13 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>
13 years ago[PATCH] Kill old libaio/posixaio checks
Jens Axboe [Fri, 3 Nov 2006 12:48:49 +0000 (13:48 +0100)]
[PATCH] Kill old libaio/posixaio checks

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Add in-progress io rate
Jens Axboe [Fri, 3 Nov 2006 10:37:47 +0000 (11:37 +0100)]
[PATCH] Add in-progress io rate

Dumped along with percentage and eta.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Makefile update
Jens Axboe [Fri, 3 Nov 2006 10:01:01 +0000 (11:01 +0100)]
[PATCH] Makefile update

13 years ago[PATCH] Fix int vs long problems in parsing some options
Jens Axboe [Fri, 3 Nov 2006 07:17:09 +0000 (08:17 +0100)]
[PATCH] Fix int vs long problems in parsing some options

The type needs to match strictly, or we get into problems on big
endian architectures.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Add seperate read/write block size options
Jens Axboe [Fri, 3 Nov 2006 07:58:08 +0000 (08:58 +0100)]
[PATCH] Add seperate read/write block size options

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Fix random_map
Jens Axboe [Thu, 2 Nov 2006 19:10:33 +0000 (20:10 +0100)]
[PATCH] Fix random_map

If alignment was unlucky, we would underestimate the num_maps entry
by 1.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] fsx example
Jens Axboe [Thu, 2 Nov 2006 08:23:19 +0000 (09:23 +0100)]
[PATCH] fsx example

write_iolog was just to verify that it worked, remove that again.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] String copy limiting fixes
Jens Axboe [Thu, 2 Nov 2006 08:18:36 +0000 (09:18 +0100)]
[PATCH] String copy limiting fixes

Avoid overflows when we can.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Improve job/cmd line parsing error logging
Jens Axboe [Thu, 2 Nov 2006 08:12:40 +0000 (09:12 +0100)]
[PATCH] Improve job/cmd line parsing error logging

Drop jobs when needed and so on.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Add sample fsx job file
Jens Axboe [Thu, 2 Nov 2006 07:51:52 +0000 (08:51 +0100)]
[PATCH] Add sample fsx job file

It simulates what a "normal" fsx run does. fsx-linux can also do read/write
or mmap io, change ioengine= to mimic that instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Print an error when parsing a job option fails
Jens Axboe [Thu, 2 Nov 2006 07:45:53 +0000 (08:45 +0100)]
[PATCH] Print an error when parsing a job option fails

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Signedness warning
Jens Axboe [Wed, 1 Nov 2006 07:35:44 +0000 (08:35 +0100)]
[PATCH] Signedness warning

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Randomly fill output buffers
Jens Axboe [Mon, 30 Oct 2006 16:00:24 +0000 (17:00 +0100)]
[PATCH] Randomly fill output buffers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Add 'bs_unaligned' option
Jens Axboe [Mon, 30 Oct 2006 14:25:09 +0000 (15:25 +0100)]
[PATCH] Add 'bs_unaligned' option

If this is specified with 'bsrange', fio will use any byte size value
in the bs range for an io unit buffer length. Normally fio defaults to
using a multiple of the minimum bs size, as that is required for any
type of raw io.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Add 'norandommap' option
Jens Axboe [Mon, 30 Oct 2006 14:14:48 +0000 (15:14 +0100)]
[PATCH] Add 'norandommap' option

With this option given, fio will not keep track of what parts of a file
has been read/written or not. So for random io, we may read/write a block
a block more than once (or not at all). Thus this option conflicts with
doing write verification.

This is a first step for doing truly randomly sized blocks of io.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Improve job file parsing
Jens Axboe [Mon, 30 Oct 2006 12:36:52 +0000 (13:36 +0100)]
[PATCH] Improve job file parsing

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Potential overflow and unused variable
Jens Axboe [Mon, 30 Oct 2006 12:32:08 +0000 (13:32 +0100)]
[PATCH] Potential overflow and unused variable

'tmpbuf' was unused. Limit [name] entry to 255 chars to avoid
overflowing the buffer.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Move the other parameter fixup code into fixup_options()
Jens Axboe [Mon, 30 Oct 2006 11:35:18 +0000 (12:35 +0100)]
[PATCH] Move the other parameter fixup code into fixup_options()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Don't put_job() on def_thread
Jens Axboe [Mon, 30 Oct 2006 11:23:41 +0000 (12:23 +0100)]
[PATCH] Don't put_job() on def_thread

It's not accounted.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Typo: jobname is 'val', not 'opt'
Jens Axboe [Mon, 30 Oct 2006 11:21:25 +0000 (12:21 +0100)]
[PATCH] Typo: jobname is 'val', not 'opt'

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Add support for multiple jobs on the command line
Jens Axboe [Mon, 30 Oct 2006 08:03:13 +0000 (09:03 +0100)]
[PATCH] Add support for multiple jobs on the command line

Give --name the special meaning of starting a new job (and adding
the previous). Now the command line is just as powerful as the
job files.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Fix modification of const string
Jens Axboe [Fri, 27 Oct 2006 13:00:16 +0000 (15:00 +0200)]
[PATCH] Fix modification of const string

Copy 'ptr' to local storage first.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] FIO_OPT_RANGE breakage
Jens Axboe [Fri, 27 Oct 2006 12:36:26 +0000 (14:36 +0200)]
[PATCH] FIO_OPT_RANGE breakage

After terminating the first string, remember to reset the pointer to the
beginning of the string.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Options must be integer
Jens Axboe [Fri, 27 Oct 2006 12:27:39 +0000 (14:27 +0200)]
[PATCH] Options must be integer

Make all char options integers, to avoid having to introduce a
char parse type.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 years ago[PATCH] Add full command line parameter support
Jens Axboe [Fri, 27 Oct 2006 11:43:22 +0000 (13:43 +0200)]
[PATCH] Add full command line parameter support

You may now give full job options on the command line. Makes it easier
to script fio or for one-off runs, as you don't have to write a job file
and run that.

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