Add support for randomness of any IO direction
[fio.git] / thread_options.h
index 45e22ae45cd67fff8f662b6cc3a1b76208d04ee3..32677e2e3528d3d38734bc8ac401431fc647e9f7 100644 (file)
@@ -113,7 +113,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;
@@ -324,7 +324,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;