fio.git
17 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Wed, 14 Mar 2007 13:15:45 +0000 (14:15 +0100)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

17 years agoposixaio engine: better handling of partial completions
Jens Axboe [Wed, 14 Mar 2007 13:14:48 +0000 (14:14 +0100)]
posixaio engine: better handling of partial completions

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoDon't free ->files
Jens Axboe [Wed, 14 Mar 2007 12:58:54 +0000 (13:58 +0100)]
Don't free ->files

It may be shared.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoHelp update
Jens Axboe [Wed, 14 Mar 2007 12:28:31 +0000 (13:28 +0100)]
Help update

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd suboption help texts
Jens Axboe [Wed, 14 Mar 2007 12:24:07 +0000 (13:24 +0100)]
Add suboption help texts

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoLeft justify help output
Jens Axboe [Wed, 14 Mar 2007 12:02:53 +0000 (13:02 +0100)]
Left justify help output

The right justification may look prettier, but it's harder
to read and find the option.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoFio version 1.14 fio-1.14
Jens Axboe [Wed, 14 Mar 2007 10:37:39 +0000 (11:37 +0100)]
Fio version 1.14

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoNew/old file mix fix
Jens Axboe [Wed, 14 Mar 2007 10:21:27 +0000 (11:21 +0100)]
New/old file mix fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoUpdate io engine comments
Jens Axboe [Wed, 14 Mar 2007 09:59:33 +0000 (10:59 +0100)]
Update io engine comments

Some were plain wrong, mainly because they were born through
copying an existing engine.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agommap engine: make sure that page unaligned syncs work
Jens Axboe [Wed, 14 Mar 2007 09:34:47 +0000 (10:34 +0100)]
mmap engine: make sure that page unaligned syncs work

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agorecurse_dir(): Move . and .. check earlier
Jens Axboe [Wed, 14 Mar 2007 08:39:06 +0000 (09:39 +0100)]
recurse_dir(): Move . and .. check earlier

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoBetter handling of file creation vs existing files
Jens Axboe [Wed, 14 Mar 2007 08:16:09 +0000 (09:16 +0100)]
Better handling of file creation vs existing files

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoFix for bs shrinkage
Jens Axboe [Wed, 14 Mar 2007 08:15:42 +0000 (09:15 +0100)]
Fix for bs shrinkage

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoWhen opening a new file, check file limit not total number
Jens Axboe [Wed, 14 Mar 2007 07:50:49 +0000 (08:50 +0100)]
When opening a new file, check file limit not total number

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoFix double io_u free in error path
Jens Axboe [Tue, 13 Mar 2007 20:50:34 +0000 (21:50 +0100)]
Fix double io_u free in error path

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoPrint informative error when we hit the max number of files open
Jens Axboe [Tue, 13 Mar 2007 20:41:38 +0000 (21:41 +0100)]
Print informative error when we hit the max number of files open

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd 'opendir' option
Jens Axboe [Tue, 13 Mar 2007 14:28:55 +0000 (15:28 +0100)]
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>
17 years agoCheck for open files on io operations
Jens Axboe [Tue, 13 Mar 2007 13:50:28 +0000 (14:50 +0100)]
Check for open files on io operations

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd 'fsync_on_close' option
Jens Axboe [Tue, 13 Mar 2007 13:42:15 +0000 (14:42 +0100)]
Add 'fsync_on_close' option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoObscure file randommap fix
Jens Axboe [Tue, 13 Mar 2007 13:16:08 +0000 (14:16 +0100)]
Obscure file randommap fix

If file size < block and no size is given, we could be generating
a random offset within -1 and deref ->file_map[] beyond its size.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agonr_files conflict with filename
Jens Axboe [Tue, 13 Mar 2007 13:02:16 +0000 (14:02 +0100)]
nr_files conflict with filename

