Skip to content

Commit

Permalink
pmemblk: remove pmemblk engine
Browse files Browse the repository at this point in the history
No further support or maintenance of the libpmemblk library is planned.
https://pmem.io/blog/2022/11/update-on-pmdk-and-our-long-term-support-strategy/
pmem/pmdk#5538

Signed-off-by: osalyk <oksana.salyk@intel.com>
  • Loading branch information
osalyk committed Feb 17, 2023
1 parent ded6cce commit 04c1cdc
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 587 deletions.
5 changes: 0 additions & 5 deletions HOWTO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2147,11 +2147,6 @@ I/O engine
before overwriting. The `trimwrite` mode works well for this
constraint.

**pmemblk**
Read and write using filesystem DAX to a file on a filesystem
mounted with DAX on a persistent memory device through the PMDK
libpmemblk library.

**dev-dax**
Read and write using device DAX to a persistent memory device (e.g.,
/dev/dax0.0) through the PMDK libpmem library.
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,6 @@ ifdef CONFIG_MTD
SOURCE += oslib/libmtd.c
SOURCE += oslib/libmtd_legacy.c
endif
ifdef CONFIG_PMEMBLK
pmemblk_SRCS = engines/pmemblk.c
pmemblk_LIBS = -lpmemblk
ENGINES += pmemblk
endif
ifdef CONFIG_LINUX_DEVDAX
dev-dax_SRCS = engines/dev-dax.c
dev-dax_LIBS = -lpmem
Expand Down
1 change: 0 additions & 1 deletion ci/actions-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ DPKGCFG
libnbd-dev
libpmem-dev
libpmem2-dev
libpmemblk-dev
libprotobuf-c-dev
librbd-dev
libtcmalloc-minimal4
Expand Down
41 changes: 0 additions & 41 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ show_help="no"
exit_val=0
gfio_check="no"
libhdfs="no"
pmemblk="no"
devdax="no"
pmem="no"
cuda="no"
Expand Down Expand Up @@ -2229,43 +2228,6 @@ if compile_prog "" "-lpmem2" "libpmem2"; then
fi
print_config "libpmem2" "$libpmem2"

##########################################
# Check whether we have libpmemblk
# libpmem is a prerequisite
if test "$libpmemblk" != "yes" ; then
libpmemblk="no"
fi
if test "$libpmem" = "yes"; then
cat > $TMPC << EOF
#include <libpmemblk.h>
int main(int argc, char **argv)
{
PMEMblkpool *pbp;
pbp = pmemblk_open("", 0);
return 0;
}
EOF
if compile_prog "" "-lpmemblk" "libpmemblk"; then
libpmemblk="yes"
fi
fi
print_config "libpmemblk" "$libpmemblk"

# Choose libpmem-based ioengines
if test "$libpmem" = "yes" && test "$disable_pmem" = "no"; then
devdax="yes"
if test "$libpmem1_5" = "yes"; then
pmem="yes"
fi
if test "$libpmemblk" = "yes"; then
pmemblk="yes"
fi
fi

##########################################
# Report whether pmemblk engine is enabled
print_config "PMDK pmemblk engine" "$pmemblk"

##########################################
# Report whether dev-dax engine is enabled
print_config "PMDK dev-dax engine" "$devdax"
Expand Down Expand Up @@ -3191,9 +3153,6 @@ fi
if test "$mtd" = "yes" ; then
output_sym "CONFIG_MTD"
fi
if test "$pmemblk" = "yes" ; then
output_sym "CONFIG_PMEMBLK"
fi
if test "$devdax" = "yes" ; then
output_sym "CONFIG_LINUX_DEVDAX"
fi
Expand Down
Loading

0 comments on commit 04c1cdc

Please sign in to comment.