From: Shawn Lewis Date: Wed, 21 Nov 2007 08:35:41 +0000 (+0100) Subject: don't log iopiece when do_verify is off X-Git-Tag: fio-1.17.3~34 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=8670579ed3a063723f194e6fec8250bec4d8ea25;p=fio.git 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 --- diff --git a/io_u.c b/io_u.c index cab09800..93c451cb 100644 --- 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);