Revert "ioengines: Make td_io_queue print log_err when got error "
[fio.git] / engines / gfapi.h
CommitLineData
cc47f094 1#include <glusterfs/api/glfs.h>
cc47f094 2#include "../fio.h"
3
4struct gf_options {
a1f871c7 5 void *pad;
b6b2626a
JA
6 char *gf_vol;
7 char *gf_brick;
53c508dd 8 int gf_single_instance;
cc47f094 9};
10
11struct gf_data {
b6b2626a
JA
12 glfs_t *fs;
13 glfs_fd_t *fd;
cc47f094 14 struct io_u **aio_events;
15};
16
17extern struct fio_option gfapi_options[];
18extern int fio_gf_setup(struct thread_data *td);
19extern void fio_gf_cleanup(struct thread_data *td);
20extern int fio_gf_get_file_size(struct thread_data *td, struct fio_file *f);
21extern int fio_gf_open_file(struct thread_data *td, struct fio_file *f);
22extern int fio_gf_close_file(struct thread_data *td, struct fio_file *f);
38ef9c90 23extern int fio_gf_unlink_file(struct thread_data *td, struct fio_file *f);