posixaio: fix thread problem with using errno
[fio.git] / thread_options.h
index 45e22ae45cd67fff8f662b6cc3a1b76208d04ee3..3f345c56b3bafaca9eb5acd1210e58633fb63f86 100644 (file)
@@ -105,6 +105,7 @@ struct thread_options {
        unsigned int softrandommap;
        unsigned int bs_unaligned;
        unsigned int fsync_on_close;
+       unsigned int bs_is_seq_rand;
 
        unsigned int random_distribution;
 
@@ -113,7 +114,7 @@ struct thread_options {
 
        unsigned int random_generator;
 
-       unsigned int perc_rand;
+       unsigned int perc_rand[DDIR_RWDIR_CNT];
 
        unsigned int hugepage_size;
        unsigned int rw_min_bs;
@@ -235,6 +236,7 @@ struct thread_options {
        unsigned int flow_sleep;
 
        unsigned long long offset_increment;
+       unsigned long long number_ios;
 
        unsigned int sync_file_range;
 };
@@ -317,6 +319,7 @@ struct thread_options_pack {
        uint32_t softrandommap;
        uint32_t bs_unaligned;
        uint32_t fsync_on_close;
+       uint32_t bs_is_seq_rand;
 
        uint32_t random_distribution;
        fio_fp64_t zipf_theta;
@@ -324,7 +327,7 @@ struct thread_options_pack {
 
        uint32_t random_generator;
 
-       uint32_t perc_rand;
+       uint32_t perc_rand[DDIR_RWDIR_CNT];
 
        uint32_t hugepage_size;
        uint32_t rw_min_bs;
@@ -438,6 +441,7 @@ struct thread_options_pack {
        uint32_t flow_sleep;
 
        uint64_t offset_increment;
+       uint64_t number_ios;
 
        uint32_t sync_file_range;
 } __attribute__((packed));