The following changes since commit 2f160e0c8848bab566427a11eee116d8e834bcf0: test: change GitHub actions checkout from v2 to v3 (2022-10-18 11:13:03 -0400) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to 548f1269e3772c666cac4148453d9c63bdfa65c4: Merge branch 'issue-1213' of https://github.com/SystemFabricWorks/fio (2022-10-19 12:04:50 -0400) ---------------------------------------------------------------- Brian T. Smith (2): fix configure probe for libcufile libcufile: use generic_get_file_size Vincent Fu (1): Merge branch 'issue-1213' of https://github.com/SystemFabricWorks/fio configure | 4 ++-- engines/libcufile.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) --- Diff of recent changes: diff --git a/configure b/configure index 546541a2..24c599a8 100755 --- a/configure +++ b/configure @@ -2723,9 +2723,9 @@ int main(int argc, char* argv[]) { return 0; } EOF - if compile_prog "" "-lcuda -lcudart -lcufile" "libcufile"; then + if compile_prog "" "-lcuda -lcudart -lcufile -ldl" "libcufile"; then libcufile="yes" - LIBS="-lcuda -lcudart -lcufile $LIBS" + LIBS="-lcuda -lcudart -lcufile -ldl $LIBS" else if test "$libcufile" = "yes" ; then feature_not_found "libcufile" "" diff --git a/engines/libcufile.c b/engines/libcufile.c index e575b786..2bedf261 100644 --- a/engines/libcufile.c +++ b/engines/libcufile.c @@ -606,6 +606,7 @@ FIO_STATIC struct ioengine_ops ioengine = { .version = FIO_IOOPS_VERSION, .init = fio_libcufile_init, .queue = fio_libcufile_queue, + .get_file_size = generic_get_file_size, .open_file = fio_libcufile_open_file, .close_file = fio_libcufile_close_file, .iomem_alloc = fio_libcufile_iomem_alloc,