Commit 48c85249 authored by Ben Walker's avatar Ben Walker Committed by Jim Harris
Browse files

fio_plugin: Move spdk_fio_module_finish_done up



This is going to be used in another function later in this
patch series, so move it up to avoid forward declaring.

Change-Id: I05227ed38b0d98b95f6a7126e9db1e3c31dc21c5
Signed-off-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/432087


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent 6d44f7b7
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -228,6 +228,12 @@ spdk_fio_cleanup_thread(struct spdk_fio_thread *fio_thread)
	free(fio_thread);
}

static void
spdk_fio_module_finish_done(void *cb_arg)
{
	*(bool *)cb_arg = true;
}

static void *
spdk_init_thread_poll(void *arg)
{
@@ -725,12 +731,6 @@ static void fio_init spdk_fio_register(void)
	register_ioengine(&ioengine);
}

static void
spdk_fio_module_finish_done(void *cb_arg)
{
	*(bool *)cb_arg = true;
}

static void
spdk_fio_finish_env(void)
{