Jens Axboe [Tue, 13 Feb 2007 17:20:37 +0000 (18:20 +0100)]
[PATCH] Make the exit value meaningfull
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 13 Feb 2007 16:42:35 +0000 (17:42 +0100)]
[PATCH] Woops, left debug clear in there
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 13 Feb 2007 16:39:56 +0000 (17:39 +0100)]
[PATCH] Add fio_assert()
A job must not call assert(), as it wont exit and set thread
state properly.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 12 Feb 2007 19:18:42 +0000 (20:18 +0100)]
[PATCH] Fix buflen trimming
It's ok to trim to the minimum block size for RAWIO.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 12 Feb 2007 17:49:58 +0000 (18:49 +0100)]
[PATCH] Total io is the sum of READ and WRITE
Was broken for mixed read/write workloads.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 12 Feb 2007 04:13:23 +0000 (05:13 +0100)]
[PATCH] One more round of random map fixes
The last fixes made sure that we don't generate a block >= file size,
but for io_u's that contain multiple blocks, it could still happen.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sun, 11 Feb 2007 04:02:48 +0000 (05:02 +0100)]
[PATCH] Sign warning
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sun, 11 Feb 2007 03:44:02 +0000 (04:44 +0100)]
[PATCH] Network engine poll() paranoia
A little defensive programming never hurt anyone.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sun, 11 Feb 2007 03:07:57 +0000 (04:07 +0100)]
[PATCH] Document/comment fio.h
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sun, 11 Feb 2007 03:00:37 +0000 (04:00 +0100)]
[PATCH] Make ctrl-c work with network io and accept loop
We don't get SIGINT breaking accept(), so use poll() to poll
for incoming connects.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sun, 11 Feb 2007 00:01:57 +0000 (01:01 +0100)]
[PATCH] Move td_verror() into io_ops->queue() hook
Shows where the error occured, not where it got noticed.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 23:57:13 +0000 (00:57 +0100)]
[PATCH] Allow thread/group dump regardless of error state
Just because the thread ended in error, doesn't mean the
stats aren't interesting. So dump everything and make sure
the error and verror are visible.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 23:51:30 +0000 (00:51 +0100)]
[PATCH] Fix stack overflow
Observed an overflow of eta_sec[32], bump it to 128 bytes.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 23:49:30 +0000 (00:49 +0100)]
[PATCH] Separate bandwidth log and rate display
We used to dump status each second, but this got modified sometime in the past
to follow bw_avg_time. We don't need 250msec displays, so change it back to
use 1 second delays.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 23:19:51 +0000 (00:19 +0100)]
[PATCH] Pretty up stat output
Always convert numbers to a known base. We could have byte range values
or gigabyte range values, reading huge numbers can be difficult.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 20:36:40 +0000 (21:36 +0100)]
[PATCH] Kill redundant header files
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 19:02:28 +0000 (20:02 +0100)]
[PATCH] More random map fixes
Several optimizations and fixes:
- Add ->last_free_lookup as a cache for get_next_free_offset(). No point
in iterating known full blocks.
- Reduce number of random loops to 5 for random map lookups, fallback to
next free block instead of wasting cpu cycles. Was 50.
- get_next_free_block() needs to take file offset into account.
- Reverse order of retrieving buflen and offset, so we can trim
and mark properly.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 18:01:57 +0000 (19:01 +0100)]
[PATCH] Random map fix
mark_random_map() would give up too soon, causing an infinite loop
in the block allocation.
Reported by Randy Dunlap.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 18:01:07 +0000 (19:01 +0100)]
[PATCH] Size parse should use strtoll()
It's a 64-bit quantity, found out when the size= option quit too early
for large non-postfixed values.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 17:57:18 +0000 (18:57 +0100)]
[PATCH] File size fix on NULL io engines
Just set the file sizes to the size given, it's pretend anyway.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 13:59:22 +0000 (14:59 +0100)]
[PATCH] Catch and print if directory= doesn't exist
Currently we fail in an odd way, make it more explicit why we fail.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 13:49:02 +0000 (14:49 +0100)]
[PATCH] Make the libaio fsync fallback really work
This time it's tested :-)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 11:59:48 +0000 (12:59 +0100)]
[PATCH] libaio engine: fake work-around for sync issue
Needed to make the fsync() fallback work.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Sat, 10 Feb 2007 11:57:55 +0000 (12:57 +0100)]
[PATCH] Fix libaio engine SYNC
io_prep_fsync() isn't supported at all in Linux currently, so
fall back to fsync() if we get an -EINVAL return value.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Fri, 9 Feb 2007 08:31:05 +0000 (09:31 +0100)]
[PATCH] CFLAGS: -fstack-protector doesn't work on older compilers
Just remove it.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Fri, 9 Feb 2007 08:30:25 +0000 (09:30 +0100)]
[PATCH] Net engine typo
READ -> DDIR_READ
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Thu, 8 Feb 2007 19:59:31 +0000 (20:59 +0100)]
[PATCH] SG IO engine: reduce allocations and memory leaks
We currently do 3 allocations and frees in the queued getevents
handler, we can easily reduce that to 0 by statically allocating
the buffers at init time.
The cleanup handler didn't free any of the currently allocated
structures, fix that up.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Thu, 8 Feb 2007 19:29:41 +0000 (20:29 +0100)]
[PATCH] SG IO engine: remember to set io_u->file in init
It's now mandatory, since it supports multiple files now.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Thu, 8 Feb 2007 12:04:36 +0000 (13:04 +0100)]
[PATCH] SG io engine: better handling of multiple files
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Thu, 8 Feb 2007 11:59:02 +0000 (12:59 +0100)]
[PATCH] Network engine cleanups and comments
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 13:03:07 +0000 (14:03 +0100)]
[PATCH] Improve dependency checking on builds
From the similar fix for blktrace, from Vasily Tarasov <vtaras@openvz.org>.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 12:59:21 +0000 (13:59 +0100)]
[PATCH] Enable _FORTIFY_SOURCE and stack protector checking
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 12:58:53 +0000 (13:58 +0100)]
[PATCH] We should check system() return value
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 12:55:38 +0000 (13:55 +0100)]
[PATCH] Remove SIGSEGV handler
We don't catch segfaults anymore, so remove that bit from the signal handler.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 12:51:22 +0000 (13:51 +0100)]
[PATCH] aio example should use O_DIRECT IO
Otherwise it isn't async. Since fio defaults to buffered IO now, we need
to correct this example.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 12:14:57 +0000 (13:14 +0100)]
[PATCH] Don't create files for engines that don't need them
Introduce FIO_NULLIO as a way to control that from the io engine.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 10:30:37 +0000 (11:30 +0100)]
[PATCH] Misc fixes
- Change the hour/day eta display to be more clever.
- Style
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 08:54:40 +0000 (09:54 +0100)]
[PATCH] Network engine fixes
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 7 Feb 2007 08:35:29 +0000 (09:35 +0100)]
[PATCH] Network io engine updates
- Use recv/send
- Set MSG_MORE on send if we are going to transmit more data
- Cleanups
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 6 Feb 2007 19:17:21 +0000 (20:17 +0100)]
[PATCH] Document ->queue() in the skeleton engine
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 6 Feb 2007 19:15:38 +0000 (20:15 +0100)]
[PATCH] Support residual io counts from io engines
We need this for requeuing support, the network engine makes this
pretty apparent (it's not unusual to see short tranfers there).
Basically we add an xfer_buf and xfer_buflen member to the io_u,
and these are the fields that the io engine MUST use. That allows
fio to increment and reset these appropriately, and simply requeue
the io_u for service of the next part of it.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 6 Feb 2007 18:27:27 +0000 (19:27 +0100)]
[PATCH] Support for > 1 network connection
Now the net ioengine also supports the nrfiles option to open
multiple connections.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 6 Feb 2007 18:16:01 +0000 (19:16 +0100)]
[PATCH] Network engine updates
A few comments, pass down port short instead of buffer.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 6 Feb 2007 13:43:52 +0000 (14:43 +0100)]
[PATCH] Simple support for networked IO
Adds a new ioengine, net. Use with ioengine=net, it supports only strict
reading or writing (no mixed reads/writes) to/from a single host.
The filename given must contain the host and port to connect to (or
listen from).
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 6 Feb 2007 12:29:55 +0000 (13:29 +0100)]
[PATCH] Rename io engines
Typing fio-engine-foo is annoying, just rename them to their type. They
already reside in a private directory, no point in putting the fio-engine
prefix on the files.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 6 Feb 2007 12:25:33 +0000 (13:25 +0100)]
[PATCH] Fix buffer alignment on non-4kb archs
Retrieve page size through sysconf.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 5 Feb 2007 14:04:46 +0000 (15:04 +0100)]
[PATCH] Add 'description' option
Can help provide a textual description of a job, if it's submitted
to someone for run/review.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 5 Feb 2007 09:52:10 +0000 (10:52 +0100)]
[PATCH] Fix sg ioengine
We need to do the ->init() call after having opened the file,
otherwise sg doesn't know what file type it is dealing with.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 5 Feb 2007 09:47:48 +0000 (10:47 +0100)]
[PATCH] Fix double free in sg engine error path
We need to clear td->io_ops->data if we free the structure,
otherwise the ->cleanup() handler will try to free it again.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 24 Jan 2007 08:21:31 +0000 (09:21 +0100)]
[PATCH] Fix typo
WRITE -> DDIR_WRITE
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 17 Jan 2007 06:42:30 +0000 (17:42 +1100)]
[PATCH] Only generate global bandwidth log if write_bw_log set
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 17 Jan 2007 06:23:11 +0000 (17:23 +1100)]
[PATCH] Add support for writing aggregate bandwidth log
This is the same that is shown while fio is running, it can be useful
for graphing purposes as well.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jens Axboe [Thu, 11 Jan 2007 14:59:35 +0000 (15:59 +0100)]
Merge branch 'master' of ssh://router/data/git/fio
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>
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>
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>
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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jens Axboe [Wed, 10 Jan 2007 14:41:07 +0000 (15:41 +0100)]
Merge branch 'master' of ssh://git.kernel.dk/data/git/fio
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>