The following changes since commit fd70e3619c00bc9f7b2f80cadf3fdb348cbacf51: io_uring: don't clear recently set sqe->rw_flags (2021-08-26 10:50:05 -0600) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to 26976a134e44f583f91e05df95ef8ec5a9cc968d: t/io_uring: pretty up multi-file depths (2021-08-27 12:44:02 -0600) ---------------------------------------------------------------- Jens Axboe (1): t/io_uring: pretty up multi-file depths t/io_uring.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) --- Diff of recent changes: diff --git a/t/io_uring.c b/t/io_uring.c index 538cc7d4..607c7946 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -515,6 +515,7 @@ static int setup_ring(struct submitter *s) static void file_depths(char *buf) { + bool prev = false; char *p; int i, j; @@ -526,10 +527,11 @@ static void file_depths(char *buf) for (i = 0; i < s->nr_files; i++) { struct file *f = &s->files[i]; - if (i + 1 == s->nr_files) - p += sprintf(p, "%d", f->pending_ios); + 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; } } }