projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure that we have no IO pending when sleeping
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index 89ffee1277f5ad47f733b56e9bf5c86ad9b39fc8..6b6da67645870b74a59eb6c619d82ed870aee60b 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-822,6
+822,8
@@
sync_done:
if (!(b % td->o.thinktime_blocks)) {
int left;
+ io_u_quiesce(td);
+
if (td->o.thinktime_spin)
usec_spin(td->o.thinktime_spin);