From: Jens Axboe Date: Mon, 23 May 2016 14:39:41 +0000 (-0600) Subject: cconv: wire up conversion of unique_filename X-Git-Tag: fio-2.11~10 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=20fdc81cee61c3eb42ff65251f9d9963adf841ed;hp=922a5be82ca50f7c89a1f9c4b84757ba8636e2d1 cconv: wire up conversion of unique_filename Also bump server version, since thread_options changed. Signed-off-by: Jens Axboe --- diff --git a/cconv.c b/cconv.c index 0c3a36c2..ac826a30 100644 --- a/cconv.c +++ b/cconv.c @@ -139,6 +139,7 @@ void convert_thread_options_to_cpu(struct thread_options *o, o->ratecycle = le32_to_cpu(top->ratecycle); o->io_submit_mode = le32_to_cpu(top->io_submit_mode); + o->unique_filename = le32_to_cpu(top->unique_filename); o->nr_files = le32_to_cpu(top->nr_files); o->open_files = le32_to_cpu(top->open_files); o->file_lock_mode = le32_to_cpu(top->file_lock_mode); @@ -333,6 +334,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top, top->ratecycle = cpu_to_le32(o->ratecycle); top->io_submit_mode = cpu_to_le32(o->io_submit_mode); top->nr_files = cpu_to_le32(o->nr_files); + top->unique_filename = cpu_to_le32(o->unique_filename); top->open_files = cpu_to_le32(o->open_files); top->file_lock_mode = cpu_to_le32(o->file_lock_mode); top->odirect = cpu_to_le32(o->odirect); diff --git a/server.h b/server.h index 7fc3ec6c..79c751de 100644 --- a/server.h +++ b/server.h @@ -38,7 +38,7 @@ struct fio_net_cmd_reply { }; enum { - FIO_SERVER_VER = 53, + FIO_SERVER_VER = 54, FIO_SERVER_MAX_FRAGMENT_PDU = 1024, FIO_SERVER_MAX_CMD_MB = 2048,