Avoid using the rbtree if we don't have to
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 6a3a87b0feb9257c5e38b3f7826fc2ba96d08d31..bed1e28770d1b2cb2a79edf0dccfd9bc796a28e4 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -736,6 +736,7 @@ static void *thread_main(void *data)
        INIT_LIST_HEAD(&td->io_u_busylist);
        INIT_LIST_HEAD(&td->io_u_requeues);
        INIT_LIST_HEAD(&td->io_log_list);
+       INIT_LIST_HEAD(&td->io_hist_list);
        td->io_hist_tree = RB_ROOT;
 
        if (init_io_u(td))