X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=options.c;h=287f0435b73cff776328787407f3dc8097911d92;hb=df8781b62a9d0dffae40d86916feff3659a5fb7e;hp=e4262def7285a68e80e9c1a295e6a4bd6dd8456a;hpb=df18600fd06258b96ae6f6b530ecdff541c2a82d;p=fio.git diff --git a/options.c b/options.c index e4262def..287f0435 100644 --- a/options.c +++ b/options.c @@ -3941,6 +3941,30 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .category = FIO_OPT_C_GENERAL, .group = FIO_OPT_G_PROCESS, }, + { + .name = "exit_what", + .lname = "What jobs to quit on terminate", + .type = FIO_OPT_STR, + .off1 = offsetof(struct thread_options, exit_what), + .help = "Fine-grained control for exitall", + .def = "group", + .category = FIO_OPT_C_GENERAL, + .group = FIO_OPT_G_PROCESS, + .posval = { + { .ival = "group", + .oval = TERMINATE_GROUP, + .help = "exit_all=1 default behaviour", + }, + { .ival = "stonewall", + .oval = TERMINATE_STONEWALL, + .help = "quit all currently running jobs; continue with next stonewall", + }, + { .ival = "all", + .oval = TERMINATE_ALL, + .help = "Quit everything", + }, + }, + }, { .name = "exitall_on_error", .lname = "Exit-all on terminate in error",