| commit | 1dcc049824b840df1ee0ef5d019fffa4037e1bb0 | [log] [tgz] |
|---|---|---|
| author | Shawn Lewis <shawnlewis@google.com> | Fri Jul 27 08:02:45 2007 +0200 |
| committer | Jens Axboe <jens.axboe@oracle.com> | Fri Jul 27 08:02:45 2007 +0200 |
| tree | 13264db0081986e8bd3a888f7121b57290842955 | |
| parent | c6c3b28a257258895eabe127d3cf784cd93bc851 [diff] |
[PATCH] Only verify_io_u on reads Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/verify.c b/verify.c index 794244a..243b663 100644 --- a/verify.c +++ b/verify.c
@@ -83,7 +83,7 @@ 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) {