projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01b22b
)
Fix bad min rate check
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 10 Jun 2009 04:35:48 +0000
(06:35 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 10 Jun 2009 04:35:48 +0000
(06:35 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index 6464b6d917ff39c7ecf5fc5efcd87fc4f93c079b..61aabb301d35e4abacbd070f9b528122d8fd3de8 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-186,6
+186,9
@@
static int __check_min_rate(struct thread_data *td, struct timeval *now,
unsigned int rate_iops = 0;
unsigned int rate_iops_min = 0;
+ if (!td->o.ratemin[ddir] && !td->o.rate_iops_min[ddir])
+ return 0;
+
/*
* allow a 2 second settle period in the beginning
*/