commit | 15dc1934435dc84d66547c4fc92d936224d7238f | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Mar 05 10:59:06 2010 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Mar 05 10:59:06 2010 +0100 |
tree | c5e1b97736fef975e78217e2fa61cdc0b519aba4 | |
parent | f5b6bb85364fcb8b2ac8d922ca65afd9dfabc9bb [diff] [blame] |
Allow profiles to override internal io_u functions Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h index 23e007b..751fc3d 100644 --- a/fio.h +++ b/fio.h
@@ -426,6 +426,12 @@ */ unsigned int total_err_count; int first_error; + + /* + * Can be overloaded by profiles + */ + int (*fill_io_u_off)(struct thread_data *, struct io_u *); + int (*fill_io_u_size)(struct thread_data *, struct io_u *); }; /*