summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-02-11 08:31:13 -0700
committerJens Axboe <axboe@fb.com>2014-02-11 08:31:13 -0700
commit002fe73409d1e3d5e7dfe2885f75885bfaf506bc (patch)
tree90854056418f0bd4d8ce793b7c23e64afc6ec742 /file.h
parentea66e04fe1a803f6a9ddf31cb999641d4396d67c (diff)
downloadfio-002fe73409d1e3d5e7dfe2885f75885bfaf506bc.tar.gz
fio-002fe73409d1e3d5e7dfe2885f75885bfaf506bc.tar.bz2
Fix issue with openfiles= and file sizing
Fill the given size as well as we can, given the size and nr of files. Fix an issue where we don't properly honor how many files to keep open at any point in time. Signed-off-by: Jens Axboe <axboe@fb.com>
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 d7e05f4f..19413fc8 100644
--- a/file.h
+++ b/file.h
@@ -176,5 +176,6 @@ extern void dup_files(struct thread_data *, struct thread_data *);
extern int get_fileno(struct thread_data *, const char *);
extern void free_release_files(struct thread_data *);
void fio_file_reset(struct thread_data *, struct fio_file *);
+int fio_files_done(struct thread_data *);
#endif