projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
0e1c454
)
Merge branch 'master' of git://github.com/DaveGlen/fio
author
Jens Axboe
<axboe@fb.com>
Tue, 18 Aug 2015 17:19:50 +0000
(11:19 -0600)
committer
Jens Axboe
<axboe@fb.com>
Tue, 18 Aug 2015 17:19:50 +0000
(11:19 -0600)
backend.c
patch
|
blob
|
blame
|
history
diff --git
a/backend.c
b/backend.c
index 9307667054b4c16eb6e760e4a0f5197599c745fd..76994d90b9c59b3ae059dbae99d12f7e77ce1c6d 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-179,7
+179,7
@@
static int __check_min_rate(struct thread_data *td, struct timeval *now,
if (spent < td->o.ratecycle)
return 0;
- if (td->o.rate[ddir]) {
+ if (td->o.rate[ddir]
|| td->o.ratemin[ddir]
) {
/*
* check bandwidth specified rate
*/
@@
-220,6
+220,7
@@
static int __check_min_rate(struct thread_data *td, struct timeval *now,
log_err("%s: min iops rate %u not met,"
" got %lu\n", td->o.name,
rate_iops_min, rate);
+ return 1;
}
}
}