Fix thinktime_blocks
PATCH 1/1 Fix thinktime_blocks
According to the manual, the thinktime_blocks controls how many blocks to issue (instead of complete) before waiting.
Signed-off-by HongweiQin <[email protected]>
--- backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
backend.c +1 -1
@@ -864,7 +864,7 @@ static void handle_thinktime(struct thread_data *td, enum fio_ddir ddir)uint64_t total;int left; - b =ddir_rw_sum (td->io_blocks); + b =ddir_rw_sum (td->io_issues);if (b % td->o.thinktime_blocks)return ;
Signature · 1 line
1.8.3.1
Quoted 7 lines · HongweiQin
According to the manual, the
thinktime_blockscontrols how many blocks to issue (instead of complete) before waiting.Signed-off-by HongweiQin <[email protected]>--- backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
At this point wouldn't it be better to update the help to reflect the code rather than the other way around?
Signature · 1 line
Sitsofe