projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
43e82be
)
engines/libaio: reset 'wait_start' on non-EAGAIN
author
Jens Axboe
<axboe@fb.com>
Wed, 1 Oct 2014 14:48:54 +0000
(08:48 -0600)
committer
Jens Axboe
<axboe@fb.com>
Wed, 1 Oct 2014 14:48:54 +0000
(08:48 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/libaio.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/libaio.c
b/engines/libaio.c
index 6f625167e9b7d2f03350a72086fb67db1e421885..31c850e44d8ea65b4592c99a37273cb9466afd22 100644
(file)
--- a/
engines/libaio.c
+++ b/
engines/libaio.c
@@
-255,9
+255,11
@@
static int fio_libaio_commit(struct thread_data *td)
ld->queued -= ret;
ring_inc(ld, &ld->tail, ret);
ret = 0;
ld->queued -= ret;
ring_inc(ld, &ld->tail, ret);
ret = 0;
+ wait_start = 0;
} else if (ret == -EINTR || !ret) {
if (!ret)
io_u_mark_submit(td, ret);
} else if (ret == -EINTR || !ret) {
if (!ret)
io_u_mark_submit(td, ret);
+ wait_start = 0;
continue;
} else if (ret == -EAGAIN) {
/*
continue;
} else if (ret == -EAGAIN) {
/*