bdev/ocf: OCF 20.12.1 requirements

OCF now includes on its own only small part of env, that is crucial for
compiling headers for casadm - an OCL management tool. The idea behind
this is to reduce the amount of included stuff when it is not needed.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
Change-Id: I58fef2be3ccb1cce743093ed973ba54cdbb605e1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6413
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Rafal Stefanowski 2021-02-15 11:25:42 +01:00 committed by Tomasz Zawadzki
parent 631cea63d0
commit 37028231db
4 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,6 @@
#include "spdk/log.h"
#include "ctx.h"
#include "ocf_env.h"
#include "data.h"
ocf_ctx_t vbdev_ocf_ctx;

View File

@ -35,6 +35,7 @@
#define VBDEV_OCF_CTX_H
#include <ocf/ocf.h>
#include "ocf_env.h"
#include "spdk/thread.h"
extern ocf_ctx_t vbdev_ocf_ctx;

View File

@ -34,6 +34,7 @@
#ifndef VBDEV_OCF_DATA_H
#define VBDEV_OCF_DATA_H
#include "ocf_env.h"
#include "spdk/bdev_module.h"
struct bdev_ocf_data {

View File

@ -36,7 +36,6 @@
#include <ocf/ocf.h>
#include "ocf_env.h"
#include "ctx.h"
#include "data.h"