fio.git
14 years agoFio 1.27.4 fio-1.27.4
Jens Axboe [Thu, 11 Jun 2009 07:56:36 +0000 (09:56 +0200)]
Fio 1.27.4

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoRemove a reference check
Jens Axboe [Thu, 11 Jun 2009 07:56:21 +0000 (09:56 +0200)]
Remove a reference check

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFile close fixes
Jens Axboe [Wed, 10 Jun 2009 07:05:13 +0000 (09:05 +0200)]
File close fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Wed, 10 Jun 2009 06:55:35 +0000 (08:55 +0200)]
Merge branch 'master' of ssh://router/data/git/fio

14 years agoMore documentation updates
Jens Axboe [Wed, 10 Jun 2009 06:55:21 +0000 (08:55 +0200)]
More documentation updates

fio.1 should now be in sync with HOWTO.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoDocumentation update
Jens Axboe [Wed, 10 Jun 2009 06:39:16 +0000 (08:39 +0200)]
Documentation update

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFio 1.27.3 fio-1.27.3
Jens Axboe [Wed, 10 Jun 2009 04:58:47 +0000 (06:58 +0200)]
Fio 1.27.3

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix slat numbers
Jens Axboe [Wed, 10 Jun 2009 04:57:47 +0000 (06:57 +0200)]
Fix slat numbers

After commit 306ddc9752eef70c3fbb111af63d197a3a6d447f, it was logging
the blocksize since arguments 3 and 4 were switched.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix bad min rate check
Jens Axboe [Wed, 10 Jun 2009 04:35:48 +0000 (06:35 +0200)]
Fix bad min rate check

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoparser: get rid of FIO_OPT_STR_VAL_INT
Jens Axboe [Tue, 9 Jun 2009 13:43:25 +0000 (15:43 +0200)]
parser: get rid of FIO_OPT_STR_VAL_INT

It's treated the same as FIO_OPT_INT since we got rid of the
int vs siint distinction.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoUse __e for errno
Jens Axboe [Tue, 9 Jun 2009 13:23:38 +0000 (15:23 +0200)]
Use __e for errno

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFio 1.27.2 fio-1.27.2
Jens Axboe [Tue, 9 Jun 2009 12:38:06 +0000 (14:38 +0200)]
Fio 1.27.2

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix problem with too many opened files
Jens Axboe [Tue, 9 Jun 2009 12:34:35 +0000 (14:34 +0200)]
Fix problem with too many opened files

If using raw block devices, we would leak the fd from the bdev_size()
function. Also add some debug triggers to catch this in the future.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoBad indent
Jens Axboe [Tue, 9 Jun 2009 12:14:20 +0000 (14:14 +0200)]
Bad indent

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix fd leak in cache line checking
Jens Axboe [Tue, 9 Jun 2009 11:05:32 +0000 (13:05 +0200)]
Fix fd leak in cache line checking

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMissed int to pointer conversion check for ->ratemin
Jens Axboe [Tue, 9 Jun 2009 10:58:37 +0000 (12:58 +0200)]
Missed int to pointer conversion check for ->ratemin

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Tue, 9 Jun 2009 10:48:56 +0000 (12:48 +0200)]
Merge branch 'master' of ssh://router/data/git/fio

14 years agoAdd support for limiting only rate in only one direction
Jens Axboe [Tue, 9 Jun 2009 10:47:16 +0000 (12:47 +0200)]
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>
14 years agoFix bug in parser with postfix and truncated direction values
Jens Axboe [Tue, 9 Jun 2009 10:28:57 +0000 (12:28 +0200)]
Fix bug in parser with postfix and truncated direction values

