Commit 231040fb authored by Chunyang Hui's avatar Chunyang Hui Committed by Ben Walker
Browse files

doc/blobfs: Update rocksdb version



And add the command for release build.

Signed-off-by: default avatarChunyang Hui <chunyang.hui@intel.com>
Change-Id: Iec431d1bb41b043a3a58f5e8ca19678c3a5d4c68
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/460719


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarGangCao <gang.cao@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent 1edc5f00
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -14,21 +14,26 @@ make
~~~

Clone the RocksDB repository from the SPDK GitHub fork into a separate directory.
Make sure you check out the `spdk-v5.6.1` branch.
Make sure you check out the `spdk-v5.14.3` branch.

~~~{.sh}
cd ..
git clone -b spdk-v5.6.1 https://github.com/spdk/rocksdb.git
git clone -b spdk-v5.14.3 https://github.com/spdk/rocksdb.git
~~~

Build RocksDB.  Only the `db_bench` benchmarking tool is integrated with BlobFS.
(Note: add `DEBUG_LEVEL=0` for a release build.)

~~~{.sh}
cd rocksdb
make db_bench SPDK_DIR=path/to/spdk
~~~

Or you can also add `DEBUG_LEVEL=0` for a release build (need to turn on `USE_RTTI`).

~~~{.sh}
export USE_RTTI=1 && make db_bench DEBUG_LEVEL=0 SPDK_DIR=path/to/spdk
~~~

Create an NVMe section in the configuration file using SPDK's `gen_nvme.sh` script.

~~~{.sh}