]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/fio: Added tips for compilation of fio with 'rados' engine. 24199/head
authorAdam Kupczyk <akupczyk@redhat.com>
Thu, 20 Sep 2018 13:23:28 +0000 (15:23 +0200)
committerAdam Kupczyk <akupczyk@redhat.com>
Thu, 20 Sep 2018 13:23:28 +0000 (15:23 +0200)
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/test/fio/README.md

index 13a6dcf06bb81f6fde857f876b81df0c76d6f9e7..c41742d4b9ad6a508c697ec850f2c920b668a4eb 100644 (file)
@@ -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.