If you pass in foo=500k, then the 'k' multiplier will go unnoticed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFio 1.27.1 fio-1.27.1
Jens Axboe [Fri, 5 Jun 2009 20:12:19 +0000 (22:12 +0200)]
Fio 1.27.1

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix fill_device with read/randread
Jens Axboe [Fri, 5 Jun 2009 20:11:52 +0000 (22:11 +0200)]
Fix fill_device with read/randread

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMove td_* ddir defines
Jens Axboe [Fri, 5 Jun 2009 20:10:51 +0000 (22:10 +0200)]
Move td_* ddir defines

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAdd pre_read to man page
Jens Axboe [Wed, 3 Jun 2009 10:14:08 +0000 (12:14 +0200)]
Add pre_read to man page

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFio 1.27 fio-1.27
Jens Axboe [Wed, 3 Jun 2009 09:36:29 +0000 (11:36 +0200)]
Fio 1.27

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoImprove throughput ETA display
Jens Axboe [Wed, 3 Jun 2009 08:53:45 +0000 (10:53 +0200)]
Improve throughput ETA display

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAdd iops rate to ETA display
Jens Axboe [Wed, 3 Jun 2009 08:47:44 +0000 (10:47 +0200)]
Add iops rate to ETA display

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix bug with rwmix and multiple loops over the same set
Jens Axboe [Wed, 3 Jun 2009 08:30:33 +0000 (10:30 +0200)]
Fix bug with rwmix and multiple loops over the same set

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMore fio.h cleanups
Jens Axboe [Wed, 3 Jun 2009 07:29:28 +0000 (09:29 +0200)]
More fio.h cleanups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoSplit off diskutil include
Jens Axboe [Wed, 3 Jun 2009 07:25:57 +0000 (09:25 +0200)]
Split off diskutil include

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMove file service type defines to file.h
Jens Axboe [Wed, 3 Jun 2009 06:54:00 +0000 (08:54 +0200)]
Move file service type defines to file.h

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAdd iolog defines
Jens Axboe [Wed, 3 Jun 2009 06:53:28 +0000 (08:53 +0200)]
Add iolog defines

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMove IO engine flags
Jens Axboe [Wed, 3 Jun 2009 06:50:36 +0000 (08:50 +0200)]
Move IO engine flags

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAdd ioengine.h header
Jens Axboe [Wed, 3 Jun 2009 06:49:39 +0000 (08:49 +0200)]
Add ioengine.h header

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMove more file stuff to file.h
Jens Axboe [Wed, 3 Jun 2009 06:46:38 +0000 (08:46 +0200)]
Move more file stuff to file.h

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoCleanup verify headers
Jens Axboe [Wed, 3 Jun 2009 06:45:40 +0000 (08:45 +0200)]
Cleanup verify headers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoClean up file flags
Jens Axboe [Wed, 3 Jun 2009 06:41:15 +0000 (08:41 +0200)]
Clean up file flags

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix problem with fill_device and read workloads
Jens Axboe [Tue, 2 Jun 2009 19:40:09 +0000 (21:40 +0200)]
Fix problem with fill_device and read workloads

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMake pre_read imply invalidate=0
Jens Axboe [Tue, 2 Jun 2009 12:19:25 +0000 (14:19 +0200)]
Make pre_read imply invalidate=0

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agommap engine: don't invalidate cache on segment remap
Jens Axboe [Tue, 2 Jun 2009 12:18:41 +0000 (14:18 +0200)]
mmap engine: don't invalidate cache on segment remap

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agommap engine: remove 'mmap too large' check for 32-bit
Jens Axboe [Tue, 2 Jun 2009 11:41:27 +0000 (13:41 +0200)]
mmap engine: remove 'mmap too large' check for 32-bit

We now support large files regardless of architecture, so just kill
the check again.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agommap engine: allow large files on 32-bit archs
Jens Axboe [Tue, 2 Jun 2009 11:06:01 +0000 (13:06 +0200)]
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>
14 years agoFio man page still refers to old mailing list
Jens Axboe [Tue, 2 Jun 2009 10:15:51 +0000 (12:15 +0200)]
Fio man page still refers to old mailing list

Point it at the vger list instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix problem with fadvise() and fill_device option
Jens Axboe [Tue, 2 Jun 2009 09:27:26 +0000 (11:27 +0200)]
Fix problem with fadvise() and fill_device option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Wed, 27 May 2009 11:12:14 +0000 (13:12 +0200)]
Merge branch 'master' of ssh://router/data/git/fio

