X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=214fbd268ca92e9081748be70b5c9cb07e3bff0f;hb=d481e00608dc118e646b6fee9c9292c1ab35448f;hp=049692d65e03783d3dcd934f2225c50482e7a6cb;hpb=23d2461974c334d77eb7a06a2dbd1f37aeee85d4;p=fio.git diff --git a/fio.h b/fio.h index 049692d6..214fbd26 100644 --- a/fio.h +++ b/fio.h @@ -28,6 +28,8 @@ #include "io_ddir.h" #include "ioengine.h" #include "iolog.h" +#include "profiles.h" +#include "helpers.h" #ifdef FIO_HAVE_GUASI #include @@ -63,6 +65,8 @@ enum fio_memtype { #define FIO_IO_U_LAT_U_NR 10 #define FIO_IO_U_LAT_M_NR 12 +#define MAX_PATTERN_SIZE 512 + struct thread_stat { char *name; char *verror; @@ -175,7 +179,7 @@ struct thread_options { unsigned int verifysort; unsigned int verify_interval; unsigned int verify_offset; - unsigned int verify_pattern; + char verify_pattern[MAX_PATTERN_SIZE]; unsigned int verify_pattern_bytes; unsigned int verify_fatal; unsigned int verify_async; @@ -262,6 +266,11 @@ struct thread_options { * I/O Error handling */ unsigned int continue_on_error; + + /* + * Benchmark profile type + */ + unsigned int profile; }; #define FIO_VERROR_SIZE 128