Commit 32908cbf authored by Tomasz Zawadzki's avatar Tomasz Zawadzki
Browse files

deprecation: remove Open CAS Framework



Support OCF is now winding down and will not see further updates.

Change-Id: Ica2026d3a9ad13daf677fcce2b7974eb333971fc
Signed-off-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16392


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
parent 23196506
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ function usage() {
	echo " --without-iscsi-initiator No path required."
	echo " --with-vtune=DIR          Required to profile I/O under Intel VTune Amplifier XE. (Deprecated)"
	echo " --without-vtune           example: /opt/intel/vtune_amplifier_xe_version"
	echo " --with-ocf[=DIR]          Build OCF library and bdev module."
	echo " --with-ocf[=DIR]          Build OCF library and bdev module. (Deprecated)"
	echo " --without-ocf             If argument is directory, interpret it as root of OCF repo"
	echo "                           If argument is file, interpret it as compiled OCF lib"
	echo "                           If no argument is specified, OCF git submodule is used by default"
@@ -1110,6 +1110,7 @@ if echo -e '#include <stdlib.h>\nint main(void) { arc4random(); return 0; }\n' \
fi

if [[ "${CONFIG[OCF]}" = "y" ]]; then
	echo "WARNING: OCF - bdev_ocf is deprecated."
	# If OCF_PATH is a file, assume it is a library and use it to compile with
	if [ -f ${CONFIG[OCF_PATH]} ]; then
		CONFIG[CUSTOMOCF]=y
+7 −0
Original line number Diff line number Diff line
@@ -42,6 +42,13 @@ without the benefits of persistency.

VTune integration is in now deprecated and will be removed in SPDK 23.05.

### OCF

#### `bdev_ocf`

The Open CAS Framework (OCF) integration via bdev module and env_ocf is now deprecated
and will be removed in SPDK 23.05.

### nvme

#### `nvme_ctrlr_prepare_for_reset`
+4 −0
Original line number Diff line number Diff line
@@ -1256,6 +1256,8 @@ error_free:
	return rc;
}

SPDK_LOG_DEPRECATION_REGISTER(bdev_ocf, "bdev_ocf support", "SPDK 23.05", 0);

/* Read configuration file at the start of SPDK application
 * This adds vbdevs to global list if some mentioned in config */
static int
@@ -1263,6 +1265,8 @@ vbdev_ocf_init(void)
{
	int status;

	SPDK_LOG_DEPRECATED(bdev_ocf);

	status = vbdev_ocf_ctx_init();
	if (status) {
		SPDK_ERRLOG("OCF ctx initialization failed with=%d\n", status);