Skip to content

Commit

Permalink
libcufile: use generic_get_file_size
Browse files Browse the repository at this point in the history
In libcufile ioengine_ops, set get_file_size to
generic_get_file_size.

Fixes axboe#1213.

Signed-off-by: Brian T. Smith <[email protected]>
  • Loading branch information
bsmith94 committed Oct 18, 2022
1 parent 57a5412 commit f1c6bd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/libcufile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f1c6bd6

Please sign in to comment.