Skip to content

Commit 92d2079

Browse files
committed
Enable RBD backed on SPDK
We want to be able to offer SPDK as a backend too for users who want more stability, while we iron out LSVD.
1 parent 91de7d0 commit 92d2079

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build.yaml

Whitespace-only changes.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ install-deps:
2525
libzstd-dev ninja-build zlib1g-dev
2626
# SPDK deps
2727
sudo apt install -y libnuma-dev libarchive-dev libibverbs-dev librdmacm-dev \
28-
python3-pyelftools libcunit1-dev libaio-dev nasm
28+
python3-pyelftools libcunit1-dev libaio-dev nasm librados-dev librbd-dev
2929
# LSVD deps
3030
sudo apt install -y meson mold libfmt-dev librados-dev \
3131
libjemalloc-dev libradospp-dev pkg-config uuid-dev

subprojects/packagefiles/spdk/configure-spdk.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
debug() {
44
echo '===Building SPDK in debug mode...'
5-
./configure --enable-debug --without-fuse --without-nvme-cuse \
6-
--without-rbd --without-shared --without-xnvme
5+
./configure --enable-debug --with-rbd --without-fuse --without-nvme-cuse \
6+
--without-shared --without-xnvme
77
}
88

99
release() {
1010
echo '===Building SPDK in release mode...'
11-
./configure --without-fuse --without-nvme-cuse \
12-
--without-rbd --without-shared --without-xnvme
11+
./configure --with-rbd --without-fuse --without-nvme-cuse \
12+
--without-shared --without-xnvme
1313
}
1414

1515
if [ $# -lt 1 ]; then

0 commit comments

Comments
 (0)