commit | ecf5369a40f841543f39129fffec5d039fda870f | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon Jun 09 19:56:51 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:08 2015 -0800 |
tree | 0fcf33953dea4ad17bbd4ee5a5cd09bbe14f0760 | |
parent | 4c8e9f3a32ad0a1bc8bbc85b0cfe43e73a120753 [diff] |
iolog: remember to add bytes to total IO size This fixes an issue with replay of iologs. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/iolog.c b/iolog.c index cac1aba..fd1e9e4 100644 --- a/iolog.c +++ b/iolog.c
@@ -410,6 +410,7 @@ td->o.max_bs[rw] = bytes; ipo->fileno = fileno; ipo->file_action = file_action; + td->o.size += bytes; } queue_io_piece(td, ipo);