summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTeruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>2017-11-17 11:54:26 +0900
committerTeruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>2017-11-17 13:23:04 +0900
commitae0db592368ce686a3ec9e00c57b4a1a0da0b9ed (patch)
treef421c78a8dfccc990c917b4f59aa5471fd80bb6b /configure
parent52fd65f47e7ba1ba346c53a4f31eb8b4f2024e92 (diff)
downloadfio-ae0db592368ce686a3ec9e00c57b4a1a0da0b9ed.tar.gz
fio-ae0db592368ce686a3ec9e00c57b4a1a0da0b9ed.tar.bz2
fio: add libpmem engine
Adding an ioengine that access with the libpmem as memory through a memory mmaped file on DAX filesystem. It's very similar to the mmap engine and the dev-dax engine. Signed-off-by: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp> Signed-off-by: Takashi Menjo <menjo.takashi@lab.ntt.co.jp>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index d34c0006..31ba8229 100755
--- a/configure
+++ b/configure
@@ -142,6 +142,7 @@ gfio_check="no"
libhdfs="no"
pmemblk="no"
devdax="no"
+pmem="no"
disable_lex=""
disable_pmem="no"
prefix=/usr/local
@@ -1845,6 +1846,7 @@ print_config "libpmemblk" "$libpmemblk"
# Choose the ioengines
if test "$libpmem" = "yes" && test "$disable_pmem" = "no"; then
+ pmem="yes"
devdax="yes"
if test "$libpmemblk" = "yes"; then
pmemblk="yes"
@@ -1860,6 +1862,10 @@ print_config "NVML pmemblk engine" "$pmemblk"
print_config "NVML dev-dax engine" "$devdax"
##########################################
+# Report whether libpmem engine is enabled
+print_config "NVML libpmem engine" "$pmem"
+
+##########################################
# Check if we have lex/yacc available
yacc="no"
yacc_is_bison="no"
@@ -2300,6 +2306,9 @@ fi
if test "$devdax" = "yes" ; then
output_sym "CONFIG_LINUX_DEVDAX"
fi
+if test "$pmem" = "yes" ; then
+ output_sym "CONFIG_LIBPMEM"
+fi
if test "$arith" = "yes" ; then
output_sym "CONFIG_ARITHMETIC"
if test "$yacc_is_bison" = "yes" ; then