OCF: Update ocf submodule to version OCF v19.3.1
This patch updates submodule and appropiate functions. Signed-off-by: Piotr Pelplinski <piotr.pelplinski@intel.com> Change-Id: I8cd7707058745cdc3e91f7d821bf215ff9287c86 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451463 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
80a2ff01f3
commit
a34f905a74
@ -491,7 +491,7 @@ static const struct ocf_ctx_config vbdev_ocf_ctx_cfg = {
|
||||
},
|
||||
|
||||
.logger = {
|
||||
.printf = vbdev_ocf_ctx_log_printf,
|
||||
.print = vbdev_ocf_ctx_log_printf,
|
||||
.dump_stack = NULL,
|
||||
},
|
||||
|
||||
|
11
lib/bdev/ocf/env/ocf_env.h
vendored
11
lib/bdev/ocf/env/ocf_env.h
vendored
@ -145,6 +145,17 @@ static inline void *env_vzalloc(size_t size)
|
||||
SPDK_MALLOC_DMA);
|
||||
}
|
||||
|
||||
static inline void *env_secure_alloc(size_t size)
|
||||
{
|
||||
return spdk_zmalloc(size, 0, NULL, SPDK_ENV_LCORE_ID_ANY,
|
||||
SPDK_MALLOC_DMA);
|
||||
}
|
||||
|
||||
static inline void env_secure_free(const void *ptr, size_t size)
|
||||
{
|
||||
return spdk_free((void *)ptr);
|
||||
}
|
||||
|
||||
static inline void env_vfree(const void *ptr)
|
||||
{
|
||||
return spdk_free((void *)ptr);
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include "vbdev_ocf.h"
|
||||
|
||||
static int
|
||||
vbdev_ocf_volume_open(ocf_volume_t volume)
|
||||
vbdev_ocf_volume_open(ocf_volume_t volume, void *opts)
|
||||
{
|
||||
struct vbdev_ocf_base **priv = ocf_volume_get_priv(volume);
|
||||
struct vbdev_ocf_base *base = vbdev_ocf_get_base_by_name(ocf_volume_get_uuid(volume)->data);
|
||||
|
2
ocf
2
ocf
@ -1 +1 @@
|
||||
Subproject commit 08a5b9d2a4dcc894abb88d90117858237c3a39a1
|
||||
Subproject commit 9f927de841e82d07fda63c5ad3536620b536f5e0
|
Loading…
Reference in New Issue
Block a user