If nr_files is larger than the given number of files, it has
to be lowered. Assume that if the user gives a set of filenames
that this is the number he wants, otherwise he should use not
use a filename setting.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoTotal file size handling fix
Jens Axboe [Tue, 13 Mar 2007 12:30:40 +0000 (13:30 +0100)]
Total file size handling fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoImprove handling of nr_files != open_files
Jens Axboe [Tue, 13 Mar 2007 12:25:18 +0000 (13:25 +0100)]
Improve handling of nr_files != open_files

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoInit stat for all files, not just current range
Jens Axboe [Tue, 13 Mar 2007 11:51:40 +0000 (12:51 +0100)]
Init stat for all files, not just current range

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoMake disk_util() account for all files
Jens Axboe [Tue, 13 Mar 2007 11:28:40 +0000 (12:28 +0100)]
Make disk_util() account for all files

Now we can have files all over the place, so we need to loop
over td->files[] to setup disk util stats.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoNormal vs special files fixups
Jens Axboe [Tue, 13 Mar 2007 10:52:47 +0000 (11:52 +0100)]
Normal vs special files fixups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoOne more f->file_name typo
Jens Axboe [Tue, 13 Mar 2007 10:25:07 +0000 (11:25 +0100)]
One more f->file_name typo

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agotd->filename vs f->filename typo
Jens Axboe [Tue, 13 Mar 2007 10:22:09 +0000 (11:22 +0100)]
td->filename vs f->filename typo

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoStrip blank end/front of filenames
Jens Axboe [Tue, 13 Mar 2007 10:18:57 +0000 (11:18 +0100)]
Strip blank end/front of filenames

We do this for other options.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoIf we use jobname as file, only append job/file numer for nrfiles > 1
Jens Axboe [Tue, 13 Mar 2007 10:17:07 +0000 (11:17 +0100)]
If we use jobname as file, only append job/file numer for nrfiles > 1

Otherwise we break the abillity to do [/dev/sda] for /dev/sda and
so on.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoDon't stack allocate file name
Jens Axboe [Tue, 13 Mar 2007 10:12:14 +0000 (11:12 +0100)]
Don't stack allocate file name

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd file reference counting
Jens Axboe [Tue, 13 Mar 2007 10:06:45 +0000 (11:06 +0100)]
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>
17 years agoTurn file ->open and ->unlink into flags
Jens Axboe [Tue, 13 Mar 2007 09:16:34 +0000 (10:16 +0100)]
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>
17 years agoAllow explicit setting of a number of files
Jens Axboe [Tue, 13 Mar 2007 09:07:47 +0000 (10:07 +0100)]
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>
17 years agoAn option need not include ->posval[] entries
Jens Axboe [Tue, 13 Mar 2007 07:54:06 +0000 (08:54 +0100)]
An option need not include ->posval[] entries

