fio: provide an option for a startdelay range
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index cda4668601e88d6945c9f43e33cf85bbbaafc234..75ed804b0d3ee850f1ff37865e00df17032db2d2 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -85,6 +85,7 @@ enum {
        FIO_RAND_SEQ_RAND_READ_OFF,
        FIO_RAND_SEQ_RAND_WRITE_OFF,
        FIO_RAND_SEQ_RAND_TRIM_OFF,
+       FIO_RAND_START_DELAY,
        FIO_RAND_NR_OFFS,
 };
 
@@ -164,6 +165,10 @@ struct thread_data {
                os_random_state_t trim_state;
                struct frand_state __trim_state;
        };
+       union {
+               os_random_state_t delay_state;
+               struct frand_state __delay_state;
+       };
 
        struct frand_state buf_state;