projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index a7ccad66f810b982b7a0d15b355aa6efcbde0334..a395da15a95c113fb241981eb84b1fc32c009fd0 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-195,6
+195,9
@@
int td_io_queue(struct thread_data *td, struct io_u *io_u)
assert((io_u->flags & IO_U_F_FLIGHT) == 0);
io_u->flags |= IO_U_F_FLIGHT;
+ io_u->error = 0;
+ io_u->resid = 0;
+
if (td->io_ops->flags & FIO_SYNCIO) {
fio_gettime(&io_u->issue_time, NULL);