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 (master) Reviewed-on: https://review.gerrithub.io/437199 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
4860351f5c
commit
b180363dc2
@ -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)
|
||||||
{
|
{
|
||||||
@ -733,12 +739,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