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: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/432087 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
6d44f7b7a5
commit
48c8524983
@ -228,6 +228,12 @@ spdk_fio_cleanup_thread(struct spdk_fio_thread *fio_thread)
|
|||||||
free(fio_thread);
|
free(fio_thread);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
spdk_fio_module_finish_done(void *cb_arg)
|
||||||
|
{
|
||||||
|
*(bool *)cb_arg = true;
|
||||||
|
}
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
spdk_init_thread_poll(void *arg)
|
spdk_init_thread_poll(void *arg)
|
||||||
{
|
{
|
||||||
@ -725,12 +731,6 @@ static void fio_init spdk_fio_register(void)
|
|||||||
register_ioengine(&ioengine);
|
register_ioengine(&ioengine);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
spdk_fio_module_finish_done(void *cb_arg)
|
|
||||||
{
|
|
||||||
*(bool *)cb_arg = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
spdk_fio_finish_env(void)
|
spdk_fio_finish_env(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user