On 1/25/21 5:39 AM, Hongwei Qin wrote: > v4 -> v6: > Use lower case thinktime_blocks in help. > Modify fio.1 accordingly. > > v3 -> v4: > Use uint32_t for thinktime_blocks_type. > The tests in patch1 has been re-verified. > > v3: > The first patch adds a new parameter thinktime_blocks_type > to control the behavior of thinktime_blocks. > It can be either `complete` or `issue`. > If it is `complete` (default), fio triggers thinktime when > thinktime_blocks number of blocks are **completed**. > If it is `issue`, fio triggers thinktime when thinktime_blocks > number of blocks are **issued** > > The second patch updates the compare time if handle_thinktime > sleeps or spin. Applied, folding patch 3 into patch 1. -- Jens Axboe