projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid opening files until they are used
[fio.git]
/
engines
/
mmap.c
diff --git
a/engines/mmap.c
b/engines/mmap.c
index 5b55a811511d594cc5f84c86e828da7a6157c800..dffad90bbff8b2d357f9690b16c391cce1989da2 100644
(file)
--- a/
engines/mmap.c
+++ b/
engines/mmap.c
@@
-131,6
+131,7
@@
static struct ioengine_ops ioengine = {
.queue = fio_mmapio_queue,
.open_file = fio_mmapio_open,
.close_file = fio_mmapio_close,
+ .get_file_size = generic_get_file_size,
.flags = FIO_SYNCIO | FIO_NOEXTEND,
};