From: Jens Axboe Date: Tue, 7 Nov 2006 13:16:19 +0000 (+0100) Subject: [PATCH] Remove rate_quit remnants X-Git-Tag: fio-1.9~2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=98aa62d863d78aaa725c37f2588aba415f5b224c;hp=cb781c758e5df7ff4c6f655c1e4f9df3043a4be9 [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 --- 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;