Recent changes (master)

Jens Axboe
2016-07-07T12:00:03Z

The following changes since commit f1c4b3727386bd8da3617a6730ad55cf2ba04ec8:

gfio: call g_thread_init() for <= 2.31.0 (2016-07-05 14:23:56 -0600)

are available in the git repository at:

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

for you to fetch changes up to 0b2eef4940d9818f91f455d0cdb4f37db4fbb158:

samples being added to the pending log were silently dropped because we failed to set nr_samples in the new log they get copied into (2016-07-06 15:54:10 -0400)

----------------------------------------------------------------
Karl Cronburg (1):
samples being added to the pending log were silently dropped because we failed to set nr_samples in the new log they get copied into

stat.c | 1 +
1 file changed, 1 insertion(+)

---

Diff of recent changes:

diff --git a/stat.c b/stat.c
index e0e97cd..96cd764 100644
--- a/stat.c
+++ b/stat.c
@@ -1949,6 +1949,7 @@ static struct io_logs *regrow_log(struct io_log *iolog)
dst = get_sample(iolog, cur_log, i);
memcpy(dst, src, log_entry_sz(iolog));
}
+ cur_log->nr_samples = iolog->pending->nr_samples;

iolog->pending->nr_samples = 0;
return cur_log;