Update OCF

Remove metadata updater
Update mpool API

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
Kozlowski Mateusz
2021-06-21 16:45:21 +02:00
parent 877772734e
commit 647124895f
9 changed files with 8 additions and 95 deletions

View File

@@ -29,7 +29,7 @@ struct env_mpool {
struct env_mpool *env_mpool_create(uint32_t hdr_size, uint32_t elem_size,
int flags, int mpool_max, bool fallback,
const uint32_t limits[env_mpool_max],
const char *name_perfix)
const char *name_perfix, bool zero)
{
uint32_t i;
char name[MPOOL_ALLOCATOR_NAME_MAX] = { '\0' };

View File

@@ -37,13 +37,14 @@ struct env_mpool;
* order or NULL if defaults are to be used. Array should have
* mpool_max elements
* @param name_prefix Format name prefix
* @param zero Unused parameter
*
* @return CAS memory pool
*/
struct env_mpool *env_mpool_create(uint32_t hdr_size, uint32_t elem_size,
int flags, int mpool_max, bool fallback,
const uint32_t limits[env_mpool_max],
const char *name_perfix);
const char *name_prefix, bool zero);
/**
* @brief Destroy existing memory pool