projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sg: 16-byte cdb support and lots of fixes
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 9f10206b95e8b1e80d14504c35159284cf238802..ac55b2fd6805125791e7df1ab65ba5eee789ca52 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1578,6
+1578,13
@@
static void __io_u_log_error(struct thread_data *td, struct io_u *io_u)
io_ddir_name(io_u->ddir),
io_u->offset, io_u->xfer_buflen);
+ if (td->io_ops->errdetails) {
+ char *err = td->io_ops->errdetails(io_u);
+
+ log_err("fio: %s\n", err);
+ free(err);
+ }
+
if (!td->error)
td_verror(td, io_u->error, "io_u error");
}