Merge branch 'ci' of https://github.com/sitsofe/fio
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index d5d6bfe42fcde0d1dcb8711cc31e4e774a673fd4..da950ef84ac2e05070435d37eaea475fce57c11d 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -87,10 +87,13 @@ enum {
        TD_F_CHILD              = 1U << 12,
        TD_F_NO_PROGRESS        = 1U << 13,
        TD_F_REGROW_LOGS        = 1U << 14,
+       TD_F_MMAP_KEEP          = 1U << 15,
 };
 
 enum {
        FIO_RAND_BS_OFF         = 0,
+       FIO_RAND_BS1_OFF,
+       FIO_RAND_BS2_OFF,
        FIO_RAND_VER_OFF,
        FIO_RAND_MIX_OFF,
        FIO_RAND_FILE_OFF,
@@ -214,7 +217,7 @@ struct thread_data {
 
        unsigned long rand_seeds[FIO_RAND_NR_OFFS];
 
-       struct frand_state bsrange_state;
+       struct frand_state bsrange_state[DDIR_RWDIR_CNT];
        struct frand_state verify_state;
        struct frand_state trim_state;
        struct frand_state delay_state;