From: Ilya Dryomov Date: Tue, 19 Apr 2022 09:21:06 +0000 (+0200) Subject: run-make-check.sh: enable RBD persistent caches X-Git-Tag: v16.2.11~537^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a283301560524df96d46454eab99174b00976e2e;p=ceph.git run-make-check.sh: enable RBD persistent caches This was attempted in commit 69a7ed4eab36 ("run-make-check: enable WITH_RBD_RWL when WITH_PMEM is true") but never completed. We soon bumped the requirement on libpmem, so WITH_SYSTEM_PMDK=ON wouldn't have worked anyway. Enable the RWL mode conditionally based on WITH_RBD_RWL variable. Enable the SSD mode unconditionally as it has no special dependencies and can be built on any architecture. Fixes: https://tracker.ceph.com/issues/55285 Signed-off-by: Ilya Dryomov (cherry picked from commit 0f1634a21f5da2250915d8ac05a6f179d4e76d03) Conflicts: run-make-check.sh [ commit 69a7ed4eab36 ("run-make-check: enable WITH_RBD_RWL when WITH_PMEM is true") not in pacific ] --- diff --git a/run-make-check.sh b/run-make-check.sh index edfe508aa370..c24b5dba1a6d 100755 --- a/run-make-check.sh +++ b/run-make-check.sh @@ -74,6 +74,10 @@ function main() { if [ $WITH_ZBD ]; then cmake_opts+=" -DWITH_ZBD=ON" fi + if [ $WITH_RBD_RWL ]; then + cmake_opts+=" -DWITH_RBD_RWL=ON" + fi + cmake_opts+=" -DWITH_RBD_SSD_CACHE=ON" in_jenkins && echo "CI_DEBUG: Our cmake_opts are: $cmake_opts CI_DEBUG: Running ./configure" configure $cmake_opts $@