So only fail if we actually looked over some entries.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] disk_util: Allow an engine to turn off disk_util specifically
Jens Axboe [Tue, 13 Mar 2007 07:15:18 +0000 (08:15 +0100)]
[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>
17 years agoinit.c: Fix non-regular-file booboo
Joel Becker [Tue, 13 Mar 2007 07:10:14 +0000 (08:10 +0100)]
init.c: Fix non-regular-file booboo

If a filename is given, and that filename is a device file, fio will
ignore the filename, using the job name.  Then it tries to open the job
name instead of the filename.  Whoops.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoGroup reporting fixes
Jens Axboe [Mon, 12 Mar 2007 14:24:43 +0000 (15:24 +0100)]
Group reporting fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoImprove job grouping
Jens Axboe [Mon, 12 Mar 2007 14:09:24 +0000 (15:09 +0100)]
Improve job grouping

Group jobs as follows:

- Jobs before or after a stonewall have different groupids
- Jobs grouped with numjobs have a private groupid

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoMerge branch 'master' of ssh://git.kernel.dk/data/git/fio
Jens Axboe [Mon, 12 Mar 2007 13:20:58 +0000 (14:20 +0100)]
Merge branch 'master' of ssh://git.kernel.dk/data/git/fio

17 years agoShow IOPS as well as bw numbers
Jens Axboe [Mon, 12 Mar 2007 13:19:47 +0000 (14:19 +0100)]
Show IOPS as well as bw numbers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agopointer -> int conversion warning
Jens Axboe [Mon, 12 Mar 2007 12:22:05 +0000 (13:22 +0100)]
pointer -> int conversion warning

It doesn't matter, but silence the warning.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoOne more missed s/td->filename/fn_given
Jens Axboe [Mon, 12 Mar 2007 11:42:21 +0000 (12:42 +0100)]
One more missed s/td->filename/fn_given

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoFile name generation fix
Jens Axboe [Mon, 12 Mar 2007 11:40:26 +0000 (12:40 +0100)]
File name generation fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd nr parameter to file_service_type
Jens Axboe [Mon, 12 Mar 2007 10:44:28 +0000 (11:44 +0100)]
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>
17 years agoNote process vs thread in output
Jens Axboe [Mon, 12 Mar 2007 10:29:30 +0000 (11:29 +0100)]
Note process vs thread in output

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoOOM fixes
Jens Axboe [Mon, 12 Mar 2007 10:21:48 +0000 (11:21 +0100)]
OOM fixes

Hit this with many threads running.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoQuit on thread creation failure
Jens Axboe [Mon, 12 Mar 2007 10:03:04 +0000 (11:03 +0100)]
Quit on thread creation failure

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoIf filename not given, use jobname
Jens Axboe [Mon, 12 Mar 2007 10:01:25 +0000 (11:01 +0100)]
If filename not given, use jobname

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoReturn EIO for verification failure
Jens Axboe [Mon, 12 Mar 2007 09:05:08 +0000 (10:05 +0100)]
Return EIO for verification failure

We passed back 1, where we need some sort of symbolic error.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agosyslet engine: residual fix
Jens Axboe [Mon, 12 Mar 2007 08:43:05 +0000 (09:43 +0100)]
syslet engine: residual fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoIf residual count == full count, fail the io
Jens Axboe [Mon, 12 Mar 2007 08:37:46 +0000 (09:37 +0100)]
If residual count == full count, fail the io

We always do blocking io, so regard nothing read/written as an error
condition.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoOverwrite fix
Jens Axboe [Mon, 12 Mar 2007 08:32:47 +0000 (09:32 +0100)]
Overwrite fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoFile truncation and extend fixes
Jens Axboe [Mon, 12 Mar 2007 08:25:55 +0000 (09:25 +0100)]
File truncation and extend fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoClear ->rate_bytes on do_io() loop
Jens Axboe [Mon, 12 Mar 2007 07:02:10 +0000 (08:02 +0100)]
Clear ->rate_bytes on do_io() loop

We don't do rates across loops, so remember to clear ->rate_bytes
when we start a new loop.

Problem report from "Ananiev, Leonid I" <leonid.i.ananiev@intel.com>

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoTurn the CPU burner into a real io engine
Jens Axboe [Fri, 9 Mar 2007 13:34:23 +0000 (14:34 +0100)]
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>
17 years agonull engine: fix queue bug with repeated commit() calls before event retrieval
Jens Axboe [Fri, 9 Mar 2007 12:45:11 +0000 (13:45 +0100)]
null engine: fix queue bug with repeated commit() calls before event retrieval

Don't return anything if min_events == 0. This exposed a bug in
the commit handler, it needs to add to ->events, not set it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agonull engine: update to support queuing
Jens Axboe [Fri, 9 Mar 2007 12:23:14 +0000 (13:23 +0100)]
null engine: update to support queuing

Useful for queue testing.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoDocument 'openfiles' option
Jens Axboe [Fri, 9 Mar 2007 12:03:00 +0000 (13:03 +0100)]
Document 'openfiles' option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoFix ->file_map leak
Jens Axboe [Fri, 9 Mar 2007 11:52:15 +0000 (12:52 +0100)]
Fix ->file_map leak

Just to appease valgrind.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoRemove ->mutex after last use, not on job exit
Jens Axboe [Fri, 9 Mar 2007 11:42:35 +0000 (12:42 +0100)]
Remove ->mutex after last use, not on job exit

Frees up that file descriptor.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoShrink the semaphores a little
Jens Axboe [Fri, 9 Mar 2007 11:40:02 +0000 (12:40 +0100)]
Shrink the semaphores a little

The downside is that they hold the fd open, so it steals one
possible file open per-file. Will fix that in the next commit.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoMake sure each job loads a private io engine
Jens Axboe [Fri, 9 Mar 2007 08:00:06 +0000 (09:00 +0100)]
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>
17 years agomutex error handling
Jens Axboe [Thu, 8 Mar 2007 19:29:11 +0000 (20:29 +0100)]
mutex error handling

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd mutex object file to other Makefile's
Jens Axboe [Thu, 8 Mar 2007 19:27:21 +0000 (20:27 +0100)]
Add mutex object file to other Makefile's

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd a real semaphore implemtation
Jens Axboe [Thu, 8 Mar 2007 19:25:46 +0000 (20:25 +0100)]
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>
17 years agoUse DDIR_WRITE symbolic value instead of a hard coded 2
Jens Axboe [Thu, 8 Mar 2007 18:09:49 +0000 (19:09 +0100)]
Use DDIR_WRITE symbolic value instead of a hard coded 2

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoA few more stat fixes and cleanups
Jens Axboe [Thu, 8 Mar 2007 14:35:11 +0000 (15:35 +0100)]
A few more stat fixes and cleanups

Mostly cleanups, but also one group status index that was
hardcoded as READ when it should be 'i' for either read or write.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoFixup reporting for !runtime data directions
Jens Axboe [Thu, 8 Mar 2007 14:28:10 +0000 (15:28 +0100)]
Fixup reporting for !runtime data directions

Got broken with the group reporting, the minimum time and bw
should only be accounted for data directions where actual
work has happened. Otherwise they are pretty much guarenteed
to be 0.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoGet rid of reopen_files()
Jens Axboe [Thu, 8 Mar 2007 13:29:03 +0000 (14:29 +0100)]
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>
17 years agonull engine: don't dup() stdin anymore
Jens Axboe [Thu, 8 Mar 2007 13:09:59 +0000 (14:09 +0100)]
null engine: don't dup() stdin anymore

We can now track fd independently of ->fd, so don't open
a file we don't have to use.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd ->open to struct fio_file
Jens Axboe [Thu, 8 Mar 2007 13:09:18 +0000 (14:09 +0100)]
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>
17 years agoget_next_offset() number of loops change
Jens Axboe [Thu, 8 Mar 2007 13:02:42 +0000 (14:02 +0100)]
get_next_offset() number of loops change

Commit b5af82930ccfd7dda6a1b11794efb452eb76d8dc inadvertently
changed this, revert.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agofile_service_type=random fix
Jens Axboe [Thu, 8 Mar 2007 12:33:36 +0000 (13:33 +0100)]
file_service_type=random fix

It generated 0..n-1, where we wanted 0..n.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoEngines should not touch nr_open_files anymore
Jens Axboe [Thu, 8 Mar 2007 12:23:10 +0000 (13:23 +0100)]
Engines should not touch nr_open_files anymore

Leftover fix, should have been included with the ->open_file()
addition.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoopenfiles fix
Jens Axboe [Thu, 8 Mar 2007 12:08:24 +0000 (13:08 +0100)]
openfiles fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoFix invalidate cache typo
Jens Axboe [Thu, 8 Mar 2007 11:49:37 +0000 (12:49 +0100)]
Fix invalidate cache typo

The odirect check was reversed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoRevamp file open/close handling
Jens Axboe [Thu, 8 Mar 2007 11:43:13 +0000 (12:43 +0100)]
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>
17 years agoMove description text
Jens Axboe [Tue, 6 Mar 2007 19:01:13 +0000 (20:01 +0100)]
Move description text

It was dangling at the bottom.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoTerse output change
Jens Axboe [Tue, 6 Mar 2007 18:50:58 +0000 (19:50 +0100)]
Terse output change

- Missing a comma.
- Change comma to semicolon, less confusion over floating point numbers.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoShow how many jobs are in a group
Jens Axboe [Tue, 6 Mar 2007 18:46:09 +0000 (19:46 +0100)]
Show how many jobs are in a group

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoUpdate terse output
Jens Axboe [Tue, 6 Mar 2007 16:05:32 +0000 (17:05 +0100)]
Update terse output

Several additions to the verbose output have been added since the
terse format was introduced, update it to match.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoDefault to using gettimeofday()
Jens Axboe [Tue, 6 Mar 2007 15:53:26 +0000 (16:53 +0100)]
Default to using gettimeofday()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agostat.c: Superflous n
Jens Axboe [Tue, 6 Mar 2007 14:48:38 +0000 (15:48 +0100)]
stat.c: Superflous n

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoBe sure to pick up any group error with group_reporting
Jens Axboe [Tue, 6 Mar 2007 14:46:33 +0000 (15:46 +0100)]
Be sure to pick up any group error with group_reporting

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoDocument the 'group_reporting' option
Jens Axboe [Tue, 6 Mar 2007 14:40:49 +0000 (15:40 +0100)]
Document the 'group_reporting' option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoStat summation fixup
Jens Axboe [Tue, 6 Mar 2007 14:37:00 +0000 (15:37 +0100)]
Stat summation fixup

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agotd vs ts typo
Jens Axboe [Tue, 6 Mar 2007 14:32:33 +0000 (15:32 +0100)]
td vs ts typo

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoAdd group reporting
Jens Axboe [Tue, 6 Mar 2007 14:19:24 +0000 (15:19 +0100)]
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>
17 years agoOne step closer to group reporting
Jens Axboe [Tue, 6 Mar 2007 11:43:03 +0000 (12:43 +0100)]
One step closer to group reporting

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoDon't kill() running threads
Jens Axboe [Mon, 5 Mar 2007 19:18:31 +0000 (20:18 +0100)]
Don't kill() running threads

Just let them exit nicely.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Mon, 5 Mar 2007 18:23:19 +0000 (19:23 +0100)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

17 years agoCleanup requeue handling
Jens Axboe [Mon, 5 Mar 2007 17:33:22 +0000 (18:33 +0100)]
Cleanup requeue handling

Clear ->resid automatically, and get rid of the goto construct.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoInclude location for RH related distros.
Jens Axboe [Mon, 5 Mar 2007 11:37:54 +0000 (12:37 +0100)]
Include location for RH related distros.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoForced kill is not used anymore.
Jens Axboe [Mon, 5 Mar 2007 11:35:29 +0000 (12:35 +0100)]
Forced kill is not used anymore.

So remove the parameter from terminate_thread()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoGently prod children with a SIGQUIT on terminate
Jens Axboe [Mon, 5 Mar 2007 11:32:32 +0000 (12:32 +0100)]
Gently prod children with a SIGQUIT on terminate

This should unstuck most loops.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agoImprove error logging and handling
Jens Axboe [Mon, 5 Mar 2007 09:06:06 +0000 (10:06 +0100)]
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>
17 years agoFio 1.13 fio-1.13
Jens Axboe [Sat, 3 Mar 2007 11:21:34 +0000 (12:21 +0100)]
Fio 1.13

A few silly bugs in the 1.12 release, since it was a bigger change
from 1.11. So do a 1.13 maintenance release.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agofio.h: Fix TD_DDIR_RANDWRITE
Joel Becker [Sat, 3 Mar 2007 11:03:29 +0000 (12:03 +0100)]
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>
17 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Fri, 2 Mar 2007 20:43:30 +0000 (21:43 +0100)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio