Recent changes (master)
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:
t/io_uring.c +5 -3
@@ -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; } } }