};
enum {
- FIO_SERVER_VER = 14,
+ FIO_SERVER_VER = 18,
FIO_SERVER_MAX_FRAGMENT_PDU = 1024,
struct cmd_probe_pdu {
uint8_t hostname[64];
uint8_t bigendian;
- uint8_t fio_major;
- uint8_t fio_minor;
- uint8_t fio_patch;
+ uint8_t fio_version[32];
uint8_t os;
uint8_t arch;
uint8_t bpp;
+ uint32_t cpus;
+ uint64_t flags;
};
struct cmd_single_line_pdu {
extern void fio_server_send_ts(struct thread_stat *, struct group_run_stats *);
extern void fio_server_send_gs(struct group_run_stats *);
extern void fio_server_send_du(void);
+extern void fio_server_idle_loop(void);
+
+extern int fio_clients_connect(void);
+extern int fio_clients_send_ini(const char *);
+extern void fio_client_add_cmd_option(void *, const char *);
+extern void fio_client_add_ini_file(void *, const char *);
extern int fio_recv_data(int sk, void *p, unsigned int len);
extern int fio_send_data(int sk, const void *p, unsigned int len);