projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue time fixup for guasi/libaio
[fio.git]
/
engines
/
guasi.c
diff --git
a/engines/guasi.c
b/engines/guasi.c
index e0bcaf4c72bf89058d7e78533de9beafd847bb9f..4ae014307bd88cfcd1d1c9df763fd4d34d08a568 100644
(file)
--- a/
engines/guasi.c
+++ b/
engines/guasi.c
@@
-141,6
+141,10
@@
static void fio_guasi_queued(struct thread_data *td, struct io_u **io_us, int nr
struct io_u *io_u;
struct timeval now;
struct io_u *io_u;
struct timeval now;
+ if (!fio_fill_issue_time(td))
+ return;
+
+ io_u_mark_submit(td, nr);
fio_gettime(&now, NULL);
for (i = 0; i < nr; i++) {
io_u = io_us[i];
fio_gettime(&now, NULL);
for (i = 0; i < nr; i++) {
io_u = io_us[i];
@@
-212,7
+216,6
@@
static void fio_guasi_cleanup(struct thread_data *td)
free(ld->reqs);
free(ld->io_us);
free(ld);
free(ld->reqs);
free(ld->io_us);
free(ld);
- td->io_ops->data = NULL;
}
GDBG_PRINT(("fio_guasi_cleanup(%p) DONE\n", ld));
}
}
GDBG_PRINT(("fio_guasi_cleanup(%p) DONE\n", ld));
}