From 70afff5949ccad1196256763aab69b2528b55d88 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 9 Jun 2014 19:56:51 -0600 Subject: [PATCH] iolog: remember to add bytes to total IO size This fixes an issue with replay of iologs. Signed-off-by: Jens Axboe --- iolog.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.25.1