From 68cebb4b496f2d25a399070bee11294364781a25 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 7 Aug 2016 15:08:51 -0600 Subject: [PATCH] server: bump protocol version Signed-off-by: Jens Axboe --- cconv.c | 3 +++ server.h | 2 +- thread_options.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cconv.c b/cconv.c index 2e693209..837963d3 100644 --- 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); diff --git a/server.h b/server.h index 79c751de..c17c3bb5 100644 --- 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, diff --git a/thread_options.h b/thread_options.h index f4f150eb..449c66f5 100644 --- a/thread_options.h +++ b/thread_options.h @@ -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]; /* -- 2.25.1