projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c6c3b28
)
[PATCH] Only verify_io_u on reads
author
Shawn Lewis
<shawnlewis@google.com>
Fri, 27 Jul 2007 06:02:45 +0000
(08:02 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 27 Jul 2007 06:02:45 +0000
(08:02 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
verify.c
patch
|
blob
|
blame
|
history
diff --git
a/verify.c
b/verify.c
index 794244a9b495240974f26f1e4f972f38ec1cc8c2..243b6632636579c9294631498027e97c9ee94022 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-83,7
+83,7
@@
int verify_io_u(struct thread_data *td, struct io_u *io_u)
struct verify_header *hdr = (struct verify_header *) io_u->buf;
int ret;
- if (td->o.verify == VERIFY_NULL)
+ if (td->o.verify == VERIFY_NULL
|| io_u->ddir != DDIR_READ
)
return 0;
if (hdr->fio_magic != FIO_HDR_MAGIC) {