From cec88acb0ee8a44da57a52131bf93944607d5f65 Mon Sep 17 00:00:00 2001 From: Liyi Meng Date: Fri, 24 Jan 2025 17:34:00 +0000 Subject: [PATCH] Enable Open CAS Framework Enable OCF https://github.com/Open-CAS, prepare to add caching to V2 data engine partially fix https://github.com/longhorn/longhorn/issues/10292 Signed-off-by: Liyi Meng --- Dockerfile.dapper | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 64a7cb44..2d641a9c 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -50,11 +50,11 @@ RUN git clone https://github.com/longhorn/spdk.git ${SPDK_DIR} --recursive && \ ./scripts/pkgdep.sh && \ pip3 install -r ./scripts/pkgdep/requirements.txt && \ if [ ${ARCH} = "amd64" ]; then \ - ./configure --target-arch=nehalem --disable-tests --disable-unit-tests --disable-examples --without-nvme-cuse && \ + ./configure --target-arch=nehalem --disable-tests --disable-unit-tests --disable-examples --without-nvme-cuse --with-ocf && \ make -j$(nproc) && \ make install; \ elif [ ${ARCH} = "arm64" ]; then \ - ./configure --target-arch=native --disable-tests --disable-unit-tests --disable-examples --without-nvme-cuse && \ + ./configure --target-arch=native --disable-tests --disable-unit-tests --disable-examples --without-nvme-cuse --with-ocf && \ DPDKBUILD_FLAGS="-Dplatform=generic" make -j$(nproc) && \ make install; \ else \ @@ -91,4 +91,4 @@ RUN git clone https://github.com/longhorn/go-spdk-helper.git ${GO_SPDK_HELPER_DI install -m 755 go-spdk-helper /usr/local/bin/go-spdk-helper && \ rm -rf ${GO_SPDK_HELPER_DIR} -RUN ldconfig \ No newline at end of file +RUN ldconfig