X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.h;h=fd6ad923842b5abd5ea515ae6e298b15a508cc37;hp=bd97654b57e38cf05e85c53fe006c154f51f21e3;hb=2099539d0f49098148b101d2e3d3f533777c700e;hpb=72a703daa9acefd613fff1aa76dabc44a6842194 diff --git a/options.h b/options.h index bd97654b..fd6ad923 100644 --- a/options.h +++ b/options.h @@ -6,7 +6,6 @@ #include #include "parse.h" #include "flist.h" -#include "client.h" #define td_var_offset(var) ((size_t) &((struct thread_options *)0)->var) @@ -19,9 +18,9 @@ void del_opt_posval(const char *, const char *); struct thread_data; void fio_options_free(struct thread_data *); char *get_name_idx(char *, int); -int set_name_idx(char *, char *, int); +int set_name_idx(char *, size_t, char *, int); -extern char client_sockaddr_str[INET6_ADDRSTRLEN]; /* used with --client option */ +extern char client_sockaddr_str[]; /* used with --client option */ extern struct fio_option fio_options[FIO_MAX_OPTS]; @@ -113,6 +112,7 @@ enum opt_category_group { __FIO_OPT_G_ERR, __FIO_OPT_G_E4DEFRAG, __FIO_OPT_G_NETIO, + __FIO_OPT_G_RDMA, __FIO_OPT_G_LIBAIO, __FIO_OPT_G_ACT, __FIO_OPT_G_LATPROF, @@ -145,6 +145,7 @@ enum opt_category_group { FIO_OPT_G_ERR = (1U << __FIO_OPT_G_ERR), FIO_OPT_G_E4DEFRAG = (1U << __FIO_OPT_G_E4DEFRAG), FIO_OPT_G_NETIO = (1U << __FIO_OPT_G_NETIO), + FIO_OPT_G_RDMA = (1U << __FIO_OPT_G_RDMA), FIO_OPT_G_LIBAIO = (1U << __FIO_OPT_G_LIBAIO), FIO_OPT_G_ACT = (1U << __FIO_OPT_G_ACT), FIO_OPT_G_LATPROF = (1U << __FIO_OPT_G_LATPROF),