From: Jens Axboe Date: Wed, 29 Oct 2014 02:49:56 +0000 (-0600) Subject: engines/glusterfs_async: remove no-op prep function X-Git-Tag: fio-2.1.14~24 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d40a393e149752ab9a0ba8e39c5afe501b9a3797 engines/glusterfs_async: remove no-op prep function Signed-off-by: Jens Axboe --- 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,