glusterfs: capable to test with one single glfs instance
[fio.git] / engines / gfapi.h
index f8acb98ef6f613091a999e6a3f87def1662a9ecc..e4cdbcbc51e62d44a53cdeb4278f5393be884dbe 100644 (file)
@@ -1,11 +1,11 @@
 #include <glusterfs/api/glfs.h>
-#include <glusterfs/api/glfs-handles.h>
 #include "../fio.h"
 
 struct gf_options {
-       struct thread_data *td;
+       void *pad;
        char *gf_vol;
        char *gf_brick;
+       int gf_single_instance;
 };
 
 struct gf_data {
@@ -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);