Commit a34f905a authored by Piotr Pelplinski's avatar Piotr Pelplinski Committed by Jim Harris
Browse files

OCF: Update ocf submodule to version OCF v19.3.1



This patch updates submodule and appropiate functions.

Signed-off-by: default avatarPiotr Pelplinski <piotr.pelplinski@intel.com>
Change-Id: I8cd7707058745cdc3e91f7d821bf215ff9287c86
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451463


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent 80a2ff01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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);
Compare 08a5b9d2 to 9f927de8
Original line number Diff line number Diff line
Subproject commit 08a5b9d2a4dcc894abb88d90117858237c3a39a1
Subproject commit 9f927de841e82d07fda63c5ad3536620b536f5e0