X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=thread_options.h;h=61f4f5766e0904181689c09b1d15a4b664b25611;hb=b65c7ec44355b9bc4d6c5ee6613dfb895dace3d6;hp=d46da31b706e31dbd7a131ec2da372e4a060ce10;hpb=2dc1cbb52f73303d479a72e99930a2838c4b0fa4;p=fio.git diff --git a/thread_options.h b/thread_options.h index d46da31b..61f4f576 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; @@ -185,12 +187,6 @@ struct thread_options { char *ioscheduler; - /* - * CPU "io" cycle burner - */ - unsigned int cpuload; - unsigned int cpucycle; - /* * I/O Error handling */ @@ -216,6 +212,8 @@ struct thread_options { int flow_watermark; unsigned int flow_sleep; + unsigned long long offset_increment; + unsigned int sync_file_range; }; @@ -331,6 +329,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; @@ -370,12 +370,6 @@ struct thread_options_pack { uint8_t ioscheduler[FIO_TOP_STR_MAX]; - /* - * CPU "io" cycle burner - */ - uint32_t cpuload; - uint32_t cpucycle; - /* * I/O Error handling */ @@ -401,10 +395,14 @@ 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 *); +extern void options_default_fill(struct thread_options *o); #endif