X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=verify.h;h=539e6f6cf5c1accf7a88af9cd9d6287e8fb09163;hb=4e8c82b4e9804c52bf2c78327cc5bfca9d8aedfc;hp=5aae2e7e9bb411f9be2e964fb023baf023ca5bea;hpb=ae3a5accfdbe1fbfde6ba4ab583887a7d3d779ac;p=fio.git diff --git a/verify.h b/verify.h index 5aae2e7e..539e6f6c 100644 --- a/verify.h +++ b/verify.h @@ -2,6 +2,7 @@ #define FIO_VERIFY_H #include +#include "compiler/compiler.h" #include "verify-state.h" #define FIO_HDR_MAGIC 0xacca @@ -43,7 +44,7 @@ struct verify_header { uint64_t rand_seed; uint64_t offset; uint32_t time_sec; - uint32_t time_usec; + uint32_t time_nsec; uint16_t thread; uint16_t numberio; uint32_t crc32; @@ -96,7 +97,7 @@ extern void populate_verify_io_u(struct thread_data *, struct io_u *); extern int __must_check get_next_verify(struct thread_data *td, struct io_u *); extern int __must_check verify_io_u(struct thread_data *, struct io_u **); extern int verify_io_u_async(struct thread_data *, struct io_u **); -extern void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len, struct io_u *io_u, unsigned long seed, int use_seed); +extern void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len, struct io_u *io_u, uint64_t seed, int use_seed); extern void fill_buffer_pattern(struct thread_data *td, void *p, unsigned int len); extern void fio_verify_init(struct thread_data *td);