cconv: add allow_mounted_write
authorJens Axboe <axboe@fb.com>
Fri, 22 May 2015 15:09:49 +0000 (09:09 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 22 May 2015 15:09:49 +0000 (09:09 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
cconv.c
server.h

diff --git a/cconv.c b/cconv.c
index b0becb8b96691b17508f0f219564db14f3634ffd..44f17dab3c7c213e3aed97362b2db0c0f5954e60 100644 (file)
--- a/cconv.c
+++ b/cconv.c
@@ -73,6 +73,7 @@ void convert_thread_options_to_cpu(struct thread_options *o,
        string_to_cpu(&o->cgroup, top->cgroup);
 
        o->allow_create = le32_to_cpu(top->allow_create);
+       o->allow_mounted_write = le32_to_cpu(top->allow_mounted_write);
        o->td_ddir = le32_to_cpu(top->td_ddir);
        o->rw_seq = le32_to_cpu(top->rw_seq);
        o->kb_base = le32_to_cpu(top->kb_base);
@@ -290,6 +291,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
        string_to_net(top->cgroup, o->cgroup);
 
        top->allow_create = cpu_to_le32(o->allow_create);
+       top->allow_mounted_write = cpu_to_le32(o->allow_mounted_write);
        top->td_ddir = cpu_to_le32(o->td_ddir);
        top->rw_seq = cpu_to_le32(o->rw_seq);
        top->kb_base = cpu_to_le32(o->kb_base);
index b94c22183c9d5605ce20ee875cca0a95615e389c..9944719368299e3355bc8f46a726f8dbcc5d8fb5 100644 (file)
--- a/server.h
+++ b/server.h
@@ -38,7 +38,7 @@ struct fio_net_cmd_reply {
 };
 
 enum {
-       FIO_SERVER_VER                  = 45,
+       FIO_SERVER_VER                  = 46,
 
        FIO_SERVER_MAX_FRAGMENT_PDU     = 1024,
        FIO_SERVER_MAX_CMD_MB           = 2048,