projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'ci_and_configure' of https://github.com/sitsofe/fio
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index ba6f58540b1c8135d5e3cf957e8d96b520c49ac8..d98e5fe4e8f8040b41a14a153ed40085756c7181 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-1929,11
+1929,7
@@
static void reap_threads(unsigned int *nr_running, uint64_t *t_rate,
for_each_td(td, i) {
int flags = 0;
- /*
- * ->io_ops is NULL for a thread that has closed its
- * io engine
- */
- if (td->io_ops && !strcmp(td->io_ops->name, "cpuio"))
+ if (!strcmp(td->o.ioengine, "cpuio"))
cputhreads++;
else
realthreads++;