X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=ioengine.h;h=6809501ffa795fa46e59419d91345bfc3904a0a6;hb=67bf982340d95ca98098ea050b54b4c7adb116c0;hp=0285b08c77567aefc1bdfed7a2bf481548a99ed5;hpb=78c1111eacdb594e0488d5adc508091fc2a3af88;p=fio.git diff --git a/ioengine.h b/ioengine.h index 0285b08c..6809501f 100644 --- a/ioengine.h +++ b/ioengine.h @@ -1,6 +1,13 @@ #ifndef FIO_IOENGINE_H #define FIO_IOENGINE_H +#ifdef CONFIG_LIBAIO +#include +#endif +#ifdef CONFIG_GUASI +#include +#endif + #define FIO_IOOPS_VERSION 14 enum { @@ -19,25 +26,25 @@ enum { */ struct io_u { union { -#ifdef FIO_HAVE_LIBAIO +#ifdef CONFIG_LIBAIO struct iocb iocb; #endif -#ifdef FIO_HAVE_POSIXAIO +#ifdef CONFIG_POSIXAIO os_aiocb_t aiocb; #endif #ifdef FIO_HAVE_SGIO struct sg_io_hdr hdr; #endif -#ifdef FIO_HAVE_GUASI +#ifdef CONFIG_GUASI guasi_req_t greq; #endif -#ifdef FIO_HAVE_SOLARISAIO +#ifdef CONFIG_SOLARISAIO aio_result_t resultp; #endif #ifdef FIO_HAVE_BINJECT struct b_user_cmd buc; #endif -#ifdef FIO_HAVE_RDMA +#ifdef CONFIG_RDMA struct ibv_mr *mr; #endif void *mmap_data;