projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaa876f
)
Poll server idle loop any time the main status thread sleeps
author
Jens Axboe
<axboe@kernel.dk>
Fri, 7 Oct 2011 10:16:19 +0000
(12:16 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 7 Oct 2011 10:16:19 +0000
(12:16 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fio.c
patch
|
blob
|
blame
|
history
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) {