From 7a3a166c6c43e45de1c8085254fbdd011c572f05 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Mon, 20 Feb 2023 08:28:15 -0500 Subject: [PATCH] configure: restore dev-dax and libpmem The commit removing pmemblk inadvertently removed dev-dax and libpmem ioengines as well. Tested-by: Yi Zhang yi.zhang@redhat.com Fixes: 04c1cdc4c108c6537681ab7c50daaed6d2fb4c93 ("pmemblk: remove pmemblk engine") Fixes: https://github.com/axboe/fio/issues/1523 Signed-off-by: Vincent Fu --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index 0d02bce8..45d10a31 100755 --- a/configure +++ b/configure @@ -2228,6 +2228,14 @@ if compile_prog "" "-lpmem2" "libpmem2"; then fi print_config "libpmem2" "$libpmem2" +# Choose libpmem-based ioengines +if test "$libpmem" = "yes" && test "$disable_pmem" = "no"; then + devdax="yes" + if test "$libpmem1_5" = "yes"; then + pmem="yes" + fi +fi + ########################################## # Report whether dev-dax engine is enabled print_config "PMDK dev-dax engine" "$devdax" -- 2.25.1