History log of /external/fio/fio.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e2c81040bf2be672f120c87b2045af16ff21c93a 01-May-2014 Daniel Gollub <daniel.gollub@gmail.com> Avoid double-declaration of ARRAY_SIZE

for external ioengines. ARRAY_SIZE is a very common
declaration - e.g. Ceph is using this as well.

Signed-off-by: Daniel Gollub <daniel.gollub@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
ef3c94b62e3f58cc23c3ad50450150c8474b4285 30-Apr-2014 Daniel Gollub <d.gollub@telekom.de> Rename time.h for third-party include of fio.h

External project might build external ioengines and need to
include there for fio.h. If a project set the include path
to the fio root source directory and the third-party source
holds an "time.h" as well things get complicated.

Signed-off-by: Daniel Gollub <d.gollub@telekom.de>
Cc: Daniel Gollub <daniel.gollub@t-online.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
3a35845f7756a8a86b420650bff41267192dce22 15-Apr-2014 Jens Axboe <axboe@fb.com> sg/binject: only restore file flags if they have been set

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
088b17c58d11bab0aa17be2fb2797632e1518281 14-Apr-2014 Jens Axboe <axboe@fb.com> Fix is_power_of_2() for longs

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
4a851614cfdbebddeb78de04ac89a39d26f25459 14-Apr-2014 Jens Axboe <axboe@fb.com> Error check fcntl() calls

Add a helper to mark an fd as non-blocking, so we can check
and complain in one place.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
21beb609b6f1ce2b96209857d05fd03fb239b925 14-Apr-2014 Jens Axboe <axboe@fb.com> Make td_verror() use an unsigned type

Get rid of warnings stating the input can't be negative.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
046395d7ab181288d14737c1d0041e98328f473f 09-Apr-2014 Jens Axboe <axboe@fb.com> Add exit_on_io_done option to the CPU IO engine

The CPU IO engine is most often used to saturate the system,
while running an IO load on it. As such, it's useful to have
CPU engine threads exit automatically, when IO has completed.
Add exit_on_io_done as a CPU IO engine option for that purpose.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
3d434057fd4c20c2b1216d9696c4fed9f7d8c4dd 02-Apr-2014 Jens Axboe <axboe@fb.com> Add 'f' (Finishing) flag to status output

Use this for finalizing logs when a thread is done, since
that can take a long time.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
bedc9dc24223bb33be4120f4a57718bc54888ca5 17-Mar-2014 Jens Axboe <axboe@fb.com> Add support for file appends

Add option file_append (bool). If set, fio will append to a file
instead of operate within the size of it. This is similar to
setting offset= to the size of each file.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
8edd973d57a311d4c590d7385796bbdf111ed04c 01-Mar-2014 Jens Axboe <axboe@fb.com> Add runstate swap helpers

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
c2acfbac7e9eb8ac5407ac024c0fd000614c77e2 28-Feb-2014 Jens Axboe <axboe@fb.com> Add support for cpus_allowed_policy

Two policies are supported:

shared cpumask is shared between all threads. This is the original
behavior.

split cpumask is split between threads, each thread gets a unique
CPU.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
6bb58215842760895071d9f331da4dc2dfc16f30 21-Feb-2014 Jens Axboe <axboe@fb.com> Improve latency_target runs

Reset the stats when we have found our target, and then do
another latency_window run with those settings so that the
final results reflect the probed values.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
2b8c71b0f046434d22dffd15308a326bca0c8d16 20-Feb-2014 Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> fio: allow to combine terse output with any selected output type

This patch adds the option --append-terse to be able to request a
combination of any given selected output format AND terse output based
on the same data.

This will help all users that want to parse the terse data for further
use, but need to look into the logs every now and then which then should
be readable.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
23ed19b0e10749dca2389511f78d89db886c064a 20-Feb-2014 Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> fio: provide an option for a startdelay range

This patch allows the specification of start delay as range. With a
range each thread will chose an individual startdelay out of the range.

That solves an issue of startdelay being the same for each numjob clone
and that way spreads all kind of activities e.g. that all clones with
mixed r/w jobs switch r/w at the same time. Also all kind of other
"thundering herd" issues can be softened by some time spread due to this
option.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
8271963e39a0a6bfee4d848e1fae4f4e27685204 12-Feb-2014 Jens Axboe <axboe@fb.com> clang: fix warnings with clang build

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/fio.h
0b783341927056e62ca2178c2ca74cca2c7b0100 24-Jan-2014 Jens Axboe <axboe@kernel.dk> engine: IPv6 net engine updates

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
3e260a46ea9a8de224c3d0a29a608da3440f284a 09-Dec-2013 Jens Axboe <axboe@kernel.dk> Add options to have fio latency profile a device

This adds three new options:

- latency_target. This defines a specific latency target, in usec.
- latency_window. This defines the period over which fio samples.
- latency_percentile. This defines the percentage of IOs that must
meet the criteria specified by latency_target/latency_window.

With these options set, fio will run the described workload and
vary the queue depth between 1 and iodepth= to find the best
performing spot that meets the criteria specified by the three
options.

A sample job file is also added to demonstrate how to use this.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
292cc475b1f26ae4c94c3028fc33dee96b22655b 27-Nov-2013 Jens Axboe <axboe@kernel.dk> init: escape description option string

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
d95b34a61ec3fc305fe53c0132bfe82e2e5fcc04 21-Nov-2013 Jens Axboe <axboe@kernel.dk> blktrace: add support for non-native endian format

The blktrace format is stored in the native endianness of
the machine it is run on. So to reply traces on a machine
with a different endianness, we need to swap the trace
fields. Detect and do this automatically.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
f9633d729f0d2067c3f79b5e82e7129de1e650cd 06-Sep-2013 Jens Axboe <axboe@kernel.dk> Fix problem with --showcmd and callbacks that verify

David reports:

I'm using "fio --showcmd file.job" to convert a script to plain
commandline arguments and this fails if the directory specified in job
file does not exist. While this has to be an error if the job is being
executed, it should not be in context of --showcmd.

To reproduce:
$ cat job.fio
[global]
directory=/x

$ fio --showcmd job.fio
fio: /x is not a directory
fio: failed parsing directory=/x
fio: job global dropped

Expected output:
fio --directory=/x

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
d94722713ebd7bbdbf8b284b7563f2dd17964e24 25-Jul-2013 Jens Axboe <axboe@kernel.dk> Add support for randomness of any IO direction

sequential_random used to be applied to all of the IO
directions, with no possibility of having different settings
for reads, writes, and trims. Now it supports setting each of
them individually.

By default, if you do:

sequential_random=50

it will still apply to all three. If you do:

sequential_random=10,90,80

you would get reads 10% random, writes 90% random, and trims
80% random.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
2ae0b204743d6b4048c6fffd46c6280a70f2ecd1 28-May-2013 Jens Axboe <axboe@kernel.dk> Replace list based free/busy/requeue list with FIFO + ring

Cache friendliness of the list is pretty low. This has
provably lower overhead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
211c9b8948b43ed47aedf1227e0444a58db015e4 26-Apr-2013 Jens Axboe <axboe@kernel.dk> Add support for modifying the randomness of a workload

Fio supports random or sequential IO, or random IO with a number of
sequential IOs in between. The percentage_random options allows
more fine grained control over this. It defaults to 100, which would
make any random workload still purely random. If set below 100,
there will be some percentage of sequential IOs. This happens randomly,
but at the specified percentages.

The percentage_sequential option is just the complement of that, it
is guaranteed that:

percentage_sequential + percentage_random == 100%

The later setting has priority, each will adjust the other.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
8d916c942bb088204ab5c0438c297903c9160698 25-Apr-2013 Jens Axboe <axboe@kernel.dk> Catch the case where size= is less than the minimum block size

Fio will currently just attempt to start and immediately exit,
with no clue as to what went wrong. The behaviour is correct
in the sense that there's nothing to output, but it can be a
little confusing.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
06464907159baf7a1eeac654a023743e33f28d86 25-Apr-2013 Jens Axboe <axboe@kernel.dk> Add support for other ways of triggering intermediate result outputs

Fio has support for using the USR1 signal to dump the current
results while continuing to run. Add a --status-interval parameter
to allow this to be configured to automatically happen every X
seconds.

There's also support for signaling fio through the file system. To
do that, simply touch /tmp/fio-dump-status. When fio sees this file,
it will unlink and dump the current results.

A small tweak is needed for the file approach to work in Windows.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
59358c8ef39efea4a2ab141d85b2deebf5cf34fd 17-Apr-2013 Jens Axboe <axboe@kernel.dk> Get rid of mixed code/data sections

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
2db1e181e73f16687e68e28dc75dd8cc8ccab08c 17-Apr-2013 Jens Axboe <axboe@kernel.dk> Kil unneeded forward declaration

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
7b4203d7544db58920408f65977ebd00aaec6506 17-Apr-2013 Jens Axboe <axboe@kernel.dk> Move unused and other attributes to the compiler section

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
3c978125e2bc883a9e69f0bae0122f936f995f17 17-Apr-2013 Jens Axboe <axboe@kernel.dk> Split out td error handling code

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
b4ea84daaf58566fe21e50d6540a8bc287d91863 11-Apr-2013 Jens Axboe <axboe@kernel.dk> Fix a few 4.8 extra anal warnings

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
8f91cc3f7835cdca84944d456e1da77d44a7c354 11-Apr-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'gfio' into gfio-int

Conflicts:
backend.c
fio.c
fio.h
init.c
libfio.c
options.c
thread_options.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
0a428b23d4201c31bde25775ecb5f72801f431d9 11-Apr-2013 Jens Axboe <axboe@kernel.dk> to_kmg() -> fio_uint_to_kmg()

It's being exported.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
3a5f6bde1d14faa9e60cde1c8b45c101bc462f34 11-Apr-2013 Jens Axboe <axboe@kernel.dk> Make nr_thread/nr_process private to backend

No need export that knowledge. Merge from gfio.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
a569b45f68ebaa93fbbaca424dc827f4bbc5d655 11-Apr-2013 Jens Axboe <axboe@kernel.dk> Move init code to libfio

More merge from gfio.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
9a3f110001f68968def40797bed5632c2406cdfa 28-Mar-2012 Jens Axboe <axboe@kernel.dk> Make lockmem a per job option

We need to get rid of per job options that fiddle with global
state. It's confusing, and it breaks remote option handling.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

Conflicts:
backend.c
fio.h
init.c
options.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
7fb6d4530b2018064f8011f7ff9e4f673002f615 10-Apr-2013 Jens Axboe <axboe@kernel.dk> Move rbtree to lib/

That's where it was moved in gfio, one further step towards unifying
the branches.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
8062f52754eb548cfd1de892a983fd5f0e63b347 10-Apr-2013 Jens Axboe <axboe@kernel.dk> Add thread_options.h

The options are always problematic to merge between the master
repo and gfio. So import this bit from gfio.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
22f80458a520d0c5371c64bf91d24cdd21dff825 09-Apr-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
eta.c
fio.h
init.c
options.c
stat.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
ad705bcb7e79a7cdb9891db17b4c40b13b6c30c3 09-Apr-2013 Steven Noonan <steven@uplinklabs.net> implement 'unit_base' option to select between KB and Kbit et. al.

With network testing, it's often desirable to measure in terms of
kilobits/megabits rather than kilobytes/megabytes. This adds an option named
'unit_base' which can be set to either '1' or '8', where '1' means represent in
terms of bits and '8' means to represent rate in terms of bytes.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
73798eb297e4d4afa2f67d72eb2a3618592a1c4d 06-Apr-2013 Steven Noonan <steven@uplinklabs.net> num2str: add arguments to represent values in terms of bytes/bits

This allows for representing I/O rates in terms of e.g. megabits (Mb) versus
megabytes (MB).

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
62232d0618e3f5aa4805b4be34e872895ba1beb2 05-Apr-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile

Signed-off-by: Jens Axboe <axboe@kernel.dk>
de98bd30b02bd89a78059d162b2c8426e889703d 05-Apr-2013 Jens Axboe <axboe@kernel.dk> Add filename_format option

Allows the user to set how fio should generate the file names
used by jobs. The default is $jobname.$jobnumber.$filenumber
as it always has been, but now it's configurable as well. See
the included documentation.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
c97f1ad6d2a2fb4fe9f3b15e40158aac21e5699e 28-Mar-2013 Jens Axboe <axboe@kernel.dk> Fix usr/sys/ctx/majf/minf for -USR1 usage

Let the threads themselves update their stats.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
74f4b020b3c8053ff319c3da900a5cf07e51c8eb 23-Mar-2013 Jens Axboe <axboe@kernel.dk> Consider the maximum block size difference the minimum for loop exit

For mixed block sizes, we can hit the condition where we decided
to stop even if we could have done a small block size. Don't do
another loop for those cases.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
d7213923067aa49922962a469a691c3ec951064d 21-Mar-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
fio.h
options.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
28b9b51a346dede84c8baee6ed96a328e97d1796 21-Mar-2013 Jens Axboe <axboe@kernel.dk> Kill now unused lockfile_batch variable

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
d7df1d133b0c3daad4ae4c731e0dae7b0181fd62 21-Mar-2013 Jens Axboe <axboe@kernel.dk> Rework lockfile= file lock handling

Get rid of the hand rolled rw semaphores, just use pthread
rwlocks instead. Kill the batching too, it was broken by
default, so nobody could have been using it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
bdb6d20ac3e6ba85d7757c7f6e5fa04123d4870d 19-Mar-2013 Jens Axboe <axboe@kernel.dk> A few ULL -> uint64_t conversions

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
8ea39c32d29428b17bfe9c806fc33f0c8adfe118 04-Mar-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
init.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
e382e661f6a67a24d8042b9e4b8f812b7126bdc4 22-Feb-2013 Jens Axboe <axboe@kernel.dk> Add --eta-newline option

For certain situations, it's handy to force a new line in
the ETA output. It allows you to easily track what
happened, without having to do detailed logging.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
435d195a9da120c5a618129cdb73418f4748c20a 06-Feb-2013 Vincent Kang Fu <VFu@fusionio.com> Handle percentile lists with higher precision that 2 digits

We cap the output at %2.2f right now, that's not always enough.
Make the parser check and store the precision required to
output the list correctly.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
90b7a96d9573a14f20470af2aa0dd4e60611a477 04-Feb-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
fio.h
parse.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fd112d34a2cfdc2d9efcd394e38b6d87b357c23d 02-Feb-2013 Vincent Kang Fu <VFu@fusionio.com> Fix percentile_list option

Commit 802ad4a8 broke the parsing of the percentile list,
by neglecting to change the parser type fo a fio_fp64_t.

