From bfd197cba750f32b224a83c846c52b0bd3f127a2 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 5 Dec 2014 09:35:19 -0700 Subject: [PATCH] sync: use io_u_log_error() for more detailed error messages Signed-off-by: Jens Axboe --- engines/sync.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/sync.c b/engines/sync.c index 41612dfa..48aafff8 100644 --- a/engines/sync.c +++ b/engines/sync.c @@ -63,8 +63,10 @@ static int fio_io_end(struct thread_data *td, struct io_u *io_u, int ret) io_u->error = errno; } - if (io_u->error) + if (io_u->error) { + io_u_log_error(td, io_u); td_verror(td, io_u->error, "xfer"); + } return FIO_Q_COMPLETED; } -- 2.25.1