]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Test-enable XIO messenger and IB/RDMA support 8557/head
authorNathan Cutler <ncutler@suse.com>
Tue, 12 Apr 2016 13:33:45 +0000 (15:33 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 5 May 2016 07:27:03 +0000 (09:27 +0200)
Fixes: http://tracker.ceph.com/issues/15472
Signed-off-by: Lars Marowsky-Bree <lmb@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index ff53897091ac59a6213f5a72d56c38ecc7bd767d..7368448f52695e1aa691fdef5f97280c253e8dd6 100644 (file)
@@ -17,6 +17,7 @@
 %bcond_with ocf
 %bcond_without cephfs_java
 %bcond_with tests
+%bcond_with xio
 %bcond_without tcmalloc
 %bcond_without libs_compat
 %bcond_with lowmem_builder
@@ -176,6 +177,10 @@ BuildRequires:     fcgi-devel
 %if 0%{?fedora} || 0%{?rhel}
 BuildRequires:  redhat-rpm-config
 %endif
+# Accelio IB/RDMA
+%if 0%{with xio}
+BuildRequires:  libxio-devel
+%endif
 
 %description
 Ceph is a massively scalable, open-source, distributed storage system that runs
@@ -215,6 +220,9 @@ Recommends:    ntp-daemon
 %if 0%{?fedora} || 0%{?rhel}
 Requires:      redhat-lsb-core
 %endif
+%if 0%{with xio}
+Requires:      libxio
+%endif
 %description base
 Base is the package that includes all the files shared amongst ceph servers
 
@@ -232,6 +240,9 @@ Requires:   python-requests
 %if 0%{?suse_version}
 Requires(pre): pwdutils
 %endif
+%if 0%{with xio}
+Requires:       libxio
+%endif
 %description -n ceph-common
 Common utilities to mount and interact with a ceph storage cluster.
 Comprised of files that are common to Ceph clients and servers.
@@ -645,6 +656,9 @@ export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`
 %if 0%{with cephfs_java}
                --enable-cephfs-java \
 %endif
+%if 0%{with xio}
+               --enable-xio \
+%endif
 %if 0%{with selinux}
                --with-selinux \
 %endif