X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=thread_options.h;h=6a8fee72ad3fc5180a5e973a1816750865e27fe5;hp=d46da31b706e31dbd7a131ec2da372e4a060ce10;hb=1da10c195aecc96f0c7a18fdc971221d527d6a6a;hpb=2dc1cbb52f73303d479a72e99930a2838c4b0fa4 diff --git a/thread_options.h b/thread_options.h index d46da31b..6a8fee72 100644 --- a/thread_options.h +++ b/thread_options.h @@ -146,6 +146,8 @@ struct thread_options { unsigned int zero_buffers; unsigned int refill_buffers; unsigned int scramble_buffers; + unsigned int compress_percentage; + unsigned int compress_chunk; unsigned int time_based; unsigned int disable_lat; unsigned int disable_clat; @@ -216,6 +218,8 @@ struct thread_options { int flow_watermark; unsigned int flow_sleep; + unsigned long long offset_increment; + unsigned int sync_file_range; }; @@ -331,6 +335,8 @@ struct thread_options_pack { uint32_t zero_buffers; uint32_t refill_buffers; uint32_t scramble_buffers; + unsigned int compress_percentage; + unsigned int compress_chunk; uint32_t time_based; uint32_t disable_lat; uint32_t disable_clat; @@ -401,10 +407,13 @@ struct thread_options_pack { int32_t flow_watermark; uint32_t flow_sleep; + uint64_t offset_increment; + uint32_t sync_file_range; } __attribute__((packed)); extern void convert_thread_options_to_cpu(struct thread_options *o, struct thread_options_pack *top); extern void convert_thread_options_to_net(struct thread_options_pack *top, struct thread_options *); +extern int fio_test_cconv(struct thread_options *); #endif