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>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451463 (master)

(cherry picked from commit a34f905a74)
Change-Id: I8cd7707058745cdc3e91f7d821bf215ff9287c86
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457259
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Piotr Pelplinski 2019-04-18 15:36:27 +02:00 committed by Darek Stojaczyk
parent 38031e742c
commit a2711aa354
4 changed files with 14 additions and 3 deletions

View File

@ -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,
},

View File

@ -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);

View File

@ -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

@ -1 +1 @@
Subproject commit 08a5b9d2a4dcc894abb88d90117858237c3a39a1
Subproject commit 9f927de841e82d07fda63c5ad3536620b536f5e0