From d40a393e149752ab9a0ba8e39c5afe501b9a3797 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 28 Oct 2014 20:49:56 -0600 Subject: [PATCH] engines/glusterfs_async: remove no-op prep function Signed-off-by: Jens Axboe --- engines/glusterfs_async.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/engines/glusterfs_async.c b/engines/glusterfs_async.c index d9d66935..95ca84ef 100644 --- a/engines/glusterfs_async.c +++ b/engines/glusterfs_async.c @@ -159,22 +159,11 @@ int fio_gf_async_setup(struct thread_data *td) return r; } -static int fio_gf_async_prep(struct thread_data *td, struct io_u *io_u) -{ - dprint(FD_FILE, "%s\n", __FUNCTION__); - - if (!ddir_rw(io_u->ddir)) - return 0; - - return 0; -} - static struct ioengine_ops ioengine = { .name = "gfapi_async", .version = FIO_IOOPS_VERSION, .init = fio_gf_async_setup, .cleanup = fio_gf_cleanup, - .prep = fio_gf_async_prep, .queue = fio_gf_async_queue, .open_file = fio_gf_open_file, .close_file = fio_gf_close_file, -- 2.25.1