summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-03-17 12:51:09 -0600
committerJens Axboe <axboe@fb.com>2014-03-17 12:51:09 -0600
commitbedc9dc24223bb33be4120f4a57718bc54888ca5 (patch)
tree1f8cdf7d31502fa8da7247fddf8f55091edf038a /file.h
parent7750aac43ee4e0c001860426e6fdaf22d9ddfc76 (diff)
downloadfio-bedc9dc24223bb33be4120f4a57718bc54888ca5.tar.gz
fio-bedc9dc24223bb33be4120f4a57718bc54888ca5.tar.bz2
Add support for file appends
Add option file_append (bool). If set, fio will append to a file instead of operate within the size of it. This is similar to setting offset= to the size of each file. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'file.h')
-rw-r--r--file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.h b/file.h
index c929d1da..add77730 100644
--- a/file.h
+++ b/file.h
@@ -159,7 +159,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 uint64_t get_start_offset(struct thread_data *);
+extern uint64_t get_start_offset(struct thread_data *, struct fio_file *);
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 *);