Add unlink hook to ioengine API, gluster ioengine
[fio.git] / server.h
index 8f79c14ae33474cdf39418b147b4991779926cd4..cc4c5b435a2f022164638cf99274f8f60ff75cd9 100644 (file)
--- a/server.h
+++ b/server.h
@@ -38,9 +38,10 @@ struct fio_net_cmd_reply {
 };
 
 enum {
-       FIO_SERVER_VER                  = 32,
+       FIO_SERVER_VER                  = 35,
 
        FIO_SERVER_MAX_FRAGMENT_PDU     = 1024,
+       FIO_SERVER_MAX_CMD_MB           = 2048,
 
        FIO_NET_CMD_QUIT                = 1,
        FIO_NET_CMD_EXIT                = 2,
@@ -142,10 +143,11 @@ struct cmd_text_pdu {
 };
 
 struct cmd_iolog_pdu {
+       uint64_t nr_samples;
        uint32_t thread_number;
-       uint32_t nr_samples;
        uint32_t log_type;
        uint32_t compressed;
+       uint32_t log_offset;
        uint8_t name[FIO_NET_NAME_MAX];
        struct io_sample samples[0];
 };