projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix 'min' latency times being 0 with ramp_time
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index ec75de241be623756c88c1b88edb69473a0dfb97..351c49cc4f720024a7b500b525e9a32657e65299 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-2351,7
+2351,8
@@
static void __add_log_sample(struct io_log *iolog, union io_sample_data data,
static inline void reset_io_stat(struct io_stat *ios)
{
- ios->max_val = ios->min_val = ios->samples = 0;
+ ios->min_val = -1ULL;
+ ios->max_val = ios->samples = 0;
ios->mean.u.f = ios->S.u.f = 0;
}