Also get rid of the def_percentile_list, just set the
default percentile list as the option default.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
95820b6e6c92025df8d89c0bf39b174e53137c41 31-Jan-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
client.c
configure
fio.c
fio.h
server.c
server.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
98ffb8f3ecebed9984d1744f142eb8be10c14dbd 30-Jan-2013 Ken Raeburn <raeburn@permabit.com> Fix bugs in [v]snprintf usage

When calling snprintf, supply the full buffer size instead of
one byte less.

When using the returned length from vsnprintf for logging, don't write
more than the actual buffer size (minus one for the trailing \0), in
case the formatted string was truncated.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
771e58befea806d2d881953050c4e65329eee382 30-Jan-2013 Jens Axboe <axboe@kernel.dk> Add unified_rw_reporting option

If this is set, then fio will sum and display just a single set
of statistics for any IO type. By default, fio accounts and reports
each data direction separately.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
135be493d843d4cae2966a35cbd22a3058ec8e4b 29-Jan-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
configure
options.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2c24c93850cc4fa2dfe6b521231a69d6c116bba4 26-Jan-2013 Jens Axboe <axboe@kernel.dk> Always fsync if asked to

Currently we don't fsync() is direct IO is issued. But if the
user asked for fsync(), he should get an fsync. So remove this
restriction.

Reported-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
4700b23465687c7d3de7820341fa96e506e967b2 24-Jan-2013 Jens Axboe <axboe@kernel.dk> configure: solaris and windowsaio fixups

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
836fcc0fceb233ebcc41ee63b4ea5cae20b678a4 24-Jan-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.c
fio.h
ioengine.h
options.c
os/os-linux.h
server.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
aa83321fca5bb46d593d19d3863f511f80c01639 23-Jan-2013 Jens Axboe <axboe@kernel.dk> Fix 32-bit compile warning in should_check_rate()

Introduced with the change from unsigned long -> uint64_T

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
44cbc6daaae3674ea5d0a113b66596ca24f372e0 21-Jan-2013 Jens Axboe <axboe@kernel.dk> verify: add new experimental mode that requires no meta data

Should work fine, but we need to account and track trims to know
which blocks NOT to verify (or verify as zero).

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
1ae83d45ed853cd73b95b89ae14cacac5b97187e 12-Jan-2013 Jens Axboe <axboe@kernel.dk> Pre-load and sort random blocks for pure read verify workloads

If fio is run with a write phase before a read phase and the
IO type is random, the end read verify phase will get sorted
blocks to read back. But if fio is asked to verify something
that was previously randomly written, it will generate the
same random offsets in random order and verify those. This is
usually much slower than a sorted read back.

So add a verifysort_nr option that allows the user to specify
a number of random offsets to pre-generate and sort, before
reading them and verifying the contents. This greatly speeds
up pure read verify workloads.

Default to 1024, and put a max of 64K entries on the option.
We do a merge list sort on the entries, so we don't want a
huge amount of backlog.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
67bf982340d95ca98098ea050b54b4c7adb116c0 10-Jan-2013 Jens Axboe <axboe@kernel.dk> Add configure script

Get rid of all the fragile guessing and checking of features,
and roll a configure script instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
2a988d8bcb447eb098fc382835cc507587c6ba66 11-Dec-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
fio.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fa80feae51331fb170e784459fa1359d7ec3a963 09-Dec-2012 Jens Axboe <axboe@kernel.dk> Add check for invariant TSC on x86 and use TSC is default clock if reliable

TSC is by far the fastest clock we can use. Check the CPUID bits for
whether it is both constant rate AND synced across cores. If it is,
we can use it as our default clock source.

Fio will default to this clock source on x86 if no other clock source
is specifically given with clocksource= in the job file.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
d24945f0f0538bea41704cbd9b593b350ca9bb0d 04-Dec-2012 Jens Axboe <axboe@kernel.dk> Name the various random offsets we use

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
49758e11f3658686ccd1c61724a5eba142f3ee4f 03-Dec-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
fio.h
io_u.c
ioengine.h
memory.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
36d80bc7c7f7fbc2612941b7dd7ceaf645798c7f 30-Nov-2012 Jens Axboe <axboe@kernel.dk> Wire up SIGUSR2 to kill blocking threads

Get rid of io engine ops SIGTERM flag, it didn't really
work.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
d72be5454c8c5378f16804ff9b8d1afe8729a380 30-Nov-2012 Jens Axboe <axboe@kernel.dk> Cache layout improvements

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
8055e41d0ecc54770a2653427532b3e2c5fabdad 26-Nov-2012 Jens Axboe <axboe@kernel.dk> Add LFSR generator

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
88df6e27928122b895ce51e3a06a6944e328e92e 22-Nov-2012 Jens Axboe <axboe@kernel.dk> Kill now unused bitmap defines from legacy code

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
1e5324e723116a5faf9da686993cc79c14d62d4b 14-Nov-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.h
options.c
parse.c
parse.h
server.c
server.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
108fea772db5f1dd91e2fb67737e3e0d36827b76 14-Nov-2012 Jens Axboe <axboe@kernel.dk> client/server: fixup "All clients" reporting

We didn't properly account for no group_reporting and multiple
jobs on multiple connections.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
4373e97a88b21b50ca234d6c92c58f494875e43b 13-Nov-2012 Jens Axboe <axboe@kernel.dk> Fix wrong return type on td_error_type()

It returns enum error_type_bit, not error_type.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
9c6f63166eaecc13e4b2ca1d80cc1b5e6185fd43 07-Nov-2012 Jens Axboe <axboe@kernel.dk> Make the zipf/pareto state per file

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
925fee33e47f7eb755ee893e87f0de2bd405a8cc 06-Nov-2012 Jens Axboe <axboe@kernel.dk> Add pareto distribution randomizer

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
e25839d4cb5fefcb5ffce76128a4faedb177e7af 06-Nov-2012 Jens Axboe <axboe@kernel.dk> Add sample zipf distribution randomizer

Instead of just doing purely random IO where each block is
touched exactly (or close to, depending on random map) once,
add a zipf distribution scheme where a selectable theta
defines the spread and frequency of blocks read/written.

Committing this so I don't lose it. Needs a few changes,
for instance we need to hash the zipf output so that
the spread doesn't always just favor the lower LBA range.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
155015351132ad00e2e21cb63f52fee91e56e92a 24-Oct-2012 Jens Axboe <axboe@kernel.dk> Add max_latency option

If set, fio will exit if it sees a total IO latency that exceeds
this value.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
d0b937ed8841484c2d651919943e8e4c70dfd460 20-Oct-2012 Yufei Ren <renyufei83@gmail.com> Fine-grained job level numa control

Two new options, numa_cpu_nodes and numa_mem_policy, are created
for a fine-grained job level numa control. Please refer HOWTO and
README for detailed description.
A example job, examples/numa, is added as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
e65a950ab73d7d91f267ad7f7b084d94e266fcb0 24-Sep-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
backend.c
fio.h
io_u.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
d79db1222039e906dd49ae290daa59701f4e2385 24-Sep-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.h
init.c
io_ddir.h
options.c
server.h
stat.c
stat.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
8b28bd41375930664a0ff9ff9b101a88ac416ac5 23-Sep-2012 Dmitry Monakhov <dmonakhov@openvz.org> backend: Add configurable non fatal error list

Sometimes it is reasonable to perform test nearly system limits where
errors are possible and expected, in that case one may provide non
fatal error list which will be ignored during execution.
This patch add two options:
ignore_error: List of non fatal error
error_dump: Whenever ignored list should be dumped to log.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
f3afa57e36550288340f1b6c694f354ae72654b9 17-Sep-2012 Jens Axboe <axboe@kernel.dk> Add --output-format command line option

Right now we have normal, terse, and json output. Lets add a parameter
that controls how to output results, instead of having options for
both terse and json outputs. If we are going to add a 4th output
type in the future, it's only going to get more messy.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
6eaf09d6e9ca1f8accb057cdb18620b7e53ae33f 14-Sep-2012 Shaohua Li <shli@fusionio.com> Add support for trim as a workload type

This only works on Linux so far, and it's always sync given what
the interface to the kernel looks like. Also restricted to pure
block devices.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
25460cf6350fb90b8a7943bb649a51d81bac13a4 02-May-2012 Jens Axboe <axboe@kernel.dk> Add create_only option

If this option is set, then fio will only run the preparation
phase of a job. This means it will create all the files it
needs, but exit after that.

Suggested-by: Georg Schönberger <gschoenberger@thomas-krenn.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
61b29c20eb4b1d374636d5325fb56c0fa9a574ad 05-Apr-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
fio.c
fio.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
7078106dbbc524b6a3b2c39ddd04a9f676b10e53 04-Apr-2012 Bruce Cran <bruce@cran.org.uk> Fix address truncation on Windows

Avoid having PAGE_ALIGN truncate addresses by using a pointer-sized
variable for the page size and mask.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
b0df7176176935b4d39fd196ad35f046bbe10333 02-Apr-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio
a5e371a61c9e37a2389f7473d65e35b29dec1ccd 02-Apr-2012 Jens Axboe <axboe@kernel.dk> Add indication of whether a job got killed

We have 'X' for exited with error, add 'K' for killed by
signal as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
28727df79348d4ebbd8fd4b0dd89bbca035f68d0 29-Mar-2012 Jens Axboe <axboe@kernel.dk> options: move ioprio/ioprio_class into thread_options space

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
1b79a070d9307ad57cea5922292241bd3851a039 28-Mar-2012 Jens Axboe <axboe@kernel.dk> Make lockmem a per job option

We need to get rid of per job options that fiddle with global
state. It's confusing, and it breaks remote option handling.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
83ea422a62b8a42b14c362db61c2e7bf53862e80 28-Mar-2012 Jens Axboe <axboe@kernel.dk> Start the process of making options more gfio friendly

We either need to eliminate the option callbacks, or ensure that
they don't have side effects outside of touching td->o. We will
need to use &td->o as the data passed in for the callbacks, not
the full td.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
2bb3f0a7e00d3d62943b0bcc8119ab81c157c349 28-Mar-2012 Jens Axboe <axboe@kernel.dk> backend: ensure that server side releases/frees shm segment on exit

We were leaking one for every job run.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
057754389863aa18cbf36b1f2a556a422ea2f4b5 21-Mar-2012 Jens Axboe <axboe@kernel.dk> Move rbtree into lib/

And make ARRAY_SIZE() generally available, also outside gfio.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
812409e9486a37ba2f51e6e23c97e6ae8e26ff9a 19-Mar-2012 Jens Axboe <axboe@kernel.dk> backend: privatize nr_thread/nr_process

We need to start moving init items out of add_job(), to allow
for updating of job options. The number of threads and processes
can be calculated before running jobs, so move them there.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
99d633af3611958ea6217f270677d0a657e4dddc 15-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: add bs display

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
214ac7e009897f8f82ab9e21aff9bc86d33bb470 15-Mar-2012 Dan Ehrenberg <dehrenberg@google.com> New offset_increment option

This patch adds a new option to fio job files. It is described
in the HOWTO as follows:

offset_increment=int If this is provided, then the real offset becomes
the offset + offset_increment * thread_number, where the
thread number is a counter that starts at 0 and is incremented
for each job. This option is useful if there are several jobs
which are intended to operate on a file in parallel in disjoint
segments, with even spacing between the starting points.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
2f122b135b7319ff8dd04dadf31ff28b301051a3 15-Mar-2012 Jens Axboe <axboe@kernel.dk> Add thread number ID to appropriate network commands

The client doesn't necessarily have a 1:1 mapping between jobs
and its internal job representation, so allow it to tell the
various jobs apart.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
46bcd498f7b3fb55f7f048bf299f36bd8c8f7db1 14-Mar-2012 Jens Axboe <axboe@kernel.dk> client/server: pass type of client to the backend

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
f97a43a191f72ce071fe1140a2888dd5298c9aaa 09-Mar-2012 Jens Axboe <axboe@kernel.dk> Add buffer_compress_chunk option

Instead of doing bs/2 of incompressible and zeroed data for a 50%
compression setting, use the smaller chunk size specified by
this option.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
ec41265e81c70d8573d1359e27876c37c30c7d9d 08-Mar-2012 Jens Axboe <axboe@kernel.dk> Abstract out the thread_options structure

We need to prepare to have an on-disk/net version of the same.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
9c42684e32325da26e862280388798343c5f1305 02-Mar-2012 Jens Axboe <axboe@kernel.dk> Add buffer_compress_percentage

The option is pending testing, so not documented yet.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
0420ba6a85617cb02e196ac92e519191dafc6c52 29-Feb-2012 Jens Axboe <axboe@kernel.dk> Various GUI updates

- Add File menu, move job file to File -> Open
- Kill Quit button, move to File -> Quit
- Move client setup and load closer to what we want
- Use c99 style for client ops

Various little changes.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
e61ca217bc489cdacebc5302583128c4d73dd4e7 24-Feb-2012 Jens Axboe <axboe@kernel.dk> Move init code info libfio.c

Kill off endian_check.{c,h} and fio_initialization.{c,h}

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
dd366728eb503e6344215ae6ec153c7ab6eafd9b 24-Feb-2012 Stephen M. Cameron <stephenmcameron@gmail.com> fio: make client operations pluggable

Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
9e684a4976b7934f5ce011ea281dfef3352e5738 20-Feb-2012 Dan Ehrenberg <dehrenberg@google.com> Token-based flow control

This patch allows two fio jobs to be kept to a certain
proportion of each other using token-based flow control.
There are three new parameters: flow, flow_watermark, and
flow_sleep, documented in the fio options. An example of an fio
job using these parameters is below:

[global]
norandommap
thread
time_based
runtime=30
direct=1
ioengine=libaio
iodepth=256
size=100g
bs=8k
filename=/tmp/testfile
flow_watermark=100
flow_sleep=1000

[job2]
numjobs=1
rw=write
flow=-8

[job1]
numjobs=1
rw=randread
flow=1

The motivating application of this patch was to allow random reads
and sequential writes at a particular given proportion.

This initial version is only correct when run with 'thread', as shared
state is represented with a global variable. It also only allows two
jobs to be synchronized properly. A future version might do more, but
no more functionality was needed for my application.

Tested: Ran a few fio jobs with this flow control, observing
the proportion of IOPS to match what was intended by the job file.
Varied the flow_watermark and flow_sleep parameters and observed
the effect on throughput.

Signed-off-by: Dan Ehrenberg <dehrenberg@google.com>

Modified by me to support flow_id, so an arbitrary number of flows can
be used. This means it no longer relies on global context, so it can be
used from a thread or process alike. Also added man page documentation.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
a73468166ef0a85d489dcdc291229a3d9ad9cfc1 09-Feb-2012 Jens Axboe <axboe@kernel.dk> Add gettime.h

