From 98aa62d863d78aaa725c37f2588aba415f5b224c Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 7 Nov 2006 14:16:19 +0100 Subject: [PATCH] [PATCH] Remove rate_quit remnants The option was lost in the option unification, and it can be handled equally well with 'exitall'. Signed-off-by: Jens Axboe --- fio.c | 2 +- fio.h | 1 - init.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/fio.c b/fio.c index 8c059df6..0221ca5b 100644 --- a/fio.c +++ b/fio.c @@ -439,7 +439,7 @@ static void do_io(struct thread_data *td) rate_throttle(td, usec, icd.bytes_done[td->ddir], td->ddir); if (check_min_rate(td, &e)) { - if (rate_quit) + if (exitall_on_terminate) terminate_threads(td->groupid); td_verror(td, ENOMEM); break; diff --git a/fio.h b/fio.h index 434c34b2..f859608c 100644 --- a/fio.h +++ b/fio.h @@ -348,7 +348,6 @@ struct thread_data { #define td_verror(td, err) __td_verror((td), (err), strerror((err))) #define td_vmsg(td, err, msg) __td_verror((td), (err), (msg)) -extern int rate_quit; extern int exitall_on_terminate; extern int thread_number; extern int shm_id; diff --git a/init.c b/init.c index 54e2ecae..b8e82bc1 100644 --- a/init.c +++ b/init.c @@ -417,7 +417,6 @@ static int max_jobs = MAX_JOBS; struct thread_data def_thread; struct thread_data *threads = NULL; -int rate_quit = 0; int exitall_on_terminate = 0; int terse_output = 0; unsigned long long mlock_size = 0; -- 2.25.1