[PATCH] Only verify_io_u on reads

From: Shawn Lewis <shawnlewis_at_google.com>
Date: Thu, 26 Jul 2007 12:01:20 -0700 (PDT)

diff --git a/verify.c b/verify.c
index 8f31686..5da2c33 100644
--- a/verify.c
+++ b/verify.c
@@ -91,7 +91,7 @@ int verify_io_u(struct thread_data *td,
         unsigned int hdr_inc, hdr_num = 0;
         int ret;
 
- if (td->o.verify == VERIFY_NULL)
+ if (td->o.verify == VERIFY_NULL || io_u->ddir != DDIR_READ)
                 return 0;
 
         hdr_inc = io_u->buflen;
Received on Thu Jul 26 2007 - 21:01:20 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 26 2007 - 21:30:01 CEST