time.h is a mix of gettime.c and time.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
2e1df07d1ea30e0304cc65370f3ed161a6f22cd4 09-Feb-2012 Jens Axboe <axboe@kernel.dk> Move some code around to better separate front/backend

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
422f9e4b57549ce1e163b9c1de71932d9ea24de4 31-Jan-2012 Ryan Marchand <rmarchan@amazon.com> Fix thread hang when using async engines (libaio,etc.) when too low of a iops rate is specified.

Rate limiting logic was using thread_data->cur_depth to decide the
min_evts number to ask for during its "flush" prior to sleeping.
td->cur_depth, however, does not properly track in-flight IOs submitted
to the async engines. Added field to thread_data structure and use
that, instead, to track IOs currently in flight.

Signed-off-by: Ryan Marchand <rmarchan@amazon.com>
Signed-off-by: Steven Noonan <snoonan@amazon.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
ed33585509a97c4a65e46967cb49419b6a4f8870 31-Jan-2012 Steven Noonan <snoonan@amazon.com> implement zoned random I/O testing support

This fixes the limitation that prevents fio from doing random I/O with zones
enabled.

This also adds a 'zonerange' configuration option which may be too ambiguous
and is subject to potential renaming in the future.

When doing random I/O, it is beneficial to be able to specify how large the
addressible space is in the zone, while specifying a different metric for
how much data to read from that zone (i.e., how many samples to take from each
zone). When 'zonerange' is not specified, it defaults to be equal to the
'zonesize' option. When both are specified, 'zonerange' indicates the
size of the zone while 'zonesize' indicates the quantity of data to read from
each zone.

Signed-off-by: Steven Noonan <snoonan@amazon.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
b8bc8cba9512c6dce4891fda86de675053605ca2 01-Dec-2011 Jens Axboe <axboe@kernel.dk> Add log_avg_msec option

By default, fio will note an entry in the bw/iops/lat logs for every
IO that is completed. This quickly eats up a lot of disk space
for long running jobs. By setting this option to eg 1000, fio will
average the results logged over 1 second instead. This reduces the
resolution of the log, but makes it more manageable.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
068420271828b3b2426ffc3ccf64404cb9d340fb 17-Nov-2011 Steven Lang <tirea@google.com> Expand continue_on_error to select which type of error to allow

This expands the continue_on_error option to take a string specifying
what type of error to continue on, breaking out errors into read,
write, and verify. (Sync, trim, and anything else not specifically a
read are considered write operations for the sake of error
continuation.)

Backwards compatibility is retained by allowing =0 and =1 values to
specify none and all, respectively.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
de890a1e48d40238dac69f302708dde8719de240 09-Nov-2011 Steven Lang <tirea@google.com> Private parameters for ioengines

Here is the polished version of the engine private options patch. As
discussed, the global section only ever tracks the private options for
the globally defined ioengine. For command line parameters, the
ioengine must be selected before any private options are used. (IE
--ioengine=libaio --userspace_reap will work, but --userspace_reap
--ioengine=libaio will not.)

The userspace_reap option from libaio has been moved over to this new
option method, usage should be identical to before.
The net ioengine has been modified to use parameters, with hostname,
port, protocol and listen defined as ioengine private parameters. The
old style of hostname=host,port,protocol no longer works, so usage
will need to be updated. (It will spit out an error that should be
clear enough that it changed if this is tried.) Also, with the new
way for specifying parameters, the net IO engine now allows data to
flow in either direction on TCP connections, regardless of which end
initiates the connection.

There's also a new command line argument --enghelp which can be used
to get help on ioengine private parameters, similar to --cmdhelp.
With no argument, it lists all built-in ioengine. The argument is an
ioengine name (Or path to .so) and optionally a comma followed by a
command name, which behaves identically to --cmdhelp.

For ioengine authorship, if options are supplied, both the options
structure and the size of the storage needed must be supplied, and the
storage must be large enough to hold a pointer to struct thread_data;
that is because the options callback doesn't explicitly have a pointer
to the thread data (Normally it relies on the fact that the options
struct is the start of the thread data), so the offset 0 of the struct
must point to the thread data, and is filled in automatically. (This
also neatly provides a guarantee that offset 0 is reserved in the
options data, so it can be safely used as a test of undefined.)

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
1b8dbf256b974fac2864052931f3041ff3ead157 09-Nov-2011 Steven Lang <tirea@google.com> Improve accuracy of rate= option

I noticed that the rate= option is not terribly precise in some cases.
It gets worse the higher the selected rate. For example:
$ fio -name=load -size=100g -ioengine=null -runtime=10 -rate=30m
One would expect that to read 300MB (307200KB) at close to 30MB/s
(30720KB/s). However it writes 315024KB at 31499KB/s. Further
experimentation shows that even higher rates can show bigger
discrepancies. At the extreme end...
$ fio -name=load -size=100g -ioengine=null -runtime=10 -rate=500m
One would expect this to write 5000MB at a rate of 500MB/s
(512000KB/s). However it writes close to double that (9536.8MB) at a
rate of over 953MB/s. At a rate of 1GB/s and higher, the rate
limiting is effectively ignored.

This patch improves the accuracy of the rate= option across the whole
range of rates, at the cost of being very slightly more
computationally expensive.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
11e950bd785d9f03b7d35a8ee4b4704256217504 16-Oct-2011 Jens Axboe <axboe@kernel.dk> client/server: send back nr_jobs and error exit code

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
5e726d0a29b815f526f835e44afe3225522c6c20 14-Oct-2011 Jens Axboe <axboe@kernel.dk> Add fio version to terse output

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
cca84643cc10cd72b0b453ff92ccb8643ba51493 07-Oct-2011 Jens Axboe <axboe@kernel.dk> Pass arch/os in probe

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
89cf1480594858ad4e02499834c04fe48ff0a89d 07-Oct-2011 Jens Axboe <axboe@kernel.dk> Split version into separate include fio

Include it from the Windows version file, at least we only have
to update the version in two places now instead of three.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
178cde9ff403da53428c5962b8600e47b4580d80 05-Oct-2011 Jens Axboe <axboe@kernel.dk> Fio 1.99.1

Lots of little fixes, tag version 1.99.1. Also bump protocol version,
due to the IEEE 754 packing some of the command payloads were
changed.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
c8eeb9df1f52f28567a5937e141decc6a26ec30b 05-Oct-2011 Jens Axboe <axboe@kernel.dk> Add support for write_iops_log

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
b1d1b239d2a3299a4d7b7b3de185923c655d0a48 05-Oct-2011 Jens Axboe <axboe@kernel.dk> Fio 1.99

Now that network functionality is mostly done, tag a pre 2.0 version
as 1.99.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
802ad4a83e92a30b5fdccf117d59fbb69068c054 05-Oct-2011 Jens Axboe <axboe@kernel.dk> Change network transmitted doubles to fio_fp64_t IEEE 754 type

Encode and decode when transferring over the network.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
81179eec4a84ff25c190a8a6a685b0b3b4dd2a37 04-Oct-2011 Jens Axboe <axboe@kernel.dk> server: initial support for command line passing

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
cc0df00ad5076d4adbc439899f24d9b0db26075d 03-Oct-2011 Jens Axboe <axboe@kernel.dk> server: attempt to handle client ctrl-c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
a64e88dad0c0e4a510ae8ab54cde1a20b99c59d1 03-Oct-2011 Jens Axboe <axboe@kernel.dk> server: transmit status as structures, not text

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
f6bb5b88614073878cbbd2666a1553481720faee 03-Oct-2011 Jens Axboe <axboe@kernel.dk> Allocate thread_stat name arrays statically

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
c8aaba193fd910f89486ba4caab0c023306fffae 03-Oct-2011 Jens Axboe <axboe@kernel.dk> Move getrusage() out of thread_stat

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
f0505a1457d848e25e59f0d4373a066c2cef5de0 03-Oct-2011 Jens Axboe <axboe@kernel.dk> Move stat_io_bytes/time to thread_data

Anything that isn't needed to sum/show thread stats should not be
in struct thread_stat.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
7b9f733afb91a5c92f44bb6e68860f17ba14f585 03-Oct-2011 Jens Axboe <axboe@kernel.dk> server: start conversion of data structures to network friendly types

Not done yet, but do the basic conversion.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
e46d809110bd4ad2980ca64931b683673444454b 03-Oct-2011 Jens Axboe <axboe@kernel.dk> server: initial support for daemonizing

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
ea3c936ea2553dba0cc789a4ef197bc78261c841 02-Oct-2011 Jens Axboe <axboe@kernel.dk> server: make struct group_run_stats network transfer friendly

Use explicitly sized types.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
05895c12004fb843eded34aac2332ece2f410b27 02-Oct-2011 Jens Axboe <axboe@kernel.dk> Style fixup

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
a37f69b72a74cbde6151458b890aab8d093f0c9f 01-Oct-2011 Jens Axboe <axboe@kernel.dk> client: continue support for multiple connections

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
37db14feece08eb6e43de87c404180650ed5aa6f 01-Oct-2011 Jens Axboe <axboe@kernel.dk> Start of functional client

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
5c341e9a5734742ae1137388345d4f47efdd4f05 30-Sep-2011 Jens Axboe <axboe@kernel.dk> Hide things not appropriate behind is_backend

Also add explicit command to exit the server, FIO_QUIT.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
50d16976ac0cd44c1f5aba9217148ff05e141436 30-Sep-2011 Jens Axboe <axboe@kernel.dk> Start of client/server

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
fd68418e1f248e85809312d6fa789eaf57b54dc0 19-Sep-2011 Jens Axboe <axboe@kernel.dk> Add option for controlling buffer scrambling

scramble_buffers bool option, defaults to on.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/fio.h
f57a9c59e366aa2f0621aa260bfd5ef5aeb61643 09-Sep-2011 Jens Axboe <jaxboe@fusionio.com> Add terse version output format command line parameter

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
3545a109a2cfe5ab22969ef453dc049db47f0b68 31-Aug-2011 Jens Axboe <jaxboe@fusionio.com> Ensure that buffer contents are random across jobs as well

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
a66da7a2354aac16757c75a824ad7cbba678535c 31-Aug-2011 Jens Axboe <jaxboe@fusionio.com> Add support for backwards holes

If you did:

bs=4k
rw=read:-8k

you would essentially rewind by 8k after reading 4k, causing
the read to be sequentially backwards.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
675012f04dbd821cc5d22ec56930094b9c8a99e5 31-Aug-2011 Dan Ehrenberg <dehrenberg@google.com> Adding userspace_libaio_reap option

When a single thread is reading from a libaio io_context_t object
in a non-blocking polling manner (that is, with the minimum number
of events to return being 0), then it is possible to safely read
events directly from user-space, taking advantage of the fact that
the io_context_t object is a pointer to memory with a certain layout.
This patch adds an option, userspace_libaio_reap, which allows
reading events in this manner when the libaio engine is used.

You can observe its effect by setting iodepth_batch_complete=0
and seeing the change in distribution of system/user time based on
whether this new flag is set. If userspace_libaio_reap=1, then
busy polling takes place in userspace, and there is a larger amount of
usr CPU. If userspace_libaio_reap=0 (the default), then there is a
larger amount of sys CPU from the polling in the kernel.

Polling from a queue in this manner is several times faster. In my
testing, it took less than an eighth as much time to execute a
polling operation in user-space than with the io_getevents syscall.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
059b080217b86dbf9f3574c4661a1b2300522c79 25-Aug-2011 Jens Axboe <jaxboe@fusionio.com> Add possibility to make sequential IO "holed"

For sequential IO, it is now possible to add a number of bytes to
be skipped for every block read or written. Using:

bs=8k
rw=read:8k

will first read 0k->8k, then 16k->24k, and so on. This skips 8k
for every 'bs' sized block read. Similar for writes, doing

bs=4k
rw=write:4k

will write 0k->4k, then 8k->12k, etc. End result being that every
other block is written, in a sequential fashion.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
0a7d7f9e450f823b4ca25c23516050c339778b13 16-Aug-2011 Eric Gouriou <egouriou@google.com> stats: fix io_u_plat out-of-bound accesses (round 2)

Commit 833491908a1afd67 introduced the ability to report completion
latency percentiles. It also caused a memory corruption when running
with multiple threads due to out of bound accesses in show_run_stats().
The major index of the io_u_plat two-dimensional array is meant
to be DDIR_ value in {DDIR_READ, DDIR_WRITE} (i.e., {0, 1}). The
code in show_run_stats() incorrectly wrote into the array using
a major index with values {0, 1, 2}. Commit 0a0b49007cbce8d1 fixed
the out of bound accesses by increasing the size of the major
dimension of the io_u_plat array from 2 to 3.

This patch reverts the size change from 0a0b49007cbce8d1 in favor
of avoiding the out-of-bound accesses in show_run_stats().

Signed-off-by: Eric Gouriou <egouriou@google.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
0a0b49007cbce8d16c9214e7ed47a2b7cc0cc7ed 15-Aug-2011 Jens Axboe <jaxboe@fusionio.com> Fix off-by-one in io_u_plat[] array sizing

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
833491908a1afd67d27ce79257de3a4d80143d9f 13-Aug-2011 Yu-ju Hong <yjhong@google.com> stats: Add a function to report completion latency percentiles

This patch introduces two new options:
1) Specifying --clat_percentiles enables the reporting of
completion latency percentiles.
2) --percentile_list allows the user to customize the
list of percentiles to report.

Signed-off-by: Yu-ju Hong <yjhong@google.com>

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
7bb591020669b7266c57108f2a68b48a03ae72ee 12-Jul-2011 Jens Axboe <jaxboe@fusionio.com> Allow percentage setting for size=

Sometimes it's useful to set this to a particular size of a device.
Allowing percentages makes this more easy, as one does not have to
do the math outside of fio and pass in as environment variables
or custom job files.

To use, simply add a

size=15%

or whatever is needed, then fio will use 15% of the total size of
the device(s) or file(s) given. Percentage can be from 1 to 100.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
dce8b847f2c149f0f857918e3250b9dafeb5c713 08-Jul-2011 Jens Axboe <jaxboe@fusionio.com> Fix bad start_delay type

Should be unsigned long long, causes a bus error on HP-UX.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
fca7035863bd570270376a0c06776e5549ff813e 06-Jul-2011 Jens Axboe <jaxboe@fusionio.com> Add --max-jobs/-j command line option

And shrink OSX max default number of jobs supported. OSX has,
by default, a very small shared memory segment available.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
a596f047e2b3d447ccca76bd075f05473a1f8d1c 17-Jun-2011 Eric Gouriou <egouriou@google.com> Add ability to invoke fallocate() FALLOC_FL_KEEP_SIZE.

Linux offers fallocate() and the FALLOC_FL_KEEP_SIZE option as
an alternative to posix_fallocate(). When FALLOC_FL_KEEP_SIZE is
specified for an falloc request going beyond the end of the file,
the requested blocks get preallocated without changing the apparent
size of the file. This is is a commonly recommended use of fallocate()
for workloads performing append writes.

