Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Mar 22, 2019

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit d9c50de7c1d95e5c173ac6d7f5b3f0d63131f8b4:

t/io_uring: memset() allocated memory (2019-03-11 10:46:47 -0600)

are available in the Git repository at:

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

for you to fetch changes up to c5daece64fd56763f264a59965a547433d4da799:

stat: fix accumulation of latency buckets (2019-03-21 10:53:39 -0600)

----------------------------------------------------------------
Vincent Fu (1):
stat: fix accumulation of latency buckets

 stat.c | 4 ++++
 1 file changed, 4 insertions(+)

---

Diff of recent changes:

stat.c +4 -0
index 66a13bca..ecef1099 100644
@@ -1684,7 +1684,11 @@ void sum_thread_stats(struct thread_stat *dst, struct thread_stat *src,
 	}
 	for (k = 0; k < FIO_IO_U_LAT_N_NR; k++) {
 		dst->io_u_lat_n[k] += src->io_u_lat_n[k];
+	}
+	for (k = 0; k < FIO_IO_U_LAT_U_NR; k++) {
 		dst->io_u_lat_u[k] += src->io_u_lat_u[k];
+	}
+	for (k = 0; k < FIO_IO_U_LAT_M_NR; k++) {
 		dst->io_u_lat_m[k] += src->io_u_lat_m[k];
 	}
 	for (k = 0; k < FIO_IO_U_PLAT_NR; k++)