projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Poll server idle loop any time the main status thread sleeps
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index d6802e0aea4c702cf6f591fb768ff96b49123f0d..6e68723132dff9ceff5ca472226b86decb46d0d0 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-1697,8
+1697,12
@@
static void run_threads(void)
reap_threads(&nr_running, &t_rate, &m_rate);
- if (todo)
- usleep(100000);
+ if (todo) {
+ if (is_backend)
+ fio_server_idle_loop();
+ else
+ usleep(100000);
+ }
}
while (nr_running) {