From: Ankit Kumar Date: Fri, 14 Feb 2025 16:53:00 +0000 (+0530) Subject: verify: add missing client/server support for verify_write_sequence X-Git-Tag: fio-3.40~61 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=58cbe5d92880690dc6466343343d0c9c4a2ea6af;p=fio.git verify: add missing client/server support for verify_write_sequence Ensure that we convert verify_write_sequence option for client/server. Fixes: 2dd80ee4 ("fio: Support verify_write_sequence") Signed-off-by: Ankit Kumar --- diff --git a/cconv.c b/cconv.c index 9571f1a8..ef3fbaa8 100644 --- a/cconv.c +++ b/cconv.c @@ -182,6 +182,7 @@ int convert_thread_options_to_cpu(struct thread_options *o, o->verify_state = le32_to_cpu(top->verify_state); o->verify_interval = le32_to_cpu(top->verify_interval); o->verify_offset = le32_to_cpu(top->verify_offset); + o->verify_write_sequence = le32_to_cpu(top->verify_write_sequence); o->verify_pattern_bytes = le32_to_cpu(top->verify_pattern_bytes); o->buffer_pattern_bytes = le32_to_cpu(top->buffer_pattern_bytes); @@ -442,6 +443,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top, top->verify_state = cpu_to_le32(o->verify_state); top->verify_interval = cpu_to_le32(o->verify_interval); top->verify_offset = cpu_to_le32(o->verify_offset); + top->verify_write_sequence = cpu_to_le32(o->verify_write_sequence); top->verify_pattern_bytes = cpu_to_le32(o->verify_pattern_bytes); top->verify_fatal = cpu_to_le32(o->verify_fatal); top->verify_dump = cpu_to_le32(o->verify_dump); diff --git a/server.h b/server.h index 449c18cf..d31cd688 100644 --- a/server.h +++ b/server.h @@ -51,7 +51,7 @@ struct fio_net_cmd_reply { }; enum { - FIO_SERVER_VER = 107, + FIO_SERVER_VER = 108, FIO_SERVER_MAX_FRAGMENT_PDU = 1024, FIO_SERVER_MAX_CMD_MB = 2048, diff --git a/thread_options.h b/thread_options.h index d0e0a4ae..4d8addc4 100644 --- a/thread_options.h +++ b/thread_options.h @@ -484,6 +484,8 @@ struct thread_options_pack { uint32_t experimental_verify; uint32_t verify_state; uint32_t verify_state_save; + uint32_t verify_write_sequence; + uint32_t pad2; uint32_t use_thread; uint32_t unlink; uint32_t unlink_each_loop;