summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2012-09-19 23:22:53 +0400
committerJens Axboe <axboe@kernel.dk>2012-09-19 21:31:38 +0200
commit1ccc6dc75b28ef70cd7a8c39ac8c1cb68c720a65 (patch)
tree70e732d0fbb086226104c66f73d54e374a37834a /file.h
parent15a6f166ed6fe0f221539b8ffea55905ed25b440 (diff)
export file_lookup_open
generic_open_file is not always appropriate method, but other modules may want to implement similar callback and use hash optimization. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> 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 68f9a6e..42fd58c 100644
--- a/file.h
+++ b/file.h
@@ -153,6 +153,7 @@ extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_f
extern int __must_check generic_open_file(struct thread_data *, struct fio_file *);
extern int __must_check generic_close_file(struct thread_data *, struct fio_file *);
extern int __must_check generic_get_file_size(struct thread_data *, struct fio_file *);
+extern int __must_check file_lookup_open(struct fio_file *f, int flags);
extern int __must_check pre_read_files(struct thread_data *);
extern int add_file(struct thread_data *, const char *);
extern int add_file_exclusive(struct thread_data *, const char *);