path: root/thread_options.h
diff options
authorJens Axboe <>2017-12-06 12:27:07 -0700
committerJens Axboe <>2017-12-06 12:27:07 -0700
commit1a9bf8146d9842d268bcb01f4286325a8cfccc21 (patch)
tree3347f14fbf0742140fcb7cecd24c77ca2fe2fc4d /thread_options.h
parent67bfebe6af2e6d030ec739fa45ccb211f3e50a0e (diff)
Add option to ignore thinktime for rated IO
By default, fio will ignore thinktime when calculating the next time to issue and IO, if rated IO is specified. This leads to fio entering a catch-up type of mode after doing the specified sleep. For some workloads, that may not be useful. If someone asks for a specific amount of IOPS and sets a thinktime, they may want to exclude the sleep time. Fixes: Signed-off-by: Jens Axboe <>
Diffstat (limited to 'thread_options.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/thread_options.h b/thread_options.h
index 793df8a5..dc290b0b 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -273,6 +273,7 @@ struct thread_options {
unsigned int rate_iops[DDIR_RWDIR_CNT];
unsigned int rate_iops_min[DDIR_RWDIR_CNT];
unsigned int rate_process;
+ unsigned int rate_ign_think;
char *ioscheduler;
@@ -547,6 +548,8 @@ struct thread_options_pack {
uint32_t rate_iops[DDIR_RWDIR_CNT];
uint32_t rate_iops_min[DDIR_RWDIR_CNT];
uint32_t rate_process;
+ uint32_t rate_ign_think;
+ uint32_t pad;
uint8_t ioscheduler[FIO_TOP_STR_MAX];