From: Adam Kupczyk Date: Thu, 20 Sep 2018 13:23:28 +0000 (+0200) Subject: test/fio: Added tips for compilation of fio with 'rados' engine. X-Git-Tag: v14.0.1~174^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1c530373688d701d4fee280ab46e8f9f49b5671f;p=ceph.git test/fio: Added tips for compilation of fio with 'rados' engine. Signed-off-by: Adam Kupczyk --- 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.