summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-12-12 11:34:28 -0700
committerJens Axboe <axboe@fb.com>2014-12-12 11:34:28 -0700
commit66b6c5efc84f1a5fb25648f38409716682bad84c (patch)
treeebc8ef8278a5294aca4342ddf9c51ad087242a11
parent69fea81e69ef2bd6db8eedf15b3c63510a7dc192 (diff)
downloadfio-66b6c5efc84f1a5fb25648f38409716682bad84c.tar.gz
fio-66b6c5efc84f1a5fb25648f38409716682bad84c.tar.bz2
backend: fix should_check_rate() typo in wait_for_completions()
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.c b/backend.c
index 7c6fc9b0..3424a098 100644
--- a/backend.c
+++ b/backend.c
@@ -432,7 +432,7 @@ static int wait_for_completions(struct thread_data *td, struct timeval *time,
if (full && !min_evts)
min_evts = 1;
- if (time && (should_check_rate(td, DDIR_READ) ||
+ if (time && (__should_check_rate(td, DDIR_READ) ||
__should_check_rate(td, DDIR_WRITE) ||
__should_check_rate(td, DDIR_TRIM)))
fio_gettime(time, NULL);