projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IO engine callback need not dump possible values
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 352ba48f4447cf77068b77bae7247ceec8dfa166..34b2b6a5d0ece0024c93b2590b65f4085d6d0593 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-454,9
+454,10
@@
static void show_thread_status(struct thread_data *td,
else
fprintf(f_out, "%s: (groupid=%d): err=%2d (%s): pid=%d\n",td->name, td->groupid, td->error, td->verror, td->pid);
else
fprintf(f_out, "%s: (groupid=%d): err=%2d (%s): pid=%d\n",td->name, td->groupid, td->error, td->verror, td->pid);
- show_ddir_status(td, rs, td->ddir);
- if (td->io_bytes[td->ddir ^ 1])
- show_ddir_status(td, rs, td->ddir ^ 1);
+ if (td_read(td))
+ show_ddir_status(td, rs, DDIR_READ);
+ if (td_write(td))
+ show_ddir_status(td, rs, DDIR_WRITE);
runtime = mtime_since(&td->epoch, &td->end_time);
if (runtime) {
runtime = mtime_since(&td->epoch, &td->end_time);
if (runtime) {