X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_u.c;h=d4a65089a502ece5f28d58ef38ad84ae85def358;hp=f3b593227043626d6978005c35ebec5c5a6472dc;hb=553f965256ab58b0e0958b0e367d8e63698f7a26;hpb=d3d378218e9e03411749b65451b32d7a7466ff61 diff --git a/io_u.c b/io_u.c index f3b59322..d4a65089 100644 --- a/io_u.c +++ b/io_u.c @@ -1,12 +1,8 @@ #include -#include #include -#include -#include #include #include "fio.h" -#include "hash.h" #include "verify.h" #include "trim.h" #include "lib/rand.h" @@ -1766,7 +1762,7 @@ struct io_u *get_io_u(struct thread_data *td) } else if ((td->flags & TD_F_SCRAMBLE_BUFFERS) && !(td->flags & TD_F_COMPRESS)) do_scramble = 1; - if (td->flags & TD_F_VER_NONE) { + if (td->flags & TD_F_DO_VERIFY) { populate_verify_io_u(td, io_u); do_scramble = 0; }