[PATCH v2 1/2] Fix thinktime_blocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to the manual, the thinktime_blocks controls how many blocks to issue (instead of complete) before waiting.

Signed-off-by: HongweiQin <glqinhongwei@xxxxxxxxx>
---
 backend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend.c b/backend.c
index e20a2e0..c85669c 100644
--- a/backend.c
+++ b/backend.c
@@ -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;
 
-- 
1.8.3.1




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux