From 7e14ad86b82fdaf2e9b6b5a096fde549f99b1c85 Mon Sep 17 00:00:00 2001 From: Marcin Spiewak Date: Tue, 11 Apr 2023 12:47:15 +0000 Subject: [PATCH] libreduce: removing deprecation messages for pmem Deprecation notice for pmem was removed, as libreduce will still use it until pmem is supported. Change-Id: I7555dbf20a408a67fac8a6e7b2eaa23edf985eec Signed-off-by: Marcin Spiewak Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17538 Reviewed-by: Konrad Sztyber Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Community-CI: Mellanox Build Bot --- deprecation.md | 6 ------ lib/reduce/reduce.c | 5 ----- 2 files changed, 11 deletions(-) diff --git a/deprecation.md b/deprecation.md index 94cc4de35..6f0a083f4 100644 --- a/deprecation.md +++ b/deprecation.md @@ -24,12 +24,6 @@ The tags can be matched with the level 4 headers below. PMDK is no longer supported and integrations with it in SPDK are now deprecated, and will be removed in SPDK 23.05. Please see: [UPDATE ON PMDK AND OUR LONG TERM SUPPORT STRATEGY](https://pmem.io/blog/2022/11/update-on-pmdk-and-our-long-term-support-strategy/). -#### `libreduce_pm_file` - -Reduce library will no longer depend on libpmem. `pm_file_dir` parameter in `spdk_reduce_vol_init()` -will no longer point to pmem device or pmem file. Instead it will be possible to operate on a file, -without the benefits of persistency. - ### VTune #### `vtune_support` diff --git a/lib/reduce/reduce.c b/lib/reduce/reduce.c index 9dbf479ab..25abbc649 100644 --- a/lib/reduce/reduce.c +++ b/lib/reduce/reduce.c @@ -537,9 +537,6 @@ _allocate_bit_arrays(struct spdk_reduce_vol *vol) return 0; } -SPDK_LOG_DEPRECATION_REGISTER(libreduce_pm_file, - "PMDK libpmem reduce integration", "SPDK 23.05", 0); - void spdk_reduce_vol_init(struct spdk_reduce_vol_params *params, struct spdk_reduce_backing_dev *backing_dev, @@ -552,8 +549,6 @@ spdk_reduce_vol_init(struct spdk_reduce_vol_params *params, size_t mapped_len; int dir_len, max_dir_len, rc; - SPDK_LOG_DEPRECATED(libreduce_pm_file); - /* We need to append a path separator and the UUID to the supplied * path. */