From: Jens Axboe Date: Tue, 10 Jun 2014 01:56:51 +0000 (-0600) Subject: iolog: remember to add bytes to total IO size X-Git-Tag: fio-2.1.10~1 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=70afff5949ccad1196256763aab69b2528b55d88;ds=inline iolog: remember to add bytes to total IO size This fixes an issue with replay of iologs. Signed-off-by: Jens Axboe --- diff --git a/iolog.c b/iolog.c index cac1aba2..fd1e9e49 100644 --- a/iolog.c +++ b/iolog.c @@ -410,6 +410,7 @@ static int read_iolog2(struct thread_data *td, FILE *f) td->o.max_bs[rw] = bytes; ipo->fileno = fileno; ipo->file_action = file_action; + td->o.size += bytes; } queue_io_piece(td, ipo);