Merge pull request #146 from robertbaldyga/init-core-pool-with-ctx
Initialize and deinitialize core pool with ctx
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
|
||||
#include "ocf/ocf.h"
|
||||
#include "ocf_mngt_common.h"
|
||||
#include "../ocf_priv.h"
|
||||
|
15
src/mngt/ocf_mngt_core_pool_priv.h
Normal file
15
src/mngt/ocf_mngt_core_pool_priv.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright(c) 2012-2018 Intel Corporation
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
#ifndef __OCF_MNGT_CORE_POOL_PRIV_H__
|
||||
#define __OCF_MNGT_CORE_POOL_PRIV_H__
|
||||
|
||||
#include "ocf/ocf.h"
|
||||
|
||||
void ocf_mngt_core_pool_init(ocf_ctx_t ctx);
|
||||
|
||||
void ocf_mngt_core_pool_deinit(ocf_ctx_t ctx);
|
||||
|
||||
#endif /* __OCF_MNGT_CORE_POOL_PRIV_H__ */
|
@@ -3,11 +3,11 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
#ifndef __OCF_CORE_MNGT_PRIV_H__
|
||||
#define __OCF_CORE_MNGT_PRIV_H__
|
||||
#ifndef __OCF_MNGT_CORE_PRIV_H__
|
||||
#define __OCF_MNGT_CORE_PRIV_H__
|
||||
|
||||
#include "../ocf_core_priv.h"
|
||||
|
||||
int ocf_mngt_core_init_front_volume(ocf_core_t core);
|
||||
|
||||
#endif /* __OCF_CORE_MNGT_PRIV_H__ */
|
||||
#endif /* __OCF_MNGT_CORE_PRIV_H__ */
|
||||
|
Reference in New Issue
Block a user