commit | 8670579ed3a063723f194e6fec8250bec4d8ea25 | [log] [tgz] |
---|---|---|
author | Shawn Lewis <shawnlewis@google.com> | Wed Nov 21 09:35:41 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Nov 21 09:35:41 2007 +0100 |
tree | b27427ef2c7a3ab9f9962731b760adfa0a3486f8 | |
parent | d9956b64373522fcbe5acb5015fef6d315f252da [diff] [blame] |
don't log iopiece when do_verify is off 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>
diff --git a/io_u.c b/io_u.c index cab0980..93c451c 100644 --- a/io_u.c +++ b/io_u.c
@@ -763,6 +763,7 @@ 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);