Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Aug 29, 2021

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 26976a134e44f583f91e05df95ef8ec5a9cc968d:

t/io_uring: pretty up multi-file depths (2021-08-27 12:44:02 -0600)

are available in the Git repository at:

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

for you to fetch changes up to 4f2152278e0b3c35ded02fb3e6fb550eab7bedcd:

t/io_uring: further simplify inflight tracking (2021-08-28 15:37:25 -0600)

----------------------------------------------------------------
Jens Axboe (1):
t/io_uring: further simplify inflight tracking

 t/io_uring.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

---

Diff of recent changes:

t/io_uring.c +3 -4
index 607c7946..3130e469 100644
@@ -530,7 +530,7 @@ static void file_depths(char *buf)
 			if (prev)
 				p += sprintf(p, " %d", f->pending_ios);
 			else
-				p += sprintf(p, "%d ", f->pending_ios);
+				p += sprintf(p, "%d", f->pending_ios);
 			prev = true;
 		}
 	}
@@ -708,9 +708,8 @@ int main(int argc, char *argv[])
 		} else
 			rpc = ipc = -1;
 		file_depths(fdepths);
-		printf("IOPS=%lu, IOS/call=%ld/%ld, inflight=%u (%s)\n",
-				this_done - done, rpc, ipc, s->inflight,
-				fdepths);
+		printf("IOPS=%lu, IOS/call=%ld/%ld, inflight=(%s)\n",
+				this_done - done, rpc, ipc, fdepths);
 		done = this_done;
 		calls = this_call;
 		reap = this_reap;