X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fguasi.c;h=c586f09c809dc246a3172f7b27d60a24c7e30ca4;hb=f6cbf8ac4f70c800bbbfc23c5dcf44ed619c0acc;hp=15d4801ad2ae1f37d9710d02254acb61d67a7bda;hpb=5f9099ea8adf423d0db01274ef0d7e65629c0e1c;p=fio.git diff --git a/engines/guasi.c b/engines/guasi.c index 15d4801a..c586f09c 100644 --- a/engines/guasi.c +++ b/engines/guasi.c @@ -3,12 +3,7 @@ * * IO engine using the GUASI library. * - * This is currently disabled. To enable it, execute: - * - * $ export EXTFLAGS="-DFIO_HAVE_GUASI" - * $ export EXTLIBS="-lguasi" - * - * before running make. You'll need the GUASI lib as well: + * Before running make. You'll need the GUASI lib as well: * * http://www.xmailserver.org/guasi-lib.html * @@ -21,8 +16,6 @@ #include "../fio.h" -#ifdef FIO_HAVE_GUASI - #define GFIO_MIN_THREADS 32 #ifndef GFIO_MAX_THREADS #define GFIO_MAX_THREADS 2000 @@ -87,7 +80,7 @@ static struct io_u *fio_guasi_event(struct thread_data *td, int event) } static int fio_guasi_getevents(struct thread_data *td, unsigned int min, - unsigned int max, struct timespec *t) + unsigned int max, const struct timespec *t) { struct guasi_data *ld = td->io_ops->data; int n, r; @@ -264,27 +257,6 @@ static struct ioengine_ops ioengine = { .get_file_size = generic_get_file_size, }; -#else /* FIO_HAVE_GUASI */ - -/* - * When we have a proper configure system in place, we simply wont build - * and install this io engine. For now install a crippled version that - * just complains and fails to load. - */ -static int fio_guasi_init(struct thread_data fio_unused *td) -{ - fprintf(stderr, "fio: guasi not available\n"); - return 1; -} - -static struct ioengine_ops ioengine = { - .name = "guasi", - .version = FIO_IOOPS_VERSION, - .init = fio_guasi_init, -}; - -#endif - static void fio_init fio_guasi_register(void) { register_ioengine(&ioengine);