X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fgfapi.h;h=e4cdbcbc51e62d44a53cdeb4278f5393be884dbe;hb=2e7888ef96495d4e89c50914e0bc4dbff316be90;hp=d4738156a8ef01f2180ca1671d8a10a86e5ad057;hpb=cc47f094d73a6a48a5ae18f5b6fe0ae483a63a32;p=fio.git diff --git a/engines/gfapi.h b/engines/gfapi.h index d4738156..e4cdbcbc 100644 --- a/engines/gfapi.h +++ b/engines/gfapi.h @@ -1,16 +1,16 @@ #include -#include #include "../fio.h" struct gf_options { - struct thread_data *td; - char *gf_vol; - char *gf_brick; + void *pad; + char *gf_vol; + char *gf_brick; + int gf_single_instance; }; struct gf_data { - glfs_t *fs; - glfs_fd_t *fd; + glfs_t *fs; + glfs_fd_t *fd; struct io_u **aio_events; }; @@ -20,3 +20,4 @@ extern void fio_gf_cleanup(struct thread_data *td); extern int fio_gf_get_file_size(struct thread_data *td, struct fio_file *f); extern int fio_gf_open_file(struct thread_data *td, struct fio_file *f); extern int fio_gf_close_file(struct thread_data *td, struct fio_file *f); +extern int fio_gf_unlink_file(struct thread_data *td, struct fio_file *f);