Avoid opening files until they are used
[fio.git] / engines / mmap.c
index 5b55a811511d594cc5f84c86e828da7a6157c800..dffad90bbff8b2d357f9690b16c391cce1989da2 100644 (file)
@@ -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,
 };