summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorShaohua Li <ShLi@fusionio.com>2012-06-11 08:56:32 +0200
committerJens Axboe <axboe@kernel.dk>2012-06-11 08:56:32 +0200
commit89ac1d48971578ccb0645c292d4a058340aeb909 (patch)
treeeae846f834bd4c9626c94f91be5cf2c61539703f /file.h
parenta93c5f049da63a60f9962177d8ada50094d234de (diff)
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>
Diffstat (limited to 'file.h')
-rw-r--r--file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.h b/file.h
index 1d6624e..51df839 100644
--- a/file.h
+++ b/file.h
@@ -72,6 +72,7 @@ struct fio_file {
*/
char *file_name;
unsigned int major, minor;
+ int fileno;
void *mmap_ptr;
size_t mmap_sz;