From 094e66cbf2bc85617b3705eadc81940b202e5014 Mon Sep 17 00:00:00 2001 From: Alan C Date: Fri, 4 Mar 2016 16:13:14 -0800 Subject: [PATCH] Log to parent instead of twice to child td --- io_u.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_u.c b/io_u.c index 599bf08d..0a398869 100644 --- a/io_u.c +++ b/io_u.c @@ -1667,7 +1667,7 @@ void io_u_log_error(struct thread_data *td, struct io_u *io_u) { __io_u_log_error(td, io_u); if (td->parent) - __io_u_log_error(td, io_u); + __io_u_log_error(td->parent, io_u); } static inline bool gtod_reduce(struct thread_data *td) -- 2.25.1