Avoid opening files until they are used
[fio.git] / engines / sg.c
index d7c0a6d5dc9a69a9774fb667ddcfcf6e1edccdcc..39f99d8d0922050eb1a3aa3d60305cd865a09113 100644 (file)
@@ -404,6 +404,7 @@ static struct ioengine_ops ioengine = {
        .cleanup        = fio_sgio_cleanup,
        .open_file      = fio_sgio_open,
        .close_file     = generic_close_file,
+       .get_file_size  = generic_get_file_size,
        .flags          = FIO_SYNCIO | FIO_RAWIO,
 };