client/server: add support for passing disk_util structures
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index f77e7b6c1a1177e38f3f27c6ca782b23e3d6ca38..6377869cbab7b504a7b4f7c59222e39d9151b6c7 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -949,7 +949,12 @@ void show_run_stats(void)
                                show_group_stats(rs);
                }
 
-               show_disk_util();
+               if (is_backend)
+                       fio_server_send_du();
+               else
+                       show_disk_util();
+
+               free_disk_util();
        }
 
        free(runstats);