projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rate must always calculate bytes done
[fio.git]
/
engines
/
sync.c
diff --git
a/engines/sync.c
b/engines/sync.c
index 5cf73662ad6dcc9f1e9893f12e34a3669d6e5124..ad02e09464f1935de33dc4a726ecef4edc3a8db8 100644
(file)
--- a/
engines/sync.c
+++ b/
engines/sync.c
@@
-21,7
+21,7
@@
static int fio_syncio_prep(struct thread_data *td, struct io_u *io_u)
return 0;
if (lseek(f->fd, io_u->offset, SEEK_SET) == -1) {
return 0;
if (lseek(f->fd, io_u->offset, SEEK_SET) == -1) {
- td_verror(td, errno);
+ td_verror(td, errno
, "lseek"
);
return 1;
}
return 1;
}
@@
-50,7
+50,7
@@
static int fio_syncio_queue(struct thread_data *td, struct io_u *io_u)
}
if (io_u->error)
}
if (io_u->error)
- td_verror(td, io_u->error);
+ td_verror(td, io_u->error
, "xfer"
);
return FIO_Q_COMPLETED;
}
return FIO_Q_COMPLETED;
}