This patch modifies the fallocate option from a boolean option
to a string option accepting none/posix/keep/0/1. 'keep' is only
made available on systems where FALLOC_FL_KEEP_SIZE is available
(i.e., Linux at this time). If specified, fallocate() is used
with FALLOC_FL_KEEP_SIZE set. 'none' disables pre-allocation while
'posix' uses posix_fallocate(). The default behavior remains unchaned,
i.e., invoking posix_fallocate. The settings '0'/'1' are there to
provide backward compatibility for users who had explicitly set the
boolean option.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
ac18ea38de2a23018f9f953c3028d519df3a1177 02-May-2011 Jens Axboe <jaxboe@fusionio.com> Convert left-over manual ->runstate setting to td_set_runstate()

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
b841ac86d4eb1659189171b7abebd986c7945f51 02-May-2011 Jens Axboe <jaxboe@fusionio.com> Bump max job count to 2048

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
4c07ad86c6cc6e158c70a5c625f60144db03f20d 28-Mar-2011 Jens Axboe <jaxboe@fusionio.com> Switch all random generators to be decided by use_os_rand

This includes file sizing, next file, block size selection,
trim state, and verify state.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
2615cc4b28e7d0e436a625dff92e6a71ccc6c49b 28-Mar-2011 Jens Axboe <jaxboe@fusionio.com> Switch to using our internal Tausworthe based random generator for offsets

It's both faster and more exhaustive than what is available on
glibc on my test systems. So no downsides, and the upside of having
the same offset generator across all platforms.

This will change the random series, so could alter performance for
your workload since the pattern will be different in sequence. There's
an option to revert to the OS generator, you can add use_us_rand=1
on your job files to retain the old generator offsets.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
0ce8b119b65849e537cab628a176a0ec4238aab0 27-Jan-2011 Jens Axboe <jaxboe@fusionio.com> Fix end-of-job slowdown for random IO with a random map

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
a9523c6f4a43e4bbf942ee49068fe4f052c6991d 18-Jan-2011 Jens Axboe <jaxboe@fusionio.com> Add --warnings-fatal/-w option

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
b463e9363b826d5ba4f16e0115a26f24b77078f4 12-Jan-2011 Jens Axboe <jaxboe@fusionio.com> Add verify_dump option to control whether to dump bad/good blocks or not

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
ecc314ba7c5f02b7e90ac1dfbce1a74cd4e6d6fe 04-Jan-2011 Bruce Cran <bruce@cran.org.uk> FIO Windows update

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
cda99fa0fcca41fc0d54ecaa2fd600162a8de5d3 14-Dec-2010 Signed-off-by Steven Pratt <slpratt@austin.ibm.com> fix ramp_in

There are a couple of problems with the relatively new ramp_in feature
of fio. First, the estimated time to completion did not correctly take
it into account and bounces around. Second and more importantly, the
runtime was including ramp in time in throughput calculations even
though the IO done during that time was ignored, thus making throughput
metrics incorrect. This patch fixes both.

Signed-off-by Steven Pratt <slpratt@austin.ibm.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
1ef2b6be973eded12827990ae1a9eb28b7b20be7 08-Oct-2010 Jens Axboe <jaxboe@fusionio.com> Initial support for explicit write barriers

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
bb0675581dc0a2e8133a6cbfa609b976b97d54ba 23-Sep-2010 David Nellans <DNellans@fusionio.com> Fix io_u depth array size

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
1ec3d69b0ed8cc7a3eba0192685034d5442989e4 16-Sep-2010 Jens Axboe <jaxboe@fusionio.com> Implement a better num2str()

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
0d29de831183dfd049c97a03008d425ce21e2fa4 01-Sep-2010 Jens Axboe <jaxboe@fusionio.com> Add verify trim support

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
d1c46c049cfba2028abc45246e2609bcee52d0f3 31-Aug-2010 David Nellans <dnellans@fusionio.com> Add support for redirection replay of blktrace traces to another device

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
64bbb86598ada3fa401c61aab5ef6c37bec6d6f3 24-Aug-2010 David Nellans <dnellans@fusionio.com> Add option to skip delays when replaying traces

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
bf2e821a55d8aa3de1cda7288a0e22883110fdc6 11-Aug-2010 Cigy Cyriac <CCyriac@fusionio.com> Add support for AIX

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
38dad62d5154ffaad445bd0231b271b9a46a5190 20-Jul-2010 Jens Axboe <jaxboe@fusionio.com> Add rw_sequencer option

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
5736c10dccc4124d99178b94e6759386420e5251 20-Jul-2010 Jens Axboe <jaxboe@fusionio.com> Rename ddir_nr -> ddir_seq_nr

Another mode will be added, so lets rename this one internally
to make the distinction clear.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
a5737c9363912baaa21af978358fb9f42e756beb 29-Jun-2010 Jens Axboe <jaxboe@fusionio.com> Fix startdelay option with s/m/h/d postfix

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
02af09886db695e5ea2b7fd2a632733955f3c03f 24-Jun-2010 Jens Axboe <jaxboe@fusionio.com> Add total latency log

We log submission and completion latencies, also log total latencies.
This makes it easier to graph and make histograms, if you care only
about the complete latency.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
9e144189c6e000df8a797312e43a4913f3b83c9a 15-Jun-2010 Jens Axboe <jaxboe@fusionio.com> Add some support for a verify backlog

Instead of writing everything and then verifying everything,
allow a job to specify incremental verify stages. This can
help reduce memory consumption of fio, since we don't have
to store a huge number of verify entries to be processed
when the write phase is complete.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/fio.h
2e3bd4c21cc239fbda992a4ede89ebb85f550920 17-May-2010 Jens Axboe <jens.axboe@oracle.com> Improve ETA for fill_device based job files

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7de870993035f855e1d1299a2b5c2c90b792c238 31-Mar-2010 Vivek Goyal <vgoyal@redhat.com> Add an option "cgroup_nodelete" to not delete cgroups after job completion

o Add an option cgroup_nodelete to not remove cgroups created by fio after
the job completion. This can help a user in inspecting various cgroup
files after fio job completion.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
c223da83e253b0057bb029bf4fbb55a05844215c 24-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Add support for specific clock sources

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
44f29692cfba246981bb3c1b894333a6d2209f51 09-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Initial suppor for sync_file_range()

This revs the ioengine to 11, as we now have another data direction.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
58c55ba02aca24ed30beb343fcb1dc3df4667389 09-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Add profile td init/exit with stored data

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7eb36574da703ebdfac414d7428712320f552a96 08-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Make profile io op overrides a dedicated structure

Also add a 'get_next_file' hook while at it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
15dc1934435dc84d66547c4fc92d936224d7238f 05-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Allow profiles to override internal io_u functions

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
07b3232de97ac32a873f0b5d17c8f49c18ed3ae7 05-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Cleanup profile support

This is closer to where it needs to end up. No ext_options, just
include profile options in the general option table (and mark them
private for that profile).

Profile options are only available after loading a specific profile,
so there should be less confusion.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9f81736c7531e002038621577d5ffea571649bd7 04-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Make sure profile options get added to long_options[]

Still the restriction that profile load must come after the
private options, which is a bit odd. Still shaking out the
oddities....

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
79d16311c8d0c7188d73df77838fb1b4b6ff58db 04-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Add support for loadable profiles

Split the only existing profile, tiobench, into this setup.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7bc8c2cf02fbd538ca388618ff2f4618787a86e0 28-Jan-2010 Jens Axboe <jens.axboe@oracle.com> Add specific knob for controlling fallocate() usage

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ba3e4e0ca697f83c97a250d85a74506ace69de2c 09-Dec-2009 Radha Ramachandran <radha@google.com> Fix rate option with iodepth > 1

The rate option currently doesnt work when used with libaio engine.
The math currently, calculates the time t2 (when the I/O completed) -
t1 (when the io_u unit was created) as the time it takes for the I/O
and the bandwidth for the rate calculation is calculated from that.
This math will work correctly for sync engine as there is only one io
in progress at a time, but for libaio engine, when there are multiple
I/Os queued, the same time (as in from t1 to t2) could be attributed
to other I/Os as well so the actual bandwidth is actually higher.
I have a patch, but this is more brute force where I take the total
bytes read/written divided by the time since I/Os started to calculate
the bandwidth and decide on the time that needs to be spent sleeping
(if any).This is a little more heavy weight than the previous math. I
think there are probably simpler/cleaner solutions than this but this
is the current patch I have for it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e0b0d89201bd301f47fbbfcf86545b7e77b16ef3 08-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Add support for specifying UID/GID

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
6adb38a1a1cbe95f7131815416c8bb31683c3f47 07-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Autodetect cgroup blkio mount point

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
39f22027248f658ade599e89c2fe6afae02ac9d7 04-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Better support for setting up and removing private cgroups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a696fa2a9c2e21a1c88813235d6fc39d267f6155 04-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Add support for blkio cgroups on Linux

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
c5c8bd5c9b265df2c7feb386b5c1fba0a5a34eec 24-Nov-2009 Jens Axboe <jens.axboe@oracle.com> Add helpers include file

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9ac8a797da61a59c9fa1b59f8574246555403d19 13-Nov-2009 Jens Axboe <jens.axboe@oracle.com> Add support for simple profile benchmarks

One of the reasons that tiobench gets used a lot, is that you
simply have to run it. For "real" benchmarks, you usually
have to configure them first. This adds support for easy testing
by adding some predefined and included workloads. This commit
includes tiobench, to run a tiobench like workload you would
simply do:

$ fio --profile=tiobench

and that would be it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
0e92f873a3d542d2b237d68fd9391c92a85fa0b8 27-Oct-2009 Radha Ramachandran <radha@google.com> Support > 4 byte verify write patterns

This is the patch I have to write/read/verify hex patterns of size > 4
bytes. I have tested these on hard drives and did not see any
performance change. I am assuming the performance drop if any might show
up in the read phase for probably solid state drives and maybe it can be
worked around using the asynchronous verify flag.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
74929ac27bcbaa26a08a9abcda70b5ebba94166e 05-Aug-2009 Jens Axboe <jens.axboe@oracle.com> Add support for reserved keywords

Currently $pagesize, $mb_memory, and $ncpus are supported.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
90fef2d162fba55ad684c2c80b3b9739b8d16e72 17-Jul-2009 Jens Axboe <jens.axboe@oracle.com> Add kb_base option to specify the base unit of a kilobyte

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e8462bd8250cf3ff2d41f17e1a4d4cefc70b6b37 06-Jul-2009 Jens Axboe <jens.axboe@oracle.com> Add support for async IO verification offload

This adds support for setting up a number of IO verification offload
threads, instead of doing the offload inline. An option for controlling
the CPU affinity of those threads are always added.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d529ee1932bc85598900a3ef62f01293af87fbd8 01-Jul-2009 Jens Axboe <jens.axboe@oracle.com> Add support for the iomem_align option

This allows detailed control of the alignment of the IO buffers
that fio uses.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5f9099ea8adf423d0db01274ef0d7e65629c0e1c 16-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Add support for fdatasync()

Adds a new option, fdatasync=. It's identical to the fsync= option,
but uses fdatasync() instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1ec99eea970609e63f49982f0d052a23ac18848d 15-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Fix typo on continue_on_error patch

Also expand the error print a bit.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
f2bba1820a567ac00b09916239ac8feb125cead2 15-Jun-2009 Radha Ramachandran <radha@google.com> Add a 'continue_on_error' option to fio

Add option to make fio continue on non-fatal errors.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4580885d413c7bca742dc2a373b9afcd5f48d7f8 11-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Get rid of (now) unused rate_throttle()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1621031e8a7cbb91afad124da405fc4eabda764f 09-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Merge branch 'master' of ssh://router/data/git/fio
581e71417760e0aa86eac0acd704253ff0eeea4f 09-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Add support for limiting only rate in only one direction

So now you can say 'limit writes to 10MB/sec' and have reads go
full throttle, for instance.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
29c8e868723e1b539d402d1accac97f872f355ea 05-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Move td_* ddir defines

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
adb02ba8e05ccbb1c1985791d0ee52828bcbf6aa 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Add iops rate to ETA display

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
0a4957c60fb35db0973c15c4c2adbd3bac854ccd 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Fix bug with rwmix and multiple loops over the same set

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
c592b9fe12d4739d99d5bece517e304804876df6 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> More fio.h cleanups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7c9b1bce094d58c374b086bbb780c08265623ea4 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Split off diskutil include

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
590aebda258e146edd73382121be9c84643d8f1b 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Move file service type defines to file.h

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5995a6a46a4c697a6c68c02da3c7c46c0cdea23f 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Add iolog defines

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2b4f4abec640f36ccdff39de00e74b2234e27116 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Move IO engine flags

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
dcefb588d556828af570221b2dc276a6376c8557 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Add ioengine.h header

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4cd02b3f7f4eda0ec263f04422ab6424b7693605 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Move more file stuff to file.h

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4f5af7b2370a6d3e64bc5128905c1aa8b0dc51b0 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Cleanup verify headers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d6aed795f2e3e403828abf60874dd2d6e8342a1b 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Clean up file flags

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ac89311241264280574c81e6400c9a0c59615082 02-Jun-2009 Jens Axboe <jens.axboe@oracle.com> mmap engine: allow large files on 32-bit archs

Map chunks of 2GB at the time in total, remapping as we go
along.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
17127517a3ccff19993e36ec3f7bc15044898f2c 27-May-2009 Jens Axboe <axboe@homer.home.kernel.dk> Merge branch 'master' of ssh://router/data/git/fio
c97bd0fa0f68d924f4e6f3c480f380c4ca20b872 27-May-2009 Jens Axboe <jens.axboe@oracle.com> Increase accuracy of disk utility percentage

If a job file contains more than one job that works on separate
disks, then the job that finishes first will get more idle time
accounted to it.

Fix this by only doing disk util stats when we have files open
on that device.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
3bfb53dd20223015916e9ade388a5f9d49b87172 22-May-2009 Jens Axboe <jens.axboe@oracle.com> Remove io_u->endpos

It's only set in one location and never read.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b0f65863844b4de92d10fefaabde80ea5bc3e5cc 20-May-2009 Jens Axboe <jens.axboe@oracle.com> pre_read fixes

1) Add a specific runstate for pre-read, so we can see that this
is what the job is currently doing.
2) open/close files for pre-read

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
afad68f778a764cbe57d4a5d54cbea32444aaa45 20-May-2009 Zhang, Yanmin <yanmin_zhang@linux.intel.com> Add pre_read option

With this option set, files will be pre-read into memory before
starting the given IO operation(s).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
306ddc9752eef70c3fbb111af63d197a3a6d447f 18-May-2009 Jens Axboe <jens.axboe@oracle.com> Include transfer size in the clat/slat measurements

