commit | 89ac1d48971578ccb0645c292d4a058340aeb909 | [log] [tgz] |
---|---|---|
author | Shaohua Li <ShLi@fusionio.com> | Mon Jun 11 08:56:32 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 11 08:56:32 2012 +0200 |
tree | eae846f834bd4c9626c94f91be5cf2c61539703f | |
parent | a93c5f049da63a60f9962177d8ada50094d234de [diff] [blame] |
Fix "fio: file hash not empty on exit" with blktrace replay There are two problems: 1. blktrace data hasn't file close action 2. redirect file fileno isn't correct Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/filesetup.c b/filesetup.c index b1f73f7..371b405 100644 --- a/filesetup.c +++ b/filesetup.c
@@ -979,6 +979,7 @@ td->files_size = new_size; } td->files[cur_files] = f; + f->fileno = cur_files; /* * init function, io engine may not be loaded yet