summaryrefslogtreecommitdiff
path: root/fio.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 /fio.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 'fio.h')
-rw-r--r--fio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fio.h b/fio.h
index ddc29dbd..66211e9d 100644
--- a/fio.h
+++ b/fio.h
@@ -542,6 +542,7 @@ enum {
extern void td_set_runstate(struct thread_data *, int);
extern int td_bump_runstate(struct thread_data *, int);
extern void td_restore_runstate(struct thread_data *, int);
+extern const char *runstate_to_name(int runstate);
/*
* Allow 60 seconds for a job to quit on its own, otherwise reap with