projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
syslet engine: submission latency numbers
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 372f46a0507ddd941f47ff9d38a16a6d745569ae..ede61a8eae32dfcd34bc5b9022b99f2b05eaad3b 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-572,13
+572,7
@@
long io_u_queued_complete(struct thread_data *td, int min_events)
struct timespec *tvp = NULL;
int ret;
struct timespec *tvp = NULL;
int ret;
- if (min_events > 0) {
- ret = td_io_commit(td);
- if (ret < 0) {
- td_verror(td, -ret, "td_io_commit");
- return ret;
- }
- } else {
+ if (!min_events) {
struct timespec ts = { .tv_sec = 0, .tv_nsec = 0, };
tvp = &ts;
struct timespec ts = { .tv_sec = 0, .tv_nsec = 0, };
tvp = &ts;