summaryrefslogtreecommitdiff
path: root/thread_options.h
diff options
context:
space:
mode:
authorAndrey Kuzmin <andrey.v.kuzmin@gmail.com>2015-12-22 09:21:25 -0700
committerJens Axboe <axboe@fb.com>2015-12-22 09:21:25 -0700
commit9cc8cb91d355d7e47d5b930b352087ec71f85f85 (patch)
tree3bd0e2fa8123e6c604784fe61b4300278dc1d0e8 /thread_options.h
parentb5f4ef37543b46f9ef44cabf691a92d6592fb286 (diff)
downloadfio-9cc8cb91d355d7e47d5b930b352087ec71f85f85.tar.gz
fio-9cc8cb91d355d7e47d5b930b352087ec71f85f85.tar.bz2
Add support for waiting for other jobs by name
We have stonewall to barrier against previous jobs before a new job runs. This adds support for 'wait_for', which allows the user to explicitly wait for a given job before starting. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'thread_options.h')
-rw-r--r--thread_options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_options.h b/thread_options.h
index 6ae03356..858f3077 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -40,6 +40,7 @@ struct thread_options {
uint64_t set_options[NR_OPTS_SZ];
char *description;
char *name;
+ char *wait_for;
char *directory;
char *filename;
char *filename_format;
@@ -289,6 +290,7 @@ struct thread_options_pack {
uint64_t set_options[NR_OPTS_SZ];
uint8_t description[FIO_TOP_STR_MAX];
uint8_t name[FIO_TOP_STR_MAX];
+ uint8_t wait_for[FIO_TOP_STR_MAX];
uint8_t directory[FIO_TOP_STR_MAX];
uint8_t filename[FIO_TOP_STR_MAX];
uint8_t filename_format[FIO_TOP_STR_MAX];