X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=log.c;h=759771ae6a5d3167b7fcb36f92990164d3faf351;hp=cc90f437041dcc6723f673c76b1c9c992d0077ec;hb=ea966f8188915643670fd0a13d1bf37d45936da5;hpb=21bd2987dc5d82a18af485cd1e7841e94137fc0c diff --git a/log.c b/log.c index cc90f437..759771ae 100644 --- a/log.c +++ b/log.c @@ -91,6 +91,7 @@ int read_iolog_get(struct thread_data *td, struct io_u *io_u) return 0; } + td->done = 1; return 1; } @@ -255,6 +256,7 @@ static int read_iolog2(struct thread_data *td, FILE *f) ipo->file_action = file_action; } list_add_tail(&ipo->list, &td->io_log_list); + td->total_io_size += bytes; } free(str); @@ -315,6 +317,7 @@ static int read_iolog(struct thread_data *td, FILE *f) if (bytes > td->o.max_bs[rw]) td->o.max_bs[rw] = bytes; list_add_tail(&ipo->list, &td->io_log_list); + td->total_io_size += bytes; } free(str);