Add the file sharing bits
authorJens Axboe <jens.axboe@oracle.com>
Sat, 1 Mar 2008 18:25:20 +0000 (19:25 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 1 Mar 2008 18:25:20 +0000 (19:25 +0100)
commit29c1349f1840c3f60434c9da602074bc8fde4afe
tree44ce2e13c7f9b873ce4d30479df0345211588b6f
parent4906e0b57f2b8cbad02ef2428522281cf6038bdd
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>
HOWTO
filesetup.c
fio.h
ioengines.c
options.c