It's useful to know the block size that matches the given latency, so
add that to the end.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
720e84ad8292ab7b3a8e264fb00db71d796600d1 21-Apr-2009 Jens Axboe <jens.axboe@oracle.com> Add support for different weights for reads and writes with bssplit

You can now do:

bssplit=4k/20:8k/80,1k/50:4k/50

To have 20% 4k reads and 80% 8k reads, while having 50% 1k writes
and 50% 4k writes. This is identical to how the bs= option treats
reads and writes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5bfc35d7abe2582dc54127ca1d6e03792c9d62f5 07-Apr-2009 Jens Axboe <jens.axboe@oracle.com> Reseed random generator for loop/time based runs

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>
/external/fio/fio.h
eaf9b417e77b835886c3bb89ca0630dcec6d469f 07-Apr-2009 Jens Axboe <jens.axboe@oracle.com> File reset should clear random map as well

Fixes infinite loop on time based runs, where it repeatedly
fails getting a new offset.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2b7a01d01ea19f6e4090c7a8280bc6bf983e781f 11-Mar-2009 Jens Axboe <jens.axboe@oracle.com> Add blockalign/ba option

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>
/external/fio/fio.h
df9c26b10275a631e83e7cc92d5f7384998b2c49 05-Mar-2009 Jens Axboe <jens.axboe@oracle.com> Avoid opening files until they are used

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>
/external/fio/fio.h
dd87b2c94a30c3309574962cc7cb4bce68a73ceb 04-Mar-2009 Jens Axboe <jens.axboe@oracle.com> Missing fio.h update

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
814452bd47e0f2bb4825b8042b664f32de0aff8d 04-Mar-2009 Jens Axboe <jens.axboe@oracle.com> Add create_on_open option

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

Please enter the commit message for your changes. Lines starting
/external/fio/fio.h
a086c25771b195d04651d293f299f0a63f7d2a23 04-Mar-2009 Jens Axboe <jens.axboe@oracle.com> Add 'sequential' file_service_type

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>
/external/fio/fio.h
6dd6f2cd9fd0a59054c9d003c758d810fd5a8f4a 10-Dec-2008 Jens Axboe <jens.axboe@oracle.com> __usec_sleep() really just spins, rename it

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
be4ecfdf6c8daa75c4df8ac875c9a87da80d81a0 08-Dec-2008 Jens Axboe <jens.axboe@oracle.com> Add gtod_cpu option for pinning gettimeofday() to a single CPU

Similar to what real life products sometimes do, offload gettimeofday()
calls to a single CPU and have that update the current time into a shared
memory location. This option pins a specific CPU for that job, and excludes
it from participating in any of the IO jobs.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e3cedca76d9fc104eb4f6f869606fb5bf4c0d59c 19-Nov-2008 Jens Axboe <jens.axboe@oracle.com> Add support for giving bw/clat/slat log prefixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
993bf48b48f2d9724afa3698a15070e77bc5d1c0 14-Nov-2008 Jens Axboe <jens.axboe@oracle.com> Add gtod_reduce option

This cuts down even more on gtod() calls. While the three disable_X
options halved the gettimeofday() call count, this can reduce it to
less than 1 percent of what it otherwise would have been.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
12d9d841526ad75a67bb43a90edeefd05f85f11e 16-Oct-2008 Jens Axboe <jens.axboe@oracle.com> Issue time fixup for guasi/libaio

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9520ebb9f4dd88d086e313ae97e37ebb6d4f240b 16-Oct-2008 Jens Axboe <jens.axboe@oracle.com> Add options for disabling slat/clat/bw measurements

Useful for cutting down on the number of gettimeofday calls in
situations where that does impact performance. This is mostly for
really high IOPS rates.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
62977e09a378a713b31d64c63e15adcf9f6f9d9d 16-Oct-2008 Jens Axboe <jens.axboe@oracle.com> Kill io_u timeout handling

It has never been enabled, get rid of it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
6742301361b7eeded19656ac18a09fde33122b74 30-Sep-2008 Shehjar Tikoo <shehjart@gelato.unsw.edu.au> Add support to display slave device stats for software RAIDs.

When running tests on a device created using mdadm, the relevant
disk statistics must also come from the individual
disks that constitute the RAID, because the software RAID device
is just a virtual device.

This patch goes through the 'slaves' directory in the software
RAID device's directory in /sys/block, gets a list of all the
slave devices and creates a master-slave relationship between
the virtual device and the actual disks.

The individual slave disks' stats are displayed along with the
master's disk stats at the end of the test.

Signed-off-by: Shehjar Tikoo <shehjart@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b29ee5b3dee417016164198fb240344ef666de2b 11-Sep-2008 Jens Axboe <jens.axboe@oracle.com> Update ramp_time

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
721938ae7fae0f6d470a7e32e177ea5dce480229 10-Sep-2008 Jens Axboe <jens.axboe@oracle.com> Add ramp_time option

Sometimes it's useful to let a job settle for a little while
before taking any measurements on latency and throughput, since
the initial rate on eg a write workload may be much higher than
the longer sustained rate.

So add a ramp_time option that allows the user to specify a lead
ramp time that must have passed before fio takes any performance
numbers into account.

Suggested by "Jenkins, Lee" <Lee.Jenkins@hp.com>

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
3845591fadea480177223e28c9d1c03642d34f0e 04-Aug-2008 Jens Axboe <jens.axboe@oracle.com> Add intel hardware assisted crc32c support

Not tested, since I don't have the hardware.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
bac39e0e8807a1d52863ad8304e67221df2bc63b 11-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Add crc32c checksum

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
3b8b7135602a4d3a7132fee10da9c1203ab643ad 10-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Add option priorities

For instance, filename= must come after directory= or things will
go wrong. So add a priority value to each option, so that the parser
will take that into account.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4950421a7e379ba0ca642390ae4ae7b68e92a42f 05-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Add iodepth_batch_complete control

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
556e831d2b6e788fd48f724047d22ebb29676d42 02-Jun-2008 Jens Axboe <jens.axboe@oracle.com> solarisaio: support signal driven async IO

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
01743ee1718e7ec4b16ae3e53c8f64900c6052cc 02-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Rename list_* function and file to flist_ to avoid conflict with FreeBSD

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
417f006858ec66f0b410c83c2e13da54662048e0 02-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Add Solaris native aio engine

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
de605666880852ba9d1a0469723126b09782c520 31-May-2008 Jens Axboe <jens.axboe@oracle.com> ffz() takes ints, so change the file_map to being int based

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ccb0fa24f0ff37f9270754ea5a1b66de9fd7053e 30-May-2008 Jens Axboe <jens.axboe@oracle.com> Seperate status timer setup from disk util timer

It's still the same timer and shared, but move it out of
diskutil so we get proper status reporting on non-Linux.

We also need to rearm the signal handlers on each signal.
Move this to sigaction() next.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373 30-May-2008 Jens Axboe <jens.axboe@oracle.com> Make it work on opensolaris

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
838bc709279964bdcc64070d4eb2777a0f79bcbb 22-May-2008 Jens Axboe <jens.axboe@oracle.com> Add logging for queue submit and complet counts

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5973cafb37fbf24c3ca2cdf86a3d03f1b00d6d2b 21-May-2008 Jens Axboe <jens.axboe@oracle.com> Add option for refilling IO buffers on each submit

If the device looks at whether the data changed, then this can
make a difference.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
009bd847b5aeaca78e76de3a7066fe7d507a735f 15-May-2008 Jens Axboe <jens.axboe@oracle.com> Fix bad interaction with file open/close and queuing

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d8005759746a2cb5c8269201911b1997aa714e80 15-May-2008 Jens Axboe <jens.axboe@oracle.com> Improve iodepth logging

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
3bec7ae05cbec8823943a9aca79871c99709ed5f 14-May-2008 Jens Axboe <jens.axboe@oracle.com> Allow marking of queue depth for more than 1 io_u at the time

Same code as before, just prepared for it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
aec2de209564a6951e6c91d653fc99a75508607d 24-Apr-2008 Jens Axboe <jens.axboe@oracle.com> Kill unused parameters

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e4928662a8a1674debae803d5ec4dcbdce7a3ddc 07-Apr-2008 Jens Axboe <jens.axboe@oracle.com> Base the rwmix switch algorithm on io issues

The time based switch can be unfair sometimes, so just simplify it a bit
and use issues only.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d3eeeabce4131ca3f688f856a449aef3fb994124 06-Apr-2008 Jens Axboe <jens.axboe@oracle.com> Improve eta calculation and display for complex jobs

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2b386d2569c9078ca9790c4e6d318ec3835b8739 26-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Add softrandommap and --alloc-size options

The softrandommap job option allows fio to continue if it cannot
allocate from the smalloc backing for the random map. Or the user
can specify --alloc-size with a size larger than the default of 1024k
to increase the size of the shared allocation pool.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
303032ae4e13c7ac10b8198c40df98d95a4524a6 26-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Allow randommap allocation to fail

It's not that critical, so just print a warning and continue
without randommap.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
f718273e7180208fc0cf5c88b99f32b371d6d75f 10-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Extend ipo file action capabilities

Add FIO_LOG_UNLINK_FILE and move the handling of special ipo's
into a dedicated function.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
691c8fb014da9dd82e999a90b5511423f4eee188 07-Mar-2008 Jens Axboe <jens.axboe@oracle.com> blktrace improvements and fixups

Remove iolog version 1 support, it's just too limited. Version 2 and
blktrace manage file events (add,open,close,tc) on their own and we
can cleanup the file creation if we kill it.

Fixup for_each_file() for no allocated files.

Start of handling notify events for blktrace. We don't see program
notifications, need to look into that.

Properly account io bytes when adding blktrace events, so that the ETA
and io count is correct on replay.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
58f9f0495ae8de5bc221e4afaa543132bc149bc4 06-Mar-2008 Jens Axboe <jens.axboe@oracle.com> for_each_file() fix

We will deref ->files one beyond the allocated length due to the way
that C for(;;) loops work. So rework it a bit to make it more safe
and not look beyond the array. We didn't touch the memory before, but
it was still somewhat ugly.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9efef3c4bd6a032a2a9f7a9aab1c29436525d781 06-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Multiple file handling fixes

Some of that got broken with the dynamically allocated file changes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4d4e80f2b4260f2c8b37a8612ce655502a799f7a 04-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Revamp file locking

Get rid of the semaphore implementation, no need to carry both.
Add different locking modes (exclusive and readwrite) to enable
a wider range of testing. Also combine lockfile and lockfile_batch,
the latter is now a postfix option to the former.

So to enable readers-excluding-writers locking mode with a lock batch
count of 4, you would write:

lockfile=readwrite:4

instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
29c1349f1840c3f60434c9da602074bc8fde4afe 01-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Add the file sharing bits

When you use the same filename for several jobs now, they will share
the same file structure. Enable locking through two new options:

- lockfile. If set, a semaphore is associated with the file and it is
held from ->prep() to ->queue() has done its work.
- lockfile_batch. This controls how many IOs the job gets to do per
semaphore acqusition.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
392a374205d9e90fe4b4b6419fefa493f0a5ccc2 01-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Missed fio.h update for filehash, oops

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b2bd2bd96a09540b3add0ec74db2cdb1c145ca33 01-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Add file locking hooks

Does nothing so far, but adds locking calls that cover from ->prep()
to after ->queue(). That is the period where we do IO.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
f85ac25a7d5c9d5ba4d5c73363a6a2a461a9b013 01-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Remove the file->last_completed_pos variable

This tracks where we last did IO to this file, however with file
sharing that may break. So just remove this optimization, it'll
cost an extra lseek() for the sync engine but doesn't do much else
outside of that.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
126d65c6fc97d6acdc568aa5a969c012018daf15 01-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Make file structures dynamically allocated

Current td->files is an array of files, make it an array of pointers
instead and allocate individual file structures on the fly. This is
a preparation patch for file sharing.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
6977bcd0e4ee3faa7ffd8f208e4031bdf906ed88 01-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Update close file handler to return potential error

Filesystems like NFS do return errors on close(), up until now we
have been ignoring them. Fix that. Adjust io_ops engine version
to 9, since this is an API change.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
24ffd2c2bca53f4de85ab6defd52a812be1f2429 01-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Add close_files() that closes all files

Renames the current implementation to close_and_free_files(), since
that is what it actually does.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
cdd18ad87ed9a3639b76c41cfc9682ad7cce652e 27-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Confusion between mutex and semaphore naming

There's a semaphore implementation and option coming, so rename the
bits.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a3d741fa3bc3120d5b62a56826a97524daa32803 27-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Add --debug=parse for option parsing debug

Adds log.h and debug.h to split the logging and debug bits out of
fio, so that the parser can use them.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
6ae1f57f2cb8661b97b770372eeb3694f6d5a744 21-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Remove dead FIO_FILE_EXISTS flag

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9b23c9fb768ef052c7fe7cd825a714976a089e08 21-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Remove dead FIO_FILE_NOSORT flag

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
84422acde41c9cf462245de115d425cf5a82124c 19-Feb-2008 Jens Axboe <jens.axboe@oracle.com> More random fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
c299e0375a660e2a5fca966233417a7034073175 19-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Fix TO_MAP_BLOCK() taking offset into account twice

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ad830ed7386eff264bdb5189675d6dfa672bd16b 18-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Add FIO_SIGQUIT engine option

For network engines, we need a signal to make it abort the connection
if it isn't already running. Otherwise fio would just stall on ctrl-c
before the connection was established.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
01f06b63ba67d3bc7fa11766d9f13d229c4cec5c 18-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Add --section command line option

It enables the user to ship bigger and more complex job files, while
still allowing fio to only run a part of it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d4ac64cc1e8bb64b71a1f8ae882ee171d02fe792 01-Feb-2008 Jens Axboe <axboe@carl.home.kernel.dk> Merge branch 'master' of ssh://git.kernel.dk/data/git/fio
8172fe972f3a79d42f34d7f6e259ed3f7f800316 01-Feb-2008 Jens Axboe <jens.axboe@oracle.com> A few debug debug log fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
79e48f72dea1639bcbee310c354938287b6d5790 01-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Add option for not including the tracing stuff

It eats some space.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
bd6f78b2f0b6375383948f126368804612ec0035 01-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Add blktrace and verify debug tracing

Also add "all" as a keyword for setting all values, and pretty up
the output a bit by justifying and aligning the output.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2ba1c290d09af6d630d84a58b97b8032f73bc2ce 01-Feb-2008 Jens Axboe <jens.axboe@oracle.com> A bunch of fixes

Really should have been split up, but...

- Check this_io_bytes at the bottom of do_io() so that async engines
have a chance to queue pending IO before deeming this job done.

- dprint() should use log_info(), may not be stdout we want.

- last block bug in get_next_free_block(), if max blocks wasn't a
multiple of the bitmap size.

- Add more debug points.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ee56ad500f6692381e131cc37299d23fa910a24a 01-Feb-2008 Jens Axboe <jens.axboe@oracle.com> Add --debug for enabling internal dumps on various actions

A little weak currently, when it's fully integrated everywhere in
fio it'll help find fio problems that I can't trigger.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e28218f3017e5eb156d3a4a6e7b33651dc022cea 16-Jan-2008 Shawn Lewis <shawnlewis@google.com> Revert "Remove verify_pattern option, replace with verify=pattern:x"

This reverts commit bfb41d98f63cb9fb72cb7c82618be10bc6d52c33.

Reverting lets us have verify=meta and specify a verify_pattern at the same
time. Sample surfacescan conf file coming up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
aa31f1f108348ba2a8749c73fa8c25f3d4630a7c 11-Jan-2008 Shawn Lewis <shawnlewis@google.com> Add fill_device option

Add fill_device option. Causes fio to write until ENOSPC occurs (assuming
rw=write).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
509eab12448823a8eefbe925804b5308ee63bf5e 14-Dec-2007 Jens Axboe <jens.axboe@oracle.com> Overflow bugs in random map

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
564ca97254984165e06d5fd4b1270bac95ca55fb 14-Dec-2007 Jens Axboe <jens.axboe@oracle.com> Add support for 'bssplit' option, fine grained block size contrl

From the HOWTO addition:

bssplit=str Sometimes you want even finer grained control of the
block sizes issued, not just an even split between them.
This option allows you to weight various block sizes,
so that you are able to define a specific amount of
block sizes issued. The format for this option is:

bssplit=blocksize/percentage:blocksize/percentage

for as many block sizes as needed. So if you want to define
a workload that has 50% 64k blocks, 10% 4k blocks, and
40% 32k blocks, you would write:

bssplit=4k/10:64k/50:32k/40

Ordering does not matter. If the percentage is left blank,
fio will fill in the remaining values evenly. So a bssplit
option like this one:

bssplit=4k/50:1k/:32k/

would have 50% 4k ios, and 25% 1k and 32k ios. The percentages
always add up to 100, if bssplit is given a range that adds
up to more, it will error out.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1e20499263c57a7382b8130f5c2720b80e0b8653 11-Dec-2007 Jens Axboe <jens.axboe@oracle.com> Change io engine version

Minor change from V7, just the getevents() prototype.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e7d2e61694c62b90a2fb84c012b4edcc1973d72c 11-Dec-2007 Jens Axboe <jens.axboe@oracle.com> ->getevents() should take unsigned args

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
12cbb469ea5e559b241f6c31693554829e8b8400 10-Dec-2007 Jens Axboe <jens.axboe@oracle.com> syslet: update to -v7 as posted by Zach

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
10927316a4bd0e2ceba98e62c062e352c0e312fe 21-Nov-2007 Shawn Lewis <shawnlewis@google.com> fix utime_since overflow

utime_since was using a long for its return which overflows when the difference
between times is more than about 35 minutes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ac684785b41aaf17593b375be8d3e89b83974c1a 08-Nov-2007 Jens Axboe <jens.axboe@oracle.com> Seperate ioprio value from setting

Newer kernels allow passing a value of '0' for resetting ioprio,
and our check for if (td->ioprio) doesn't allow passing a value of
0 into sys_ioprio_set(). So seperate the setting from the value by
adding a ->ioprio_set bool.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1f809d151ddc4a4c348c2e4f6007db510e3e08a2 25-Oct-2007 Jens Axboe <jens.axboe@oracle.com> Fixes for CPU burn engine

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e592a06b36999bbb30675a4a58d4ff16ed65e555 14-Sep-2007 Aaron Carroll <aaronc@cse.unsw.edu.au> Add ETA output control and interactivity check

- Real-time ETA display is only printed if output is to a terminal.

- Accordingly, add --eta=always|never|auto option.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7101d9c24abec4be58a086d85d6d92ec6e6492e9 12-Sep-2007 Jens Axboe <jens.axboe@oracle.com> Full readonly check

Both in core and in engines. To the extent possible, this should catch
even fio errors.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4241ea8fb0606f9bd5b7ed1278d3b7825883acf6 12-Sep-2007 Jens Axboe <jens.axboe@oracle.com> Extend --readonly

- Never allow open of a data file with writeable bits sets, and that
includes extend as well.

- Skip any writes in replay logs (iolog/iolog2/blktrace)

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
81887d5dcd608492e59ed3fb2ac8fcb463223120 07-Sep-2007 Jens Axboe <jens.axboe@oracle.com> splice: update to new vmsplice-to-user interface

I changed the kernel bits (they aren't merged yet), so update
the fio splice engine to reflect that.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
061c86982ea02651cab2239b12983dd382019f26 04-Sep-2007 Jens Axboe <jens.axboe@oracle.com> Add unmap hook that belongs to the IO engines

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
bfb41d98f63cb9fb72cb7c82618be10bc6d52c33 10-Aug-2007 Jens Axboe <jens.axboe@oracle.com> Remove verify_pattern option, replace with verify=pattern:x

Integrate the pattern verification with the other verify types,
it's much cleaner that way.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a12a3b4d8903b9941705067442c2c530a94635f3 09-Aug-2007 Jens Axboe <jens.axboe@oracle.com> Add verify_fatal option

Causes fio to exit after a single block verification failure, instead of
checking the remainder as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e84c73a89ef19f38e117ed4fae5eb3bd4aee8a81 02-Aug-2007 Shawn Lewis <shawnlewis@google.com> [PATCH] Add do_verify option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7437ee87e4f6457168e8440f9308b4296ddb9263 02-Aug-2007 Shawn Lewis <shawnlewis@google.com> [PATCH] Add verify_meta verification type

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
546dfd9ff99eec4af5d1c6c2ca702b7cf9656334 30-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Seperate verify_header from the checksum type

If using one of the leaner checksums, we potentially have almost
128 more bytes of real data in a block.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
cd14cc1079771ece34fce5b30d47c7b273ee56e5 30-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Add sha256 and sha512 checksums

That should suffice...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
90059d65bde4804e4da07401ad6902c1d956b592 30-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Add verify_pattern option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a59e170d683f9ccbaa45648d7ae9a13b70e3822c 30-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Rename header_offset and header_interval options

Header doesn't really express that this has to do with io verification.
So rename the options to verify_offset and verify_interval.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
546a9142511875524850ac92776184fd9fb7196e 28-Jul-2007 Shawn Lewis <shawnlewis@google.com> [PATCH] Offset verification header by a user-specified distance

Offset verification header by user specified distance.

- Implementation is somewhat simple and probably not ideal but it works. The
header is just swapped with the bytes at offset after the chunk has been
filled during populate. Everything is swapped back before verify.

- Also fixes a bug where we were relying on a moving pointer for increment
size in populate_verify_io_u (which was working until this patch).

- Also cleans up a couple smalls things from the header_interval patch.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
3f9f4e2631c4f5d33f125dd71db20c1773d22c91 28-Jul-2007 Shawn Lewis <shawnlewis@google.com> [PATCH] Allow verification to be done at finer granularity

Allow verification to be done at a finer granularity than blocksize.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d77a7af3e718200bbd77d76194725ead4bdb3591 27-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Add sample crc64 checksum

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1e154bdbf14a1d352117aea057035235b66f0381 27-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Add crc7 verify type

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
969f7ed32353ade93ea30542a4993b75b94e3f8a 27-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Add crc16 verify type

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b67740d3620aee7c753987cdcf750fa28d871fcf 26-Jul-2007 Jens Axboe <jens.axboe@oracle.com> IO verification improvements

- Add a FIO_UNIDIR io ops flag. This like networked IO can't be read/write,
so verify only makes sense for data summed by another writer.
- Allow a read workload to verify previously written data.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
20e354ef1243541ea196619772b83a962d7cb4df 23-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Add ->done variable to force exit when we know we are done

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
f29b25a370598d387e539c3dcae126274c6cbf4d 23-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Add version 2 of the iolog format

The old format had some short comings - notably not supporting > 1
file workloads. So add a new format that defines adding/open/close
of files. Fio will still load the older format iologs, but the new
ones wont work on older fio versions.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
48f5abd393cc614e1984391b28ba491ef9b26f5e 20-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Fix disk zone test case

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a9a18a3f1b341c7025e63b47f706663cbf19836a 06-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Fix bug with FIO_IO_U_M/U_NR being transposed

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
04a0feae73ca50d05914cc3c425b2a6949523204 19-Jun-2007 Jens Axboe <jens.axboe@oracle.com> Adaptive io latency distrobution "histogram"

Log ranges all the way down to microseconds, and display the most
appropriate values for those ranges.

This makes the latency usable for sub-milisecond devices as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5e62c22a669c7a8c03b7871852cf85ad6d355980 22-May-2007 Jens Axboe <jens.axboe@oracle.com> Fix build/compile for non-blktrace platforms

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
375b2695693f56987e23deef3ded8e5b06ef6797 22-May-2007 Jens Axboe <jens.axboe@oracle.com> Fix cpumask setting/getting on older kernels

Don't call into the affinity functions, unless the user has
specified a mask.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5e6c20673be9f46332f47ede0e3b657b2cc35ec4 16-May-2007 Jens Axboe <jens.axboe@oracle.com> blktrace support: support for looking up a device

We can get the device number out of the trace, turn that into
a major/minor pair and look it up in /dev.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
0db2679750e4cc8f38af7af135f1ba8481d6def6 16-May-2007 Jens Axboe <jens.axboe@oracle.com> Fix timeout on 64-bit BE archs

We stored the timeout in an unsigned long long pointer, but
the value was really unsigned long.
/external/fio/fio.h
e28875637094451a3c5ec4071f964c1a02dd8f5b 16-May-2007 Jens Axboe <jens.axboe@oracle.com> blktrace support: speedup reading of data

We used to read in data in really small chunks (48 bytes at the time,
the size of the trace). This is really slow for large traces, so
add a fifo frontend to refill the cache in much larger sizes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a61eddecca21d19f3f4c297400d6c5d93dc29259 15-May-2007 Jens Axboe <jens.axboe@oracle.com> blktrace replay: delay support

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
8c1fdf044083522504685e3009e356c70d003ef0 15-May-2007 Jens Axboe <jens.axboe@oracle.com> blktrace support update

This should essentially work, except that it will not delay between
io but just issue the entries as fast as it can. Missing bits:

- Utilize the ipo->delay to suitably delay issuing an io
- Extract device name from blktrace file
- Document it

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
fb7b71a3c99b7ead2055439bfea421579aae2691 15-May-2007 Jens Axboe <jens.axboe@oracle.com> Initial blktrace support

This doesn't work yet, just committing what little bits I did as not
to lose them.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
fcb11708806c026566f2af58833ea919419a066d 25-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Fix read_iolog

Caveat - it only works with 1 file, unfortunately. Will need a format
change to get that right.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a9b7b3052b35c20e82b8fc909cd546a5fe1ff293 19-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Fix file unlinking

We never set FIO_FILE_UNLINK. Just unlink if it's a regular
file and unlink=1 was given.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
cf4464ca60ce75ac241c621bc70a2500beeb782f 17-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Add time_based option

This allows fio to keep running, even if the workload has completed.
It will simply restart the workload over and over, for as long as the
runtime setting allows.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e9459e5a14b577ead39d666c051c7ce4db12bc75 17-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Add zero_buffers option

This option will cause all IO buffers to be initialized to all zeroes.
The default is to fill them with random data.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
30061b974a501c5cdfd84ab21b98d990455c84f8 17-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Log and dump short ios

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d460eb318f784876812bedfed382afb00e57c62a 16-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Fix problem with f->last_completed_pos not being correct on requeues

This causes an unnecessary seek. Usually this is just noise, but if
the device isn't seekable, it becomes a real problem.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b5605e9ded4188ed91faae1a43ecd333a9856f62 16-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Add check for pipe/fifo files

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e11c410cbd60400c10d92d0115880c6e5728aa4e 04-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Fix sysfs_root assignment with multiple identical devices

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
317b95d07d4921d2594a1be6e014c9c2d062fe75 02-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Move os/arch/compiler headers into directories

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9f8f2064bcb196c10c9d3a2b64b951d796af22b5 02-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Seperate disk util code out of fio.c

It's only used if FIO_HAVE_DISK_UTIL is set.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
07e5b2646f673a56c05a53c6a84bf5d0c949d290 02-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Fix disk utilization and ioscheduler switch on raw devices

Add a method for mapping a raw device to the real block device,
so our sysfs lookup stuff works as expected.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1020a139beff50faf1bb18f761b024b664a09e14 29-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Fix loop with multiple files

The random lookup would loop infinitely, if no files were
open. So check for that and check for number of files
done.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4fee8096bff598ab565ac1d258d584d584433341 29-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Fix __must_check compile on older compilers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
409b3417e46cc3ce7041f042bcc26c3feb46e9e9 28-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Fix size setting on raw devices

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
059e63c02b947085d28ec7c6450b51d5fb2e8d05 27-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Better check for not doing a file twice

Mark it as done when we close it, so we don't open the same
one again.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9bf27b4530fca07088ab978aea47be79a3d48879 27-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Auto limit open files if we get EMFILE

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2c187c0fcaab8a4c6d1ba67d2ad2460b5fb42109 27-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Update fio io engine version

The interface didn't really change, but if the engine is using
->setup() then it needs updating. Generally it just needs to
remove any code other than the part setting ->real_file_size.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7bb48f84ac78cac1f90e3e04d0220d90d6a64a6b 27-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Revamp the file creation code

This was long overdue, it's much simpler now and hopefully
less bug prone. Probably a few stray bugs here and there
that needs straightening out, but the end result should
be a lot better.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
160b966d83adace2629de10f85ed269ab2e587f5 27-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Improve random verify block sorting

Add an option to control it and also check the nosort flag in file
layout to further catch a case where sorting isn't needed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
8de8f047bd025f12d23cfc3fc1793434c6d8ff94 27-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Avoid using the rbtree if we don't have to

Basically reinstate the old logic of not sorting when it's
not a win for reading the data back.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
36690c9b5b50736cec1fcd53100f01fd1181fdf4 26-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add 'null' verify option

For testing purposes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4b87898e8d76aaf05baec83077a11311c1447397 26-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Fix io piece logging to not have O(n) runtime

Use an rbtree for that log instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d23bb327374520295509bbd98912c8091b701a3e 23-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Free/alloc every FIO_OPT_STR_STORE string

Makes ownership clear, though the freeing is a bit anal.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
cade3ef44669c5c962d7ed18ca0e361116ee44ad 23-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Make sure the ->files array is job private

Otherwise we introduce differences between threads and processes,
we don't want to do that.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d2f3ac3592a5674fefa082cb439cc72355d2fed0 22-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add option to disable fadvise() hints

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
211097b2aa664b8c157692a1e2fe656ed4a3488c 22-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add support for mixing a random IO workload a bit

Now you can append a number to randread/randwrite (and others) to
specify only getting a random offset for every X number of ios.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
38d77caebcb6f9cb33f247a341c162c0185bf604 21-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Improve data direction runtime logging

If we cut a data direction short, log that time so we don't
account the full runtime.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e47f799f567508835b60675ed659c97f78e7cc94 21-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Improve rwmix states

We didn't use to look at the previous bytes done for the
data directions, which skewed the mix for buffered IO.
Fix that up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e4e33258637e55550a0fac59eb3350e8bf06f8e6 21-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Dump actual filename in failure to open

Helpful for debugging.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
609342ff4b7e5ada29d348079ec343d07fae6727 21-Mar-2007 Davide Libenzi <davidel@xmailserver.org> GUASI IO engine

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b3d62a759a58bfce1822787874ea6ec8d2a0cb7f 20-Mar-2007 Jens Axboe <jens.axboe@oracle.com> 'new_group' option

By default, jobs in a file are part of the same reporting group
unless seperated by a stone wall or if they define a group by
themselves (numjobs=x is used). Inserting a 'new_group' parameter
in a job description, will mark the start of a new reporting group.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
afe24a5a66350a3828e8965f7b189fc95b8bbf6c 16-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Improve rwmix buffered split

For buffered IO, the rwmix split can often be grossly unfair
towards reads, because dirtying tons of memory is done much
faster than reading data. Improve the split for such workloads
by not only looking at time.

Note that it'll still be somewhat unfair, there's only so much
we can reliably do. But it's better.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
687270767de17dbad53c50e03e5d73d52505405c 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Untangle the file creation mess

Still needs a lot of work, will do a rewrite of this soonish. At
least it should work now.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2dc1bbeb58edc85f2829eed6729862c438ea2353 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Move thread options into a seperate structure

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
127f686514ef8b1d9ab6ed702971b205454974e6 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Move setup_rate() out of log.c

Dunno why it ended up in there, doesn't make any sense.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
4e991c23d2d06484f581eb5e2105bc102cb35941 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Support for setting rated based on IOPS

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
214e1ecae844a32bf8f66d19132f4948d922dcee 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Split option handling out of init.c

It grew way too large.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9c60ce649d3f976d196709d4399bb7c540ce97b5 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add 'filesize' option

Allows the user to define the range of file sizes generated.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
cfc99db7b9e806e7739b360dfa005360d0fe8837 14-Mar-2007 Jens Axboe <jens.axboe@oracle.com> mmap engine: make sure that page unaligned syncs work

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
96d32d518a0743a6c050057bc1562e4883e51c5d 14-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Better handling of file creation vs existing files

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
bbf6b5401cdc0b20c405a064356ab0abb27c52d0 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add 'opendir' option

This option adds all files from a directory and downward in the
filesystem hierarchy.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ebb1415f729c123b8a13bcbd667bf4b4cc95b4d4 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add 'fsync_on_close' option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1c17818009ced8e78e9fee47fd9aaef29e708b41 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Improve handling of nr_files != open_files

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7b4e4fe5e6fa26f82f9169c18ec70c08d0805ca9 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Init stat for all files, not just current range

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1549441cdfecb2c1a4a8b8d494253859d67b4344 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Normal vs special files fixups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1315a68a091816d284c5f46b28e419349aa821d8 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> One more f->file_name typo

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
0ad920e7f85db1fdc26649be6bc7e584e8c7fdc9 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add file reference counting

We must not close a file, while io is in progress to it. That
will make the queuing engines barf.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
f11bd94d50d5995a64682f74b5f0f7509bf2c550 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Turn file ->open and ->unlink into flags

We'll need more flags in the next commits, so do this as a
preparatory patch.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
af52b3455ad892322aab2791282b6bd4efdfdbf3 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Allow explicit setting of a number of files

We currently only allow filename=foo for one file, add the possibility
to specify any number of files by seperating with a colon.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
62d984e2c12579361ee620b0a309c540cff9b09d 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] disk_util: Allow an engine to turn off disk_util specifically

