projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for setting rated based on IOPS
[fio.git]
/
time.c
diff --git
a/time.c
b/time.c
index 45a415cbb43424bf54266f3913b287e5515efd39..c5b67ff11e88eac9205359fb1c09bb3fa4db3fe7 100644
(file)
--- a/
time.c
+++ b/
time.c
@@
-114,7
+114,7
@@
void rate_throttle(struct thread_data *td, unsigned long time_spent,
unsigned long usec_cycle;
unsigned int bs;
unsigned long usec_cycle;
unsigned int bs;
- if (!td->rate)
+ if (!td->rate
&& !td->rate_iops
)
return;
if (td_rw(td))
return;
if (td_rw(td))