Recent changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 67f15dcf689815ec4fbe2cbb01f141ffc7b34c74:

  Fix fragmented package opcode mismatch (2011-10-15 16:07:40 +0200)

are available in the git repository at:
  git://git.kernel.dk/fio.git master

Jens Axboe (1):
      Fix problem with mixing is_backend and terse_output

 stat.c |   28 +++++++++++++---------------
 1 files changed, 13 insertions(+), 15 deletions(-)

---

Diff of recent changes:

diff --git a/stat.c b/stat.c
index d54aa85..19b3696 100644
--- a/stat.c
+++ b/stat.c
@@ -1012,25 +1012,23 @@ void show_run_stats(void)
 			show_thread_status(ts, rs);
 	}
 
-	if (!terse_output) {
-		for (i = 0; i < groupid + 1; i++) {
-			rs = &runstats[i];
-
-			rs->groupid = i;
-			if (is_backend)
-				fio_server_send_gs(rs);
-			else
-				show_group_stats(rs);
-		}
+	for (i = 0; i < groupid + 1; i++) {
+		rs = &runstats[i];
 
+		rs->groupid = i;
 		if (is_backend)
-			fio_server_send_du();
-		else
-			show_disk_util(0);
-
-		free_disk_util();
+			fio_server_send_gs(rs);
+		else if (!terse_output)
+			show_group_stats(rs);
 	}
 
+	if (is_backend)
+		fio_server_send_du();
+	else if (!terse_output)
+		show_disk_util(0);
+
+	free_disk_util();
+
 	free(runstats);
 	free(threadstats);
 }
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux