iolog: remember to add bytes to total IO size
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index cac1aba21e8bb5b2b53a4e957ebebfd0a13eaf1a..fd1e9e49dd18ad216eaad2cf15d15da879df4c3e 100644 (file)
--- 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);