summaryrefslogtreecommitdiff
path: root/libfio.c
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 /libfio.c
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 'libfio.c')
-rw-r--r--libfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfio.c b/libfio.c
index 6c74852c..c626d15c 100644
--- a/libfio.c
+++ b/libfio.c
@@ -190,7 +190,7 @@ static const char *td_runstates[] = {
"REAPED",
};
-static const char *runstate_to_name(int runstate)
+const char *runstate_to_name(int runstate)
{
compiletime_assert(TD_LAST == 12, "td runstate list");
if (runstate >= 0 && runstate < TD_LAST)