From: Jens Axboe Date: Fri, 12 Dec 2014 18:34:28 +0000 (-0700) Subject: backend: fix should_check_rate() typo in wait_for_completions() X-Git-Tag: fio-2.2.0~20 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=66b6c5efc84f1a5fb25648f38409716682bad84c;ds=inline backend: fix should_check_rate() typo in wait_for_completions() Signed-off-by: Jens Axboe --- 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);