projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa085e
)
sync: use io_u_log_error() for more detailed error messages
author
Jens Axboe
<axboe@fb.com>
Fri, 5 Dec 2014 16:35:19 +0000
(09:35 -0700)
committer
Jens Axboe
<axboe@fb.com>
Fri, 5 Dec 2014 16:35:19 +0000
(09:35 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/sync.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/sync.c
b/engines/sync.c
index 41612dfa8c31ba0f8fc81436d162fee1ece500da..48aafff8f153772804095edd541ce2858f225876 100644
(file)
--- 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;
}