X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fgfapi.h;h=e4cdbcbc51e62d44a53cdeb4278f5393be884dbe;hb=f89cfed7d28f76e99ee7520d6d350b9847fab07c;hp=d4738156a8ef01f2180ca1671d8a10a86e5ad057;hpb=25f488581e510c1b440f2e76842ec23f3dad7b57;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);