X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=file.h;h=68f9a6eead88014e129c90f6e93abf191d22020f;hp=1d6624e5a24cc8d937ec1929670035f03b331721;hb=242c38db2cabd0f00bbe37a053c62da07ba345a4;hpb=93bcfd20e37cef8cec350fe06d3a086724c9f257 diff --git a/file.h b/file.h index 1d6624e5..68f9a6ee 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; @@ -146,6 +147,7 @@ FILE_FLAG_FNS(partial_mmap); struct thread_data; extern void close_files(struct thread_data *); extern void close_and_free_files(struct thread_data *); +extern unsigned long long get_start_offset(struct thread_data *); extern int __must_check setup_files(struct thread_data *); extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_file *); extern int __must_check generic_open_file(struct thread_data *, struct fio_file *);