X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=b71a48648eaf4f2b95e5ed6015ff8e445911c074;hp=1ff6662b5ef5d5b7b09dd086e9a575e7cb694cae;hb=3d80c73563621286cf21284dd521629ce67af934;hpb=c229232543f2ca4c492ea32fe7ca6ee894e543a8 diff --git a/fio.h b/fio.h index 1ff6662b..b71a4864 100644 --- a/fio.h +++ b/fio.h @@ -32,7 +32,7 @@ #include "profile.h" #include "fio_time.h" #include "gettime.h" -#include "lib/getopt.h" +#include "oslib/getopt.h" #include "lib/rand.h" #include "lib/rbtree.h" #include "client.h" @@ -499,7 +499,7 @@ extern int parse_dryrun(void); extern int fio_running_or_pending_io_threads(void); extern int fio_set_fd_nonblocking(int, const char *); extern void sig_show_status(int sig); -extern bool is_def_thread(struct thread_data *); +extern struct thread_data *get_global_options(void); extern uintptr_t page_mask; extern uintptr_t page_size; @@ -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