commit | 531a63265f64f259a08dce0c62255107dd50a33c | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Dec 02 08:45:44 2011 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Dec 02 08:45:44 2011 +0100 |
tree | b672b6fa389105d61f0988252a77c0aa3dcca9a0 | |
parent | 169d40efb669f8d70a4f8df0c4fdcc2c30b76613 [diff] [blame] |
Remove debug/broken assert() in the IOPS logging code Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/stat.c b/stat.c index c921f5f..851cc2c 100644 --- a/stat.c +++ b/stat.c
@@ -1313,10 +1313,8 @@ 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];