server: bump protocol version
authorJens Axboe <axboe@fb.com>
Sun, 7 Aug 2016 21:08:51 +0000 (15:08 -0600)
committerJens Axboe <axboe@fb.com>
Sun, 7 Aug 2016 21:08:51 +0000 (15:08 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
cconv.c
server.h
thread_options.h

diff --git a/cconv.c b/cconv.c
index 2e69320979760e81e6f48a9e27e0bae072d4d077..837963d37354b85a9e3d47a62fd1baaecf642f3a 100644 (file)
--- a/cconv.c
+++ b/cconv.c
@@ -39,6 +39,7 @@ static void free_thread_options_to_cpu(struct thread_options *o)
        free(o->bw_log_file);
        free(o->lat_log_file);
        free(o->iops_log_file);
+       free(o->hist_log_file);
        free(o->replay_redirect);
        free(o->exec_prerun);
        free(o->exec_postrun);
@@ -74,6 +75,7 @@ void convert_thread_options_to_cpu(struct thread_options *o,
        string_to_cpu(&o->bw_log_file, top->bw_log_file);
        string_to_cpu(&o->lat_log_file, top->lat_log_file);
        string_to_cpu(&o->iops_log_file, top->iops_log_file);
+       string_to_cpu(&o->hist_log_file, top->hist_log_file);
        string_to_cpu(&o->replay_redirect, top->replay_redirect);
        string_to_cpu(&o->exec_prerun, top->exec_prerun);
        string_to_cpu(&o->exec_postrun, top->exec_postrun);
@@ -311,6 +313,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
        string_to_net(top->bw_log_file, o->bw_log_file);
        string_to_net(top->lat_log_file, o->lat_log_file);
        string_to_net(top->iops_log_file, o->iops_log_file);
+       string_to_net(top->hist_log_file, o->hist_log_file);
        string_to_net(top->replay_redirect, o->replay_redirect);
        string_to_net(top->exec_prerun, o->exec_prerun);
        string_to_net(top->exec_postrun, o->exec_postrun);
index 79c751de238800aa3ed0dc362418bf421d2f8128..c17c3bb571ae05839e4160656009d87ad29b6365 100644 (file)
--- a/server.h
+++ b/server.h
@@ -38,7 +38,7 @@ struct fio_net_cmd_reply {
 };
 
 enum {
-       FIO_SERVER_VER                  = 54,
+       FIO_SERVER_VER                  = 55,
 
        FIO_SERVER_MAX_FRAGMENT_PDU     = 1024,
        FIO_SERVER_MAX_CMD_MB           = 2048,
index f4f150eb47e018c8966ddac11c3f8ce13355bce5..449c66f5b8afcb2756670424627da4c15516f897 100644 (file)
@@ -491,6 +491,7 @@ struct thread_options_pack {
        uint8_t bw_log_file[FIO_TOP_STR_MAX];
        uint8_t lat_log_file[FIO_TOP_STR_MAX];
        uint8_t iops_log_file[FIO_TOP_STR_MAX];
+       uint8_t hist_log_file[FIO_TOP_STR_MAX];
        uint8_t replay_redirect[FIO_TOP_STR_MAX];
 
        /*