summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cb781c7)
The option was lost in the option unification, and it can be handled
equally well with 'exitall'.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
rate_throttle(td, usec, icd.bytes_done[td->ddir], td->ddir);
if (check_min_rate(td, &e)) {
rate_throttle(td, usec, icd.bytes_done[td->ddir], td->ddir);
if (check_min_rate(td, &e)) {
+ if (exitall_on_terminate)
terminate_threads(td->groupid);
td_verror(td, ENOMEM);
break;
terminate_threads(td->groupid);
td_verror(td, ENOMEM);
break;
#define td_verror(td, err) __td_verror((td), (err), strerror((err)))
#define td_vmsg(td, err, msg) __td_verror((td), (err), (msg))
#define td_verror(td, err) __td_verror((td), (err), strerror((err)))
#define td_vmsg(td, err, msg) __td_verror((td), (err), (msg))
extern int exitall_on_terminate;
extern int thread_number;
extern int shm_id;
extern int exitall_on_terminate;
extern int thread_number;
extern int shm_id;
struct thread_data def_thread;
struct thread_data *threads = NULL;
struct thread_data def_thread;
struct thread_data *threads = NULL;
int exitall_on_terminate = 0;
int terse_output = 0;
unsigned long long mlock_size = 0;
int exitall_on_terminate = 0;
int terse_output = 0;
unsigned long long mlock_size = 0;