X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=stat.c;h=96cd7649b7cf69c4fa82311b97d9532230b86811;hb=0b2eef4940d9818f91f455d0cdb4f37db4fbb158;hp=e0e97cd923c18324ecc35597ba782495eb1e444a;hpb=f1c4b3727386bd8da3617a6730ad55cf2ba04ec8;p=fio.git diff --git a/stat.c b/stat.c index e0e97cd9..96cd7649 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;