projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9956b6
)
don't log iopiece when do_verify is off
author
Shawn Lewis
<shawnlewis@google.com>
Wed, 21 Nov 2007 08:35:41 +0000
(09:35 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 21 Nov 2007 08:35:41 +0000
(09:35 +0100)
Don't log an iopiece if do_verify is off. This allows us to do large write
phases (with verify headers) without using a lot of memory.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index cab09800de5afea6e1e3d749f97ef33139faca6e..93c451cb9bd9c69038ae20e45d5fc4f4d30af1fc 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-763,6
+763,7
@@
static void io_completed(struct thread_data *td, struct io_u *io_u,
io_u_mark_latency(td, usec);
if (td_write(td) && idx == DDIR_WRITE &&
+ td->o.do_verify &&
td->o.verify != VERIFY_NONE)
log_io_piece(td, io_u);