From 66b6c5efc84f1a5fb25648f38409716682bad84c Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 12 Dec 2014 11:34:28 -0700 Subject: [PATCH] backend: fix should_check_rate() typo in wait_for_completions() Signed-off-by: Jens Axboe --- backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1