From 531a63265f64f259a08dce0c62255107dd50a33c Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 2 Dec 2011 08:45:44 +0100 Subject: [PATCH] Remove debug/broken assert() in the IOPS logging code Signed-off-by: Jens Axboe --- stat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stat.c b/stat.c index c921f5f4..851cc2c0 100644 --- a/stat.c +++ b/stat.c @@ -1313,10 +1313,8 @@ void add_iops_sample(struct thread_data *td, enum fio_ddir ddir, add_stat_sample(&ts->iops_stat[ddir], iops); - if (td->iops_log) { - assert(iops); + if (td->iops_log) add_log_sample(td, td->iops_log, iops, ddir, 0); - } fio_gettime(&td->iops_sample_time, NULL); td->stat_io_blocks[ddir] = td->this_io_blocks[ddir]; -- 2.25.1