Originally from Joel Becker <Joel.Becker@oracle.com>

An engine may support disks, but be unable to work with disk_util (as
there is no fd). Add a flag to turn off disk_util from the engine.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b3605062146bce0136918763bb8eb584478ae042 12-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Show IOPS as well as bw numbers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
1907dbc6c0c9e1b663156e64c64c172aaf04ae8a 12-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add nr parameter to file_service_type

Right now we switch for every IO, add a postfix that allows to switch
for every 'x' number of ios.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9cedf16704b71cec33138bb4cf524d3fc9ad338a 12-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Note process vs thread in output

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
0263882a95b9213d3afe285ae8adb5d0310d5039 12-Mar-2007 Jens Axboe <jens.axboe@oracle.com> File truncation and extend fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ba0fbe1029bae1de08d66a72b6d0b2505c67c438 09-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Turn the CPU burner into a real io engine

This removes the special casing in fio.c for the cpu engine, and
also gets rid of FIO_CPUIO.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
09629a90d5b68b220e3fb98318e2dcd019943eda 09-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Make sure each job loads a private io engine

Threads got it shared, breaks for obvious reasons. Also gets rid
of the free hack in ioengine unload.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
07739b57f09886b41323c605b0dbda7d2c12522b 08-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add a real semaphore implemtation

I've seen races where job N+1 got started before N, this breaks
for dependent jobs. So give up and implement a real semaphore
in mmap'ed shared storage.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a978ba684deb758465a0ccb18a008797636e8054 08-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Get rid of reopen_files()

Move the full file state clear into td_io_open_file(), so a
reopen is a plain close/open of that file.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
860a3044085c676632f9832a78133cd9847cbe62 08-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add ->open to struct fio_file

Don't use ->fd == -1 to check for the file being open or not,
an io engine could be non-fd based.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b5af82930ccfd7dda6a1b11794efb452eb76d8dc 08-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Revamp file open/close handling

Some IO engines need special handling for opening and closing
files, and this has complicated the fio filesetup.c file. Instead
have the io engine provide hooks for file open/close. This also
greatly cleans up the flags (we can get rid of SELFOPEN and MMAPIO)
and moves private knowledge into the engines where it belongs.

This potentially destabilizes fio somewhat, so testing is needed.
The new openfiles option that is introduced with this change isn't
verified working yet, hence it isn't documented.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
6586ee8992b30e81334d83d10480bdc4f6c8cc1a 06-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Show how many jobs are in a group

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
756867bd127cfa1fb27ae2d4ba973af8cb341f13 06-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add group reporting

Still needs some testing, so the option isn't documented yet. The
standard deviation averaging also isn't mathematically sound.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b2560f3ca4677e2908fc4111f4d04fae5df3b229 06-Mar-2007 Jens Axboe <jens.axboe@oracle.com> One step closer to group reporting

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5451792ecc9ec3507c222da00d90a8829013ed50 05-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Improve error logging and handling

If we see an IO anomaly, make sure we dump as much info about the
filename, size, offset, etc.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7ff1c14bfb97c170c9654c8db5696764779ec4c9 03-Mar-2007 Joel Becker <Joel.Becker@oracle.com> fio.h: Fix TD_DDIR_RANDWRITE

A typeo had set DDIR_RANDWRITE to be "WRITE | READ" instead of
"WRITE | RAND". Correct it.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
480936dd2270baa028a8ad8ab20719caa0429968 02-Mar-2007 Joel Becker <Joel.Becker@oracle.com> fio.h: Grow td->verror

td->verror was 80 bytes. This truncates some error messages when the
filename or function name is long. Grow it to a round 128B.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2fd233b7302603fb6fd9b7098994d2a155cf7a22 02-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Convert null io engine to use ->setup()

Then we can get rid of the NULLIO flags hack

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
bdb4e2e99d4a87e5d3677cc09aa1ce92135125a9 01-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Better management of open files

This is a first step to properly supporting dynamic open/close of
new files, differently sized files, etc.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a9defc9abb4a3013335d3aeeb132fd90900cac85 01-Mar-2007 Joel Becker <joel.becker@oracle.com> [PATCH] ioengine flags: Replace FIO_NETIO with real flags that map the
behavior

The FIO_NETIO ioengine flag created two behaviors. First, open_files()
would not open any files - this was handled in engines/net:setup().
Second, init_disk_util() would ignore the files and not try to locate
their disk.

Other engines might want one of these behaviors but not the other. If
an engine opens its own files, it doesn't want open_files() to do anything,
even if the files are eventually disk-based. An engine might want to
prevent init_disk_util() from running.

The FIO_NETIO flag is split into two flags.

FIO_SELFOPEN states that the engine will do its own open(), whether it
is a real open(2) or something internal to the engine.

FIO_DISKLESSIO states that init_disk_util() is should not be run. fio
should treat the engine's files as if they are not part of a disk.

Finally, engines/net.c is changed to use these two flags.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9728ce37ea4348d4bdb2eefbaafee75ad651758c 01-Mar-2007 Joel Becker <joel.becker@oracle.com> [PATCH] init.c: Expose f_out and f_err to loaded libraries via dlsym()

Loaded ioengines would like to use the logging functions but can't, as
they can't see f_out and f_err. Create get_f_{out,err}() so that
the libraries can dlsym() them. Compile fio with -rdynamic so dlopen()
works.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
cb5ab5121ac4fa62e0ca2612b359f19bfdd30f29 26-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Add iodepth_batch setting

This allows controlling how much IO we submit in one go
independent of the iodepth set.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
5b38ee84f35c7cf3a3a804e6dbe3621f8980d3bb 26-Feb-2007 Jens Axboe <jens.axboe@oracle.com> syslet engine: smart batching

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d7762cf829fd3e44e50e5e2e9889b6449772097c 23-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Move completion handler into the io_u

This is needed for completions that happen outside of fio,
or more specifically, for syslet to enable completions in
a ->queue() hook combined with ->commit().

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b1ec1da670aab645e32303ea5ffaa1e5ca336936 23-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Move handling of possible values into the option parser

Eliminates the need for a callback for any FIO_OPT_STR type
option, unless it needs to do something there other than just
setting the variable.

The possible options are not in an array of value pairs, so we
can easily match an string option with an integer output value.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
413dd459a7710ba421061e840dd9ac3161c70f20 23-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Streamline thread_data data direction setting and checking

Currently it's a mess of ->ddir, ->iomix and ->sequential. Add
a TD_DDIR_* for each of these, so we can store them as one value.

A prerequisite for the next parsing cleanup.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
0aabe160c38efc3c42157fac2a9af08e070341c6 23-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Add option to select how to service multiple files

Right now we just round robin the open files, but sometimes you
just want to randomly go through the files. Add a 'file_service'
option for that, default to round robin still.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e1161c325f7866bae879e686d1c673ca32ab09ae 22-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Add more context to the error messages

Errors like:

fio: pid=0, err=22/file:filesetup.c:380, error=Invalid argument

do not give a lot of clue as to what is wrong, unless you
have a matching source. So add a context relevant info
message as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a2f77c9f5f01186882762264100b6d30ee77a55d 22-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Improve thread reap handling

It's a bit of a mess currently, streamline and clean it up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
433afcb4fe81e775c15af9d39a6f4db8a53d693a 22-Feb-2007 Jens Axboe <jens.axboe@oracle.com> io_u timeout handling

Further measures to prevent fio getting stuck, even in case of
engine timeout errors.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
0c6e75175bcaf8d05bfa88aa8caa584fbb848b74 22-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Track io_u state (free or in-flight)

That way we can catch proper use by fio, so we don't get stuck
in cleanup_pending_aio() if someone forgot to put_io_u() in an
error path.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
19abcd3d54b1a9c16a9042f07e937b2e35d9c6bc 21-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Don't overwrite error

The first error is usually the most interesting, so don't overwrite
in __td_verror().

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
72cb971b019945a0eb7528384338f0410373484f 20-Feb-2007 Jens Axboe <jens.axboe@oracle.com> More __must_check annotations

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b2fdda43cf0699f60e711429c778ff1685e30062 20-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Static error value checking

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e916b390684ec1ca6247f98138fa9c1682701d29 20-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Add low water mark for queuing depth

Current fio will attempt to keep the queue full at all times,
but sometimes that's not what you want. Add iodepth_low to
indicate a low water mark for queuing depth, so that when we
see a FIO_Q_BUSY or run out of free requests, let the queue
drain down to the iodepth_low setting before building it up
again.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
079ad09b1ef22fa0d47c2cd2673908c5619aa41a 20-Feb-2007 Jens Axboe <jens.axboe@oracle.com> First step for group reporting

Put most of the stats into a dedicated structure, so we can
later share such a structure between threads.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7e77dd026d85253936aef432ba8f3e89b96b805c 20-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Improve submission latency calculation

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
3d7c391dbdc56f261447b2d8ab65e74a42a20c41 19-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Retrieve next file to service in get_io_u()

This improves requeue handling, we don't want to inadvertently
skip a file because we requeue an io_u.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
755200a326a33e5e19b16dfd5e013dd98bcf1916 19-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Add support for queuing > 1 command at the time

For the async engines, we currently do queuing by issuing one
command at the the time. Improve this by adding a ->commit()
hook to complement the ->queue() hook. When ->queue() returns
FIO_Q_BUSY, call ->commit() to actually send off the io to the
kernel.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
97601024a53586d77a368763f08be9ee483fdc9c 18-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Cleanup end IO handling

Abstract out the end IO handling, so that callers don't have to
keep track of completion details. Then we can make the
io_completion_data structure private to io_u, and just provide to
functions to end io - one for sync completes, one for queued completes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
3af6ef399a9df324ffe4a8c8e03b52a42f587229 18-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Fully parallellize io_u verification

Keep a full queue whenever possible, do verifications while
io is in progress.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
36167d82e5f49dee91c6d2cd426068edee90e36f 18-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Change IO engine queuing

Instead of always pretending to be async, let the IO engines
return FIO_Q_COMPLETED or FIO_Q_QUEUED to signal async or
sync completions regardless of their nature. This cleans up
the queuing model quite a bit.

Also fixed a verification error spotted while doing this
transformation.

The main intent of this is to allow queuing more than 1 piece
of IO at the time, that will come in a later changeset.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
48097d5c61aa1718e6dd4b3b647ea2eb6f00fcfb 17-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add thinktime_spin parameter

If you specify thinktime currently, fio will sleep for the duration.
Apps will typically do some data processing before sleeping, so add
a thinktime_spin parameter to control how much CPU to burn before
sleeping.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e26f8f7a38365148ba1f345391da8596a8f7269e 17-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] file descriptor is int

This was mistakenly turned into a long, revert.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ec1183049478cfc03ec3cc513ae07b7ca9a48140 17-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] IO completion time histograms

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b6959b55efa7f464dbb7e7f2021dd67d297219bd 14-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] Make fio compile on non-x86 again

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a2e1b08afa641078832d69871ae5e404db3e4fc1 14-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] syslet engine: use pread instead lseek+read

