summaryrefslogtreecommitdiff
path: root/ioengines.c
diff options
context:
space:
mode:
authorDan Ehrenberg <dehrenberg@google.com>2012-03-15 14:44:26 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-15 14:44:26 +0100
commit214ac7e009897f8f82ab9e21aff9bc86d33bb470 (patch)
tree5a13d0a8b54678bba3c40d635676edfe692b1f1a /ioengines.c
parentba47f51ac3ab61b424e2d2406762d838ddb78b10 (diff)
downloadfio-214ac7e009897f8f82ab9e21aff9bc86d33bb470.tar.gz
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>
Diffstat (limited to 'ioengines.c')
-rw-r--r--ioengines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ioengines.c b/ioengines.c
index 4c609f2b..1a0898de 100644
--- a/ioengines.c
+++ b/ioengines.c
@@ -278,6 +278,7 @@ int td_io_queue(struct thread_data *td, struct io_u *io_u)
*/
if (io_u->error == EINVAL && td->io_issues[io_u->ddir & 1] == 1 &&
td->o.odirect) {
+
log_info("fio: first direct IO errored. File system may not "
"support direct IO, or iomem_align= is bad.\n");
}