Ensure all random seeds are repeatable for randrepeat=1
[fio.git] / server.h
index 9bf8907f1b7d754fb7f35386be70a95ea787015c..3f1bde4ec38dd9806056874110e80a286b2b190e 100644 (file)
--- a/server.h
+++ b/server.h
@@ -25,18 +25,18 @@ struct fio_net_cmd {
         */
        uint16_t cmd_crc16;     /* cmd checksum */
        uint16_t pdu_crc16;     /* payload checksum */
-       uint8_t payload[0];     /* payload */
+       uint8_t payload[];      /* payload */
 };
 
 struct fio_net_int_cmd {
-       struct fio_net_cmd cmd;
        struct flist_head list;
        struct timeval tv;
        uint64_t saved_tag;
+       struct fio_net_cmd cmd;
 };
 
 enum {
-       FIO_SERVER_VER          = 8,
+       FIO_SERVER_VER          = 9,
 
        FIO_SERVER_MAX_PDU      = 1024,
 
@@ -86,16 +86,17 @@ struct cmd_probe_pdu {
 
 struct cmd_single_line_pdu {
        uint16_t len;
-       uint8_t text[0];
+       uint8_t text[];
 };
 
 struct cmd_line_pdu {
        uint16_t lines;
-       struct cmd_single_line_pdu options[0];
+       struct cmd_single_line_pdu options[];
 };
 
 struct cmd_start_pdu {
        uint32_t jobs;
+       uint32_t stat_outputs;
 };
 
 struct cmd_end_pdu {