[PATCH] Move td_verror() into io_ops->queue() hook
[fio.git] / engines / net.c
index 8e5ad5ee2e2518ed615496af898ab335ae3a9636..fe114a7b8c8fab5b69a8d9b508580f292a8732fb 100644 (file)
@@ -102,6 +102,8 @@ static int fio_netio_queue(struct thread_data *td, struct io_u *io_u)
 
        if (!io_u->error)
                nd->last_io_u = io_u;
+       else
+               td_verror(td, io_u->error);
 
        return io_u->error;
 }