Fix included getopt locations
[fio.git] / server.h
index fca9a87407247c7f8c5f8874398c090950b7d91b..9205ae6574a9d1220aa2f7d9c48d25cd65348ea6 100644 (file)
--- a/server.h
+++ b/server.h
@@ -38,7 +38,7 @@ struct fio_net_cmd_reply {
 };
 
 enum {
-       FIO_SERVER_VER                  = 50,
+       FIO_SERVER_VER                  = 51,
 
        FIO_SERVER_MAX_FRAGMENT_PDU     = 1024,
        FIO_SERVER_MAX_CMD_MB           = 2048,
@@ -172,6 +172,11 @@ struct cmd_text_pdu {
        uint8_t buf[0];
 };
 
+enum {
+       XMIT_COMPRESSED         = 1U,
+       STORE_COMPRESSED        = 2U,
+};
+
 struct cmd_iolog_pdu {
        uint64_t nr_samples;
        uint32_t thread_number;
@@ -184,7 +189,8 @@ struct cmd_iolog_pdu {
 
 struct cmd_job_option {
        uint16_t global;
-       uint16_t groupid;
+       uint16_t truncated;
+       uint32_t groupid;
        uint8_t name[64];
        uint8_t value[128];
 };