Improve iodepth logging
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index ec348781672bee90513b100485773c3bd83b85bf..7f52a243fbdbc8e2b12706c1f45c52716729a8ab 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -410,14 +410,10 @@ out:
        return 0;
 }
 
        return 0;
 }
 
-void io_u_mark_depth(struct thread_data *td, struct io_u *io_u,
-                    unsigned int nr)
+void io_u_mark_depth(struct thread_data *td, unsigned int nr)
 {
        int index = 0;
 
 {
        int index = 0;
 
-       if (io_u->ddir == DDIR_SYNC)
-               return;
-
        switch (td->cur_depth) {
        default:
                index = 6;
        switch (td->cur_depth) {
        default:
                index = 6;
@@ -441,7 +437,6 @@ void io_u_mark_depth(struct thread_data *td, struct io_u *io_u,
        }
 
        td->ts.io_u_map[index] += nr;
        }
 
        td->ts.io_u_map[index] += nr;
-       td->ts.total_io_u[io_u->ddir] += nr;
 }
 
 static void io_u_mark_lat_usec(struct thread_data *td, unsigned long usec)
 }
 
 static void io_u_mark_lat_usec(struct thread_data *td, unsigned long usec)