commit | d982d8736925d1206d7f344a50bcc2fdd91e367b | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 10 06:35:48 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 10 06:35:48 2009 +0200 |
tree | 53c81037567fd4b135804d303720696ca8a7bdf7 | |
parent | e01b22b8fe3f20376fe8fdc6f2c28cc3682d698e [diff] [blame] |
Fix bad min rate check Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.c b/fio.c index 6464b6d..61aabb3 100644 --- a/fio.c +++ b/fio.c
@@ -186,6 +186,9 @@ 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 */