From 1c530373688d701d4fee280ab46e8f9f49b5671f Mon Sep 17 00:00:00 2001 From: Adam Kupczyk Date: Thu, 20 Sep 2018 15:23:28 +0200 Subject: [PATCH] test/fio: Added tips for compilation of fio with 'rados' engine. Signed-off-by: Adam Kupczyk --- src/test/fio/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/test/fio/README.md b/src/test/fio/README.md index 13a6dcf06bb81..c41742d4b9ad6 100644 --- a/src/test/fio/README.md +++ b/src/test/fio/README.md @@ -78,3 +78,17 @@ this README. To run: ./fio /path/to/job.fio + +RADOS +----- + +By default FIO can be compiled with support for RADOS. +When ceph is installed in your system default compilation of FIO includes RADOS ioengine. +If you installed ceph in any other place (cmake -DCMAKE_INSTALL_PREFIX=${CEPH_INSTALL_ROOT} ..) you can build FIO following way: + + LIBS="-lrados -ltcmalloc" LDFLAGS="-L${CEPH_INSTALL_ROOT}/lib" EXTFLAGS="-I${CEPH_INSTALL_ROOT}/include" \ + rados=yes ./configure + LIBS="-lrados -ltcmalloc" LDFLAGS="-L${CEPH_INSTALL_ROOT}/lib" EXTFLAGS="-I${CEPH_INSTALL_ROOT}/include" \ + rados=yes make + +"-ltcmalloc" is necessary if ceph was compiled with tcmalloc. -- 2.39.5