X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=log.c;h=00e3913bd8a8b212f92233ceb3ff501201266a26;hp=4c7742b28fcde79529a5b405f6c16701054430ec;hb=53cdc6864f7471b28cc9b40a5314ab43e5b1cb5e;hpb=aad39f4a045ea562c8e4b93db194d65d1e3570db;ds=sidebyside diff --git a/log.c b/log.c index 4c7742b2..00e3913b 100644 --- a/log.c +++ b/log.c @@ -18,6 +18,7 @@ int read_iolog_get(struct thread_data *td, struct io_u *io_u) io_u->offset = ipo->offset; io_u->buflen = ipo->len; io_u->ddir = ipo->ddir; + io_u->file = ipo->file; free(ipo); return 0; } @@ -46,6 +47,7 @@ void log_io_piece(struct thread_data *td, struct io_u *io_u) struct list_head *entry; INIT_LIST_HEAD(&ipo->list); + ipo->file = io_u->file; ipo->offset = io_u->offset; ipo->len = io_u->buflen;