New offset_increment option
authorDan Ehrenberg <dehrenberg@google.com>
Thu, 15 Mar 2012 13:44:26 +0000 (14:44 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Mar 2012 13:44:26 +0000 (14:44 +0100)
commit214ac7e009897f8f82ab9e21aff9bc86d33bb470
tree5a13d0a8b54678bba3c40d635676edfe692b1f1a
parentba47f51ac3ab61b424e2d2406762d838ddb78b10
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>
HOWTO
filesetup.c
fio.h
ioengines.c
options.c