ocf: clarify deprecation notice

Huawei is working on picking up support for OCF and the
associated SPDK bdev module, after Intel discontinued
support.  So clarify various docs and strings to
reflect this for now.  If everything goes according
to plan, deprecation notice will get removed before
23.05 release.  If not, SPDK will just keep the
deprecation notice for 23.05, keep the code in-tree,
and give another release cycle to get things worked
out.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9ac6bf2f509005956440b41516ca00b0c1997361
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17085
Community-CI: Mellanox Build Bot
Reviewed-by: Amir Haroush <amir.haroush@huawei.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Jim Harris 2023-03-07 20:45:01 +00:00 committed by Tomasz Zawadzki
parent 8e373044bf
commit c5224a96ae
3 changed files with 9 additions and 6 deletions

1
configure vendored
View File

@ -1115,7 +1115,6 @@ if echo -e '#include <uuid/uuid.h>\nint main(void) { uuid_generate_sha1(NULL, NU
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

View File

@ -44,8 +44,11 @@ VTune integration is in now deprecated and will be removed in SPDK 23.05.
#### `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.
The Open CAS Framework (OCF) integration via bdev module and env_ocf is currently marked
deprecated due to discontinued support from Intel. However, Huawei is working to pick up
support for these components, and the OCF project in general. This code will definitely
remain in SPDK 23.05 release, in fact it is likely deprecation notice will be removed by
then.
### nvme

View File

@ -1256,7 +1256,10 @@ error_free:
return rc;
}
SPDK_LOG_DEPRECATION_REGISTER(bdev_ocf, "bdev_ocf support", "SPDK 23.05", 0);
/* This deprecation is likely to be removed, and the ocf support will remain
* in SPDK. See deprecation.md for more details.
*/
SPDK_LOG_DEPRECATION_REGISTER(bdev_ocf, "bdev_ocf support", "SPDK 23.09", 0);
/* Read configuration file at the start of SPDK application
* This adds vbdevs to global list if some mentioned in config */
@ -1265,8 +1268,6 @@ 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);