14 years agoIncrease accuracy of disk utility percentage
Jens Axboe [Wed, 27 May 2009 11:11:20 +0000 (13:11 +0200)]
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>
14 years agoRemove io_u->endpos
Jens Axboe [Fri, 22 May 2009 07:51:20 +0000 (09:51 +0200)]
Remove io_u->endpos

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

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMake sure that exec_prerun/postrun work for shell commands
Jens Axboe [Wed, 20 May 2009 10:10:02 +0000 (12:10 +0200)]
Make sure that exec_prerun/postrun work for shell commands

Pass the arguments to sh for execution.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix old printf() in pre_read()
Jens Axboe [Wed, 20 May 2009 09:56:54 +0000 (11:56 +0200)]
Fix old printf() in pre_read()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFio 1.26.4 fio-1.26.4
Jens Axboe [Wed, 20 May 2009 09:53:04 +0000 (11:53 +0200)]
Fio 1.26.4

pre_read option was buggy, so tag a new release now.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agopre_read fixes
Jens Axboe [Wed, 20 May 2009 09:52:15 +0000 (11:52 +0200)]
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>
14 years agoFio 1.26.3 fio-1.26.3
Jens Axboe [Wed, 20 May 2009 09:37:15 +0000 (11:37 +0200)]
Fio 1.26.3

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAdd fio_generate_plots.1 man page from debian package
Jens Axboe [Wed, 20 May 2009 09:36:39 +0000 (11:36 +0200)]
Add fio_generate_plots.1 man page from debian package

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoman page fix to make lintian happy
Martin Steigerwald [Wed, 20 May 2009 09:33:49 +0000 (11:33 +0200)]
man page fix to make lintian happy

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAdd pre_read option
Zhang, Yanmin [Wed, 20 May 2009 09:30:55 +0000 (11:30 +0200)]
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>
14 years agoAdd appropriate warning in mmap engine for large maps failing
Jens Axboe [Wed, 20 May 2009 08:49:44 +0000 (10:49 +0200)]
Add appropriate warning in mmap engine for large maps failing

On 32-bit archs, this can trigger for large files. This should be fixed by
mapping lazily, for now just catch the error.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoClear f on error get_next_file_rr()
Jens Axboe [Wed, 20 May 2009 08:45:12 +0000 (10:45 +0200)]
Clear f on error get_next_file_rr()

Otherwise we could return an invalid non-open file and trigger and
assertion failure later in the process.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoReturn EILSEQ on verify errors instead of EIO
Jens Axboe [Tue, 19 May 2009 08:35:38 +0000 (10:35 +0200)]
Return EILSEQ on verify errors instead of EIO

Suggested by Randy Dunlap <randy.dunlap@oracle.com>

This makes it easier to differentiate between an error to read/write
from disk versus getting the wrong data back.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoInclude transfer size in the clat/slat measurements
Jens Axboe [Mon, 18 May 2009 11:08:12 +0000 (13:08 +0200)]
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>
14 years agoFix garbling of clat/slat logs if a shared log file is used
Fabio Checconi [Mon, 18 May 2009 10:54:50 +0000 (12:54 +0200)]
Fix garbling of clat/slat logs if a shared log file is used

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Wed, 13 May 2009 05:51:19 +0000 (07:51 +0200)]
Merge branch 'master' of ssh://router/data/git/fio

14 years agofio howto typo fixes
Randy Dunlap [Wed, 13 May 2009 05:51:05 +0000 (07:51 +0200)]
fio howto typo fixes

Fix a few typos in the fio HOWTO file.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agofio docs corrections
Randy Dunlap [Wed, 13 May 2009 05:50:38 +0000 (07:50 +0200)]
fio docs corrections

Correct fio mailing list address and unit of time for cpuchunks.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agonet engine: fix compilation warnings on Solaris
Jens Axboe [Mon, 11 May 2009 08:37:33 +0000 (10:37 +0200)]
net engine: fix compilation warnings on Solaris

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFio 1.26.2 fio-1.26.2
Jens Axboe [Thu, 7 May 2009 12:21:59 +0000 (14:21 +0200)]
Fio 1.26.2

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Thu, 30 Apr 2009 06:07:43 +0000 (08:07 +0200)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

