fio: kill unused TD_F_ flag
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index d5d6bfe42fcde0d1dcb8711cc31e4e774a673fd4..06388a55c3591e39316afd830869405b0bc491e9 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -80,17 +80,19 @@ enum {
        TD_F_VER_NONE           = 1U << 5,
        TD_F_PROFILE_OPS        = 1U << 6,
        TD_F_COMPRESS           = 1U << 7,
-       TD_F_RESERVED           = 1U << 8, /* not used */
-       TD_F_COMPRESS_LOG       = 1U << 9,
-       TD_F_VSTATE_SAVED       = 1U << 10,
-       TD_F_NEED_LOCK          = 1U << 11,
-       TD_F_CHILD              = 1U << 12,
-       TD_F_NO_PROGRESS        = 1U << 13,
-       TD_F_REGROW_LOGS        = 1U << 14,
+       TD_F_COMPRESS_LOG       = 1U << 8,
+       TD_F_VSTATE_SAVED       = 1U << 9,
+       TD_F_NEED_LOCK          = 1U << 10,
+       TD_F_CHILD              = 1U << 11,
+       TD_F_NO_PROGRESS        = 1U << 12,
+       TD_F_REGROW_LOGS        = 1U << 13,
+       TD_F_MMAP_KEEP          = 1U << 14,
 };
 
 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 +216,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;
@@ -332,7 +334,7 @@ struct thread_data {
        struct timespec terminate_time;
        unsigned int ts_cache_nr;
        unsigned int ts_cache_mask;
-       unsigned int ramp_time_over;
+       bool ramp_time_over;
 
        /*
         * Time since last latency_window was started