And similar for write. Saves executing an atom.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a4f4fdd7c9e46a50bc33ecef44d9f06036580ad4 14-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] First cut syslet async io support

Doesn't seem to perform as well as expected, needs investigation.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
340fd243a168d881dd80b45f2ffb424287db8b7e 13-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] Make fio_assert() core dump the job

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
437c9b71527b14a8e872c03cd821179eba351474 13-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] Make the exit value meaningfull

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
0032bf9fdccc4491e779a0c581c9bcb714b012f7 13-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
1c9e06ee5cd492b4750b11d34d41c609eabecee0 11-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] Document/comment fio.h

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
c685b5b2912bfbd3cdc8729d16a98438b1ff7593 10-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
4d9345ae968ca92ace3dab06c25a9b73159cb329 07-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
cec6b55da1c282b5b91ad346c7804171fccf151e 06-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
ed92ac0ce9ce1cc64697272d307d4fa7d18ed64c 06-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
61697c37566a211ad3fd70f46397d9b7675b0fc2 05-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
bb3884d855100fa8fa6a1d2aac79e867dfd47bf9 17-Jan-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
71619dc28506f7b7b40905b942e992b02f0d5b96 13-Jan-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
687040842bf56502d33b6c0cb5d2af6da27d080c 10-Jan-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] Implement a better mean and standard deviation calculation

Based on Knuth's, volume 2.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9c1f7434526606fc8a4296190a2dea5de2651266 03-Jan-2007 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
ef9c5c40a9f4b0ce3be9f13cedaaf7e2a90d47a6 03-Jan-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] Fix deviation overflow

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
313cb206ffc6e50c089314d322ebf1c523f37531 21-Dec-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
56bb17f297c50b2832c845b0f6cdde5063748b34 20-Dec-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
d0bdaf49eb3f4faa941d02274f2bd875a187e7d7 20-Dec-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Support for mmap of hugetlb files as memory backing

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
74b025b071b5bfbffa7ad7682b66b749e8d1f955 19-Dec-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Support for hugetlb backed shared memory

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
9b031dc82192e884c1d6da9c86f047ecb9ef5c3a 15-Dec-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
1e97cce9f5a87a67293a05ec4533ed6968698b2e 05-Dec-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
690089990d051d86b4ef2b6fd5c1972c0dd4897b 24-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
02bcaa8c31feb93c61b701d143a7eea3efd2124d 24-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
c11883f748f8f192fc6b4b0ec25add8781a8f4a8 23-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
21972cdef7db6b557c2d56138f8434658a9d1e49 23-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
5f350952eff89948bfbf1eb6ac4d3d08a9109581 07-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
98aa62d863d78aaa725c37f2588aba415f5b224c 07-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
3c9b60c1fb144950ca51220ffa18f485672c3ba6 07-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Warn on writable strings

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
c7b0818d2a9d1b8597256ea002d9cf9346ea97f3 03-Nov-2006 Jens Axboe <axboe@nelson.home.kernel.dk> Merge branch 'master' of ssh://router/data/git/fio
34cfcdafa994a0a75120e498c51eda08bde5df72 03-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
6043c5790f9978814ec25e3ea8f4d574daf6266e 03-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add in-progress io rate

Dumped along with percentage and eta.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a00735e66f9ec42549da94eba3170e543b542904 03-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add seperate read/write block size options

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
6b9cea23c22c218625b68eca63da38089b299846 30-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Randomly fill output buffers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
690adba373bb8c97a365c67da369e265953c4b4c 30-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
bb8895e07c6d6417410545f45d34b1b7916cd90a 30-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
9158d2f7d9cea04a3f0cbe0817c697c0ba6e8b48 27-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
b46928282e0a890f49250e79b81af773a2b7108f 27-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [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>
/external/fio/fio.h
076efc7c60c351df783960a646e7fe8fba29dc19 27-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Improve io logging

write_iolog was broken. Change iolog= to read_iolog= to keep things
nicely seperated.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e1f365035a952233463d85d659bd960ba78f012e 27-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Abstract option handling

Instead of parsing manually, we abstract out everything so parse.[ch] is
now a generic config file parser. This is the next step towards unifying
command and job options.

I'm sure I broke plenty of options in the process...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
87dc1ab1b4df7b977f60e3d43533a896e2ee665b 24-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Implement file syncing as data direction

Instead of defining a seperate ->sync() operation for the io engine,
reuse the io_u infrastructure for committing and reaping sync
events as well. It's a nice cleanup as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
dfd7bc2c24d3a4281982eaf4f83aa1aeb09424de 24-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Shrink io_u a little

->index and ->seen can share the same space, they are both io engine
private.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
d55954f4857da597b2620f2417678eec47285666 24-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] f->fileno is not used

Remove it

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
13f8e2d2e3e5ec7d8c18b70fb2a2e2a026190020 24-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add option to specify the exact file used

Fio typically just makes up a filename for a job, but sometimes you want
to explicitly reuse the same file for multiple jobs. Add a filename=
option to cater to that.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
8c16d840377c1e6fb79f479ee60590a2da5b52ee 20-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Sanity check ops on loaded io engine

We require certain handlers to be there, or fio will either
malfunction or crash.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
10ba535a5cbb95b5576e33a6f8af093a6ca3bfd7 20-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Split the io_u io handling out of fio.c

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2f9ade3cb72218eb260f4f5e6914218bdcaa2bcc 20-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Split out the memory handling from fio.c

In the process also fix some bugs in the memory pinning.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ec94ec567cae47f91fa31a18250c2a7a0029d2ad 20-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add bw/lat log as job options

Currently you need to specify -l or -w, make them available as
a job config option as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
34572e28f8cf45ba4e2601797f2aa4a114601fb2 20-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add for_each_td()

Similar to for_each_file(), just iterates over each td we know about.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
25205e975e6dce6079a4b94d656724011f1aabd0 19-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] File creation and info fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
7313b48c3196b4750f4103e8622126039e2231c6 19-Oct-2006 Jens Axboe <axboe@nelson.home.kernel.dk> Merge branch 'master' of ssh://router/data/git/fio
0ab8db8943acc6b9ea778735563bfad2a79e8ddd 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Make fio -W clean again

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e5b401d4bf67a1704f28872d3abe09eaf65cdabe 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Sync and invalidate cache prior to running verify

Make sure we re-read the contents from disk, not from memory.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
a9619d44b439ac9c0d292925a5b4fd1b944d1263 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] More verify code move

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
e29d1b70a21e29801fb35dfbc1b236b7c8514055 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Split out the verify io parts

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
263e529f7d90892a610a5b26a519116fe3a675a6 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Split status/eta code out of fio.c

All in the name of making the code base easier to go through.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
f6cbb269c54ff40f3922818d42117f5a8026df36 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add support for unlinking io files

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b2a151925a91f38aeb298d693687a47269ad4e94 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH Various fixes

- Multiple files fixes
- Fix for unaligned io issued for raw io

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
53cdc6864f7471b28cc9b40a5314ab43e5b1cb5e 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] First cut at supporting > 1 file per job

This is likely very buggy, a simple test works though.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
ea2877a4ab0fb047a503ba0d7a0fd5393d0fb099 10-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Allow io engine to do the file setup

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
c1d5725eaad49dbf5b3a05c27b0b3677af69f64c 09-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Don't hardcode ioengine path

Use the prefix in the Makefile, so it can be packaged properly.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
2866c82d598e30604d8a92723c664ee6ced90fb0 09-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Separate io engines into separate loadable objects

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/fio.h
b990b5c06801d6d25e3fcc5415efbbe7bb23341e 14-Sep-2006 Jens Axboe <axboe@kernel.dk> [PATCH] Basic support for a cpu cycle eater job

This will allow you to put some cpu load on the box, while other
threads are doing IO.
/external/fio/fio.h
1056eaadb88722da0803f4d8a45dae9d5015f5e6 13-Jul-2006 Jens Axboe <axboe@suse.de> [PATCH] Fixup nice() return value and duplicate volatiles
/external/fio/fio.h
906c8d75eef9247c02d1f1f6771b6fa2338329fa 13-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Various little fixes and lots of commenting
/external/fio/fio.h
c6ae0a5b8123ea9af2ce70319081fbd5d65c8093 12-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Add option for terse parseable output
/external/fio/fio.h
9ebc27e1352b905fe3396ce2350a7765fe9c57b8 12-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Remove the old job command line options

It's all possible to specify in the job file.
/external/fio/fio.h
f94819192600fe35d03ebed26a803abdc2b9864c 09-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Make it easier to match up filename and job number
/external/fio/fio.h
3b70d7e51e0b672a8b337c57c8faf865c0b7f415 08-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] When logging to a file, stderr should go both to stderr and file
/external/fio/fio.h
eb8bbf48e79a8c6afd3c84e3d64263d10ee45daa 08-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Enable output logging to file instead of stdout
/external/fio/fio.h
f44c1d464a5a6583cd0b6e6068257988b5e5e403 08-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Improve run_str[] updates and printing
/external/fio/fio.h
6d6f031f036f0cead85b92211751fa9613c81862 07-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] fio.h is missing unistd.h include
/external/fio/fio.h
e9c047a0d8dfc32634b896e1600c6f1aa4174378 07-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Cleanups and 'td' size reduction
/external/fio/fio.h
bbfd6b00dea4daee05133c8cb991b78d091df9ae 07-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Easy process shared semaphores

We really need a pshared semaphore, but those aren't always available.
Just implement a cruddy local semaphore type, fio only really needs
to signal start/stop conditions.
/external/fio/fio.h
6dfd46b99af38cc1e5f702f53c59212129fe615e 07-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] OS abstract out the random seed and value retrieval

This is pretty crappy on FreeBSD, the seed function doesn't seed the
state we want. But it works, so it'll have to suffice for now...
/external/fio/fio.h
8914a9d83c67a2ead861ac997a1d4b06d02639bc 07-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] More function moving
/external/fio/fio.h
01452055af61d6f5de543575dba3ebb0c9e55fab 07-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Add name=x option to name jobs

This makes it easier to see what is going on with large job files.
/external/fio/fio.h
6796209a7e3d39522b0f5599aba277809786335e 07-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Shorten the file names, stupid to prefix everything with fio-
/external/fio/fio.h
3c39a379542fd819dbc5cf6daf59380911c39141 06-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Split up fio.c into log/stat/time parts
/external/fio/fio.h
e9b2a3fa90451c8390f8690f93d55fa0f52bf9d7 06-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Change logging unit from MiB to KiB
/external/fio/fio.h
da86774e5a002acf2c8d779b805305bc193fc0a5 06-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Add ioscheduler=x option to allow setting io scheduler
/external/fio/fio.h
4e0ba8af8f0bfe0f194122661c8a659c2ac748e6 06-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Add exec_prerun/exec_postrun options

Allows one to specify a command line program to run before and
after job io has finished.
/external/fio/fio.h
ef899b6393c43abd655ad2cbc22de18b88a101f8 06-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Dynamically allocate the big filename entries in td
/external/fio/fio.h
a12fc0225482bd1580a332312f2a60f73a9ebc28 02-Jun-2006 Jens Axboe <axboe@suse.de> Merge branch 'master' of ssh://router/data/git/fio

Conflicts:

fio.h
b6f4d8804ad499adf10b4cad0657284a8a4a6287 02-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Add support for specifying job nice value with nice=x
/external/fio/fio.h
a6ccc7be771650f903ea77ace2a1af593622c0f4 02-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Add support for specifying read/write mix workloads better

Added options:

- rwmixcycle=x, use x msecs as the cycle period for read/write switches
- rwmixread=x, x% of ios will be reads
- rwmixwrite=x, x% of ios will be writes

Last given of the latter two will override the first.
/external/fio/fio.h
843a741389226f5f2d0ce8636cd57532be9b7e4d 02-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Add write_iolog support
/external/fio/fio.h
fc1a471326fb5248a74ed3a206d37884b812c853 30-May-2006 Jens Axboe <axboe@suse.de> [PATCH] Add end_fsync option
/external/fio/fio.h
8756e4d421722eaeb089067aeaaf317d05d53a57 27-May-2006 Jens Axboe <axboe@suse.de> [PATCH] Support for splice IO engine
/external/fio/fio.h
aea47d444b02bd7c622f82bb73151fd7136a499f 26-May-2006 Jens Axboe <axboe@suse.de> [PATCH] Support for specifying exact io pattern

iolog=foo option added, when given fio will read the io pattern
from it and replay it.
/external/fio/fio.h
3d60d1ed78b663659967e04cc92e1359bd50fb3a 25-May-2006 Jens Axboe <axboe@suse.de> [PATCH] Add support for read/write mixed io
/external/fio/fio.h
eba09dd3809a1af93de79996cf9945f7b895f35f 22-May-2006 Jens Axboe <axboe@suse.de> [PATCH] Allow proper sharing of files
/external/fio/fio.h
6a0106a0ffb486d19ba8c1796b436c8ecdf64ed6 05-May-2006 Jens Axboe <axboe@suse.de> [PATCH] Fix ETA display

Should be precise within the limits of the knowledge we have.
/external/fio/fio.h
b1ff34038687057f1365d31e3eb3dc2e31ecac28 17-Feb-2006 Jens Axboe <axboe@suse.de> [PATCH] Support for multiple queued commands with read/write SG v3 io
/external/fio/fio.h
0af7b542b69af5ab2400a9960a5bcde82c05723f 17-Feb-2006 Jens Axboe <axboe@suse.de> [PATCH] Add support for the read/write interface of SG v3
/external/fio/fio.h
838a3cd3b7587d3188dc0c75ec73ca068430f01b 20-Jan-2006 Jens Axboe <axboe@suse.de> [PATCH] Fix offset/size setting problem

Add ->real_file_size, as ->file_size is the io size. Otherwise we don't
know if an offset + size is valid. This fixes the bug of offset >= size,
if size is set smaller than the device/file size.
/external/fio/fio.h
9104f874d726e84739d3b4008eee0f6ddfe96714 28-Dec-2005 Jens Axboe <axboe@suse.de> [PATCH] 32-bit fixes

Need to bump some variables to full 64-bits on 32-bit archs as well.
/external/fio/fio.h
20dc95c47087d486b5d4608fc15b1c2021761923 09-Dec-2005 Jens Axboe <axboe@suse.de> [PATCH] Add support for zoned io sections
/external/fio/fio.h
77cf8455a12a36b060b1a7085ba2de7e42b3966f 08-Dec-2005 Jens Axboe <axboe@suse.de> [PATCH] Kill ->cur_off, always just lseek() in sync ->io_prep
/external/fio/fio.h
ebac4655dd3624f3296ff83be48e0cdc02852f18 08-Dec-2005 Jens Axboe <axboe@suse.de> Move fio to seperate repo
/external/fio/fio.h