projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
No need to fill random bytes for VERIFY_NULL
[fio.git]
/
verify.c
diff --git
a/verify.c
b/verify.c
index f1ac43bf1b9018e48664d16724ee906f5ca052ed..99b21e8fd922e5f0d3124df5d9e6be7b7438d484 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-129,6
+129,9
@@
void populate_verify_io_u(struct thread_data *td, struct io_u *io_u)
unsigned char *p = (unsigned char *) io_u->buf;
struct verify_header hdr;
+ if (td->o.verify == VERIFY_NULL)
+ return;
+
hdr.fio_magic = FIO_HDR_MAGIC;
hdr.len = io_u->buflen;
p += sizeof(hdr);