projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eta: fix comparison reversal for time based jobs
[fio.git]
/
eta.c
diff --git
a/eta.c
b/eta.c
index 8785540aa6f532f7e718810fa89b041a993d3e9f..4362ffe39e38bb4a58c883cedf45c553b1018f64 100644
(file)
--- a/
eta.c
+++ b/
eta.c
@@
-214,7
+214,7
@@
static unsigned long thread_eta(struct thread_data *td)
if (td->o.time_based) {
if (timeout) {
perc_t = (double) elapsed / (double) timeout;
- if (perc_t
>
perc)
+ if (perc_t
<
perc)
perc = perc_t;
} else {
/*