14 years ago'V' is a running state, not an idle state. Correct HOWTO.
Jens Axboe [Wed, 29 Apr 2009 07:52:10 +0000 (09:52 +0200)]
'V' is a running state, not an idle state. Correct HOWTO.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAlign io units to processor cache line size
Jens Axboe [Wed, 29 Apr 2009 07:48:04 +0000 (09:48 +0200)]
Align io units to processor cache line size

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix name of the slat log file
Radha Ramachandran [Wed, 29 Apr 2009 05:23:26 +0000 (07:23 +0200)]
Fix name of the slat log file

Currently the slat and clat logs go to the same clat log file when the
latency log file is specified.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoDon't populate random data for verify reads
Radha Ramachandran [Tue, 28 Apr 2009 06:12:56 +0000 (08:12 +0200)]
Don't populate random data for verify reads

I was seeing some performance drop during the read verification phase
of a test, and from the code in io_u.c in get_io_u function, we
prepare/populate the buffer in the io_u structure based on the verify
patterns/options.
This makes sense when we are doing writes, but I dont understand why
we do this for the read phase when this data is going to be
overwritten anyways(and in case of truncated reads, we do modify the
buf_len).
So based on that I changed the code to populate the buffer(io_u->buf)
only if its a write with verify enabled.
This works for my tests, but I do not know if there was a reason why
this was populated for reads as well to begin with.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFio 1.26.1 fio-1.26.1
Jens Axboe [Mon, 27 Apr 2009 06:05:45 +0000 (08:05 +0200)]
Fio 1.26.1

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFilename must be parsed after directory option
Jens Axboe [Mon, 27 Apr 2009 06:00:48 +0000 (08:00 +0200)]
Filename must be parsed after directory option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoUpdate bssplit documentation in fio.1
Jens Axboe [Fri, 24 Apr 2009 12:23:59 +0000 (14:23 +0200)]
Update bssplit documentation in fio.1

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agofio: Include support for ARM
Kedar Sovani [Thu, 23 Apr 2009 11:47:41 +0000 (13:47 +0200)]
fio: Include support for ARM

Assembly instructions picked from include/asm-arm/system.h

Signed-off-by: Kedar Sovani <kedars@marvell.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFio 1.26 fio-1.26
Jens Axboe [Wed, 22 Apr 2009 07:48:34 +0000 (09:48 +0200)]
Fio 1.26

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAdd sample job for doing a quick SSD performance analysis
Jens Axboe [Wed, 22 Apr 2009 07:47:43 +0000 (09:47 +0200)]
Add sample job for doing a quick SSD performance analysis

Nothing SSD special about it really, but this sort of test is
useful on SSD drives to see if they are crap or not.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoFix issue with random offset being off if io_size != real_file_size
Radha Ramachandran [Wed, 22 Apr 2009 06:17:42 +0000 (08:17 +0200)]
Fix issue with random offset being off if io_size != real_file_size

get_next_free_block() would generate offset that were larger than the
requested size, either causing failures or just causing the test
to exit prematurely.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoRemove debug printf()
Jens Axboe [Tue, 21 Apr 2009 07:17:31 +0000 (09:17 +0200)]
Remove debug printf()

Left in by mistake.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
14 years agoAdd support for different weights for reads and writes with bssplit
Jens Axboe [Tue, 21 Apr 2009 06:29:55 +0000 (08:29 +0200)]
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>
14 years agoAllow IO logging even for diskless engines
Jens Axboe [Tue, 21 Apr 2009 06:28:17 +0000 (08:28 +0200)]
Allow IO logging even for diskless engines

