Recent changes (master)

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

 



The following changes since commit 49a416bd60825b3e42d02e46ccf495909747c16e:

  filesetup: assign fileno at setup time (2016-04-14 08:57:46 -0600)

are available in the git repository at:

  git://git.kernel.dk/fio.git master

for you to fetch changes up to eeea64a6ad6c1fed6c477a49bd5398559cf667d3:

  t/fio-verify-state: show completions in order (2016-04-15 09:03:34 -0600)

----------------------------------------------------------------
Jens Axboe (1):
      t/fio-verify-state: show completions in order

 t/verify-state.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

---

Diff of recent changes:

diff --git a/t/verify-state.c b/t/verify-state.c
index d744e6f..9a2c3df 100644
--- a/t/verify-state.c
+++ b/t/verify-state.c
@@ -27,7 +27,9 @@ static void show_s(struct thread_io_list *s, unsigned int no_s)
 	printf("Index:\t\t%llu\n", (unsigned long long) s->index);
 
 	printf("Completions:\n");
-	for (i = 0; i < s->no_comps; i++) {
+	if (!s->no_comps)
+		return;
+	for (i = s->no_comps - 1; i >= 0; i--) {
 		printf("\t(file=%2llu) %llu\n",
 				(unsigned long long) s->comps[i].fileno,
 				(unsigned long long) s->comps[i].offset);
--
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