projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d883efb
)
Don't output json headers for fio backend
author
Jens Axboe
<axboe@fb.com>
Thu, 19 Nov 2015 18:26:21 +0000
(11:26 -0700)
committer
Jens Axboe
<axboe@fb.com>
Thu, 19 Nov 2015 18:26:21 +0000
(11:26 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
stat.c
patch
|
blob
|
blame
|
history
diff --git
a/stat.c
b/stat.c
index 6ee02d32b88432856a7de556f85059d0732bfb81..da3ad2a22412dcadba647e7b5cee0250e6cfdec9 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-1612,7
+1612,7
@@
void __show_run_stats(void)
show_thread_status_normal(ts, rs, &output[__FIO_OUTPUT_NORMAL]);
}
}
- if (
output_format & FIO_OUTPUT_JSON
) {
+ if (
!is_backend && (output_format & FIO_OUTPUT_JSON)
) {
/* disk util stats, if any */
show_disk_util(1, root, &output[__FIO_OUTPUT_JSON]);