[PATCH] Move td_verror() into io_ops->queue() hook
[fio.git] / engines / sync.c
index 94dd71049f0cb1cf85f355ba210754150b1eec64..f689cbe7888c7f4c3fe862672160ae177f2a6e96 100644 (file)
@@ -80,6 +80,8 @@ static int fio_syncio_queue(struct thread_data *td, struct io_u *io_u)
 
        if (!io_u->error)
                sd->last_io_u = io_u;
+       else
+               td_verror(td, io_u->error);
 
        return io_u->error;
 }