Helps to verify IO patterns.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agosplice engine: fix vmsplice() problem with block sizes larger than a pipe
Jens Axboe [Mon, 20 Apr 2009 10:39:17 +0000 (12:39 +0200)]
splice engine: fix vmsplice() problem with block sizes larger than a pipe

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoFio 1.25.2 fio-1.25.2
Jens Axboe [Mon, 20 Apr 2009 09:39:04 +0000 (11:39 +0200)]
Fio 1.25.2

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoFix throughput reporting
Jens Axboe [Mon, 20 Apr 2009 08:06:02 +0000 (10:06 +0200)]
Fix throughput reporting

It was off by 1024/1024 :/

Initial patch from Carl Henrik Lunde <chlunde@ping.uio.no>

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoFix crash with multiple files
Carl Henrik Lunde [Mon, 20 Apr 2009 06:41:37 +0000 (08:41 +0200)]
Fix crash with multiple files

There's an off-by-one in add_file() when it calculates the size
for the file array.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoFio 1.25.1 fio-1.25.1
Jens Axboe [Wed, 8 Apr 2009 05:54:20 +0000 (07:54 +0200)]
Fio 1.25.1

Silly segfault with cpuio/null engines.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Tue, 7 Apr 2009 20:21:28 +0000 (22:21 +0200)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

15 years agoUse td_io_get_file_size() instead of calling ->get_file_size()
Jens Axboe [Tue, 7 Apr 2009 20:20:56 +0000 (22:20 +0200)]
Use td_io_get_file_size() instead of calling ->get_file_size()

It may be NULL on some engines, causing a crash.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoFio 1.25 fio-1.25
Jens Axboe [Tue, 7 Apr 2009 11:40:04 +0000 (13:40 +0200)]
Fio 1.25

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoReseed random generator for loop/time based runs
Jens Axboe [Tue, 7 Apr 2009 11:28:12 +0000 (13:28 +0200)]
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>
15 years agoFile reset should clear random map as well
Jens Axboe [Tue, 7 Apr 2009 11:06:43 +0000 (13:06 +0200)]
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>
15 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Tue, 7 Apr 2009 10:52:08 +0000 (12:52 +0200)]
Merge branch 'master' of ssh://router/data/git/fio

15 years agoaio: fixed a signedness issue that could cause abort on strace
Jens Axboe [Tue, 7 Apr 2009 10:51:45 +0000 (12:51 +0200)]
aio: fixed a signedness issue that could cause abort on strace

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoAdd some missing options to the man page
Jens Axboe [Sat, 14 Mar 2009 19:17:36 +0000 (20:17 +0100)]
Add some missing options to the man page

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoMan page typo on zero_buffers
Jens Axboe [Sat, 14 Mar 2009 19:08:47 +0000 (20:08 +0100)]
Man page typo on zero_buffers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoAdd blockalign/ba option
Jens Axboe [Wed, 11 Mar 2009 10:00:13 +0000 (11:00 +0100)]
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>
15 years agoFix integer store bug in parser
Jens Axboe [Tue, 10 Mar 2009 07:57:34 +0000 (08:57 +0100)]
Fix integer store bug in parser

With commit f7fa2653589f9ecf0d3d106286f17620bcf32de0 I forgot to check
the type, so we would mis-store on platforms where sizeof(int) is different
from sizeof(long).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoAdd some missing options to the man page
Jens Axboe [Mon, 9 Mar 2009 13:22:56 +0000 (14:22 +0100)]
Add some missing options to the man page

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoGet rid of int vs siint difference
Jens Axboe [Mon, 9 Mar 2009 13:20:20 +0000 (14:20 +0100)]
Get rid of int vs siint difference

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoUpdate HOWTO with 0x base for siint
Jens Axboe [Mon, 9 Mar 2009 13:16:47 +0000 (14:16 +0100)]
Update HOWTO with 0x base for siint

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoAllow 0x (or 0X) prefix for any int value to indicate hex base
Jens Axboe [Mon, 9 Mar 2009 13:15:21 +0000 (14:15 +0100)]
Allow 0x (or 0X) prefix for any int value to indicate hex base

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 years agoFix failure to strip end of line with comment
Jens Axboe [Fri, 6 Mar 2009 19:29:29 +0000 (20:29 +0100)]
Fix failure to strip end of line with comment

We left a space at the end, which confused the postfix checking.

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