Commit Graph

523 Commits

Author SHA1 Message Date
Sage Weil
c87f3f3464 Merge pull request #7503 from tchaikov/wip-cmake-spdk
build: spdk submodule; cmake

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-05 09:16:59 -05:00
Kefu Chai
09e55d0c24 autotools: enable NVMEDevice if SPDK is found
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-04 14:05:53 +08:00
Sage Weil
9a80477432 Merge branch 'gelf-logging-backend' of git://github.com/irq0/ceph
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-03 08:48:26 -05:00
Haomai Wang
7d02b82210 configure: remove unused lines
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:05:02 +08:00
Haomai Wang
47335108e1 NVMEDevice: let aio_write submit request FIFO
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:46 +08:00
Haomai Wang
4689bd2772 NVMEDevice: Fix static method
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:44 +08:00
Haomai Wang
4e85f5ec9b NVMEDevice: fix unknown serial number problem
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:44 +08:00
Haomai Wang
5aa1c86f96 Makefile: let spdk/dpdk libraries linked in upper layer
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:43 +08:00
Haomai Wang
ba5973f7ff configure.ac: fix spdk external header location
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:43 +08:00
Haomai Wang
ee4951d05c makefile: add SPDK detect and NVMEDevice to Makefile
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:42 +08:00
Marcel Lauhoff
a483168a2f Graylog2 logging
Add graylog2 as logger target. Format log entries as GELF and send them via UDP to log server

New config options
 -  log_to_graylog
 -  err_to_graylog
 -  log_graylog_host
 -  log_graylog_port

[0] https://www.graylog2.org/resources/gelf

Signed-off-by: Marcel Lauhoff <ml@irq0.org>
2016-01-29 15:32:47 +01:00
Sage Weil
f9a8c56598 Merge pull request #7368 from somnathr/wip-jemalloc-build
build: allow jemalloc enabled build with rocksdb-static

http://pulpito.ceph.com/sage-2016-01-27_18:39:48-rados-wip-sage-testing---basic-smithi/

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:22:55 -05:00
Kefu Chai
563206cc43 make: disable FuseStore if !WITH_FUSE
* configure.ac: "#define HAVE_LIBFUSE" if libfuse is found
* os/Makefile.am: do not compile FuseStore.cc if libfuse is not found

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-28 23:36:45 +08:00
Somnath Roy
a45f484a9d Build: Allow jemalloc enabled build with rocksdb-static
Presently, we can't do jemalloc enabled OSD build along with
rocksdb-static.Rocksdb is now mandatory with Bluestore and that's why
jemalloc builds are failing. Sometimes back the following commit
fd7a35731854528dde10deb3444a82ae4c1a9206 is introduced to build rocksdb
with jemalloc as well, so, we can allow jemalloc build along with
rocksdb-static now. Removing the redundant check from configure.ac.

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
2016-01-26 19:05:40 -05:00
Loic Dachary
acd4314cf3 Merge pull request #7284 from ceph/wip-make-remove-libedit
makefile: remove libedit from libclient.la

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-01-25 13:15:48 +07:00
Dan Mick
269c61a667 configure.ac: make "--with-librocksdb-static" default to 'check'
Fixes: #14463
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-01-21 15:31:47 -08:00
Kefu Chai
f5da159457 makefile: remove dependency on libedit
turns out we are not using it anymore

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-20 00:35:50 +08:00
Kefu Chai
ce8558216a configure: detect new gperftool
this is a follow-up of 6edaf4e, when tcmalloc is enabled,
perfglue/heap_profiler.cc is also compiled, it includes the
google/heap-profiler.h. so to silence the the warnings like
 warning: /usr/include/google/heap-profiler.h:35:2: #warning
 "google/heap-profiler.h is deprecated. Use gperftools/heap-profiler.h
 instead" [-Wcpp]
we also check the new location of these header files if tcmalloc
is enabled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-18 12:31:31 +08:00
Jason Dillaman
a290d34ebd Merge remote-tracking branch 'upstream/jewel' 2016-01-14 16:21:05 -05:00
Jenkins Build Slave User
86764eaebe 10.0.2 2016-01-13 16:22:27 +00:00
Kefu Chai
911e7a02a2 configure: link against bz2 and lz4 if detected
if we configure --with-librocksdb-static, the rocksdb's Makefile
will detect the installed libbz2 and libz4 by its own. if the
building env happens to have these libraries installed, a link
time dependency is introduced. so we are forced to link against
them.

Fixes: #13850
Fixes: #13981
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-12-23 01:39:50 -08:00
Sage Weil
91bf56e26b Merge remote-tracking branch 'gh/jewel' 2015-12-16 10:48:15 -05:00
Jenkins Build Slave User
9180a926a4 10.0.1 2015-12-14 23:48:54 +00:00
Josh Durgin
701a6626a2 Merge pull request #6768 from marcan/cython
pybind: port the rbd bindings to Cython

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2015-12-09 15:45:17 -08:00
Igor Podoski
e8002c38d5 configure.ac: macro fix
Configure fails with autoconf 2.63 on Centos 6.6 with:

./configure: line 34026: syntax error near unexpected token `newline'
./configure: line 34026: `  yes:no:'

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
2015-12-02 11:58:07 +01:00
Hector Martin
5113c962ee configure/packaging: introduce Cython dependency
To prepare for the migration of rbd.py to Cython, add Cython as a package
dependency and have the configure script look for it.

Also adds Cython as a dependency for admin/build-doc, and changes the
virtualenv to allow usage of system packages (to avoid having to compile
Cython inside the virtualenv).

With contributions by Josh Durgin <jdurgin@redhat.com>

Signed-off-by: Hector Martin <marcan@marcan.st>
2015-12-02 00:29:54 +09:00
Haomai Wang
720ac2b80b EventSocket: Add EventSocket structure used for event notification
EventSocket will wrap different user event notification method like linux
eventfd, solaris port. Caller can user this to replace signal

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-11-26 10:58:58 +08:00
Sage Weil
058733bb4b Merge pull request #6675 from rohanmars/wip-aix-librados-port
aix gcc librados port

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-25 17:43:44 -05:00
Yehuda Sadeh
53eda867bc Merge pull request #6292 from dx9/wip-12406-res_nquery
rgw/rgw_resolve: fallback to res_query when res_nquery not implemented

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-11-24 12:09:10 -08:00
Rohan Mars
a3a0e1cb30 aix gcc librados port
Signed-off-by: Rohan Mars <code@rohanmars.com>
2015-11-23 00:03:16 -05:00
Sage Weil
f3e88ace74 Merge remote-tracking branch 'gh/jewel' 2015-11-20 10:44:39 -05:00
Jenkins Build Slave User
6316ff8318 10.0.0 2015-11-19 16:14:41 -05:00
Rohan Mars
b7cc9d4fc3 Solaris compilation/build changes
Signed-off-by: Rohan Mars <code@rohanmars.com>
2015-11-12 17:30:49 -08:00
Jason Dillaman
c4b219ab41 configure: check for boost regex library support
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-05 16:11:53 -05:00
Sage Weil
3eccde9d9c Merge tag 'v9.2.0'
v9.2.0
2015-11-04 19:40:17 -05:00
Jenkins Build Slave User
bb2ecea240 9.2.0 2015-11-03 16:58:32 +00:00
John Coyle
cb2d4540d6 rgw/rgw_resolve: musl libc does not implement res_nquery. Added fallback to res_query.
res_query in musl libc is thread safe. Added a WITH_THREAD_SAFE_RES_QUERY cmake build option to disable default res_query lock.

Signed-off-by: John Coyle <dx9err@gmail.com>
2015-10-27 09:57:47 -04:00
Sage Weil
09d0c8adae Merge pull request #5954 from rohanmars/wip-rhel59-fixes
rhel 5.9 librados compile fix, moved blkid to RBD check/compilation

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-24 08:30:12 -04:00
Sage Weil
72d008f5dc Merge pull request #6252 from dx9/wip-12406-mallinfo
common/MemoryModel: Added explicit feature check for mallinfo().

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-24 08:29:16 -04:00
John Coyle
e138e78574 common/MemoryModel: Alpine is a linux variant but does not implement mallinfo(). Added explicit feature check.
Signed-off-by: John Coyle <dx9err@gmail.com>
2015-10-18 20:48:38 -04:00
Sage Weil
ba0d2c333d rocksdb: build rocksdb with its own Makefile
This lets us track upstream without mantaining our own autotools fork.

Move back to rocksdb vanilla 3.11.2 (without our autotools patches).

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-17 15:56:18 -04:00
Josh Durgin
28131505b8 Merge pull request #6249 from dillaman/wip-13274-infernalis
LTTng-UST tracing should be dynamically enabled

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-15 18:07:09 -04:00
Jason Dillaman
e11d8d68da tracing: merge tracepoint provider makefiles into main makefile
This results in the tracepoint provider shared libraries being
placed in the library path for unittests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-14 12:07:34 -04:00
Jenkins
3be81ae6cf 9.1.0 2015-10-13 05:56:36 -07:00
Loic Dachary
396702aabf build/ops: make dist needs files with names > 99 characters
When running make distdir=ceph-9.0.3-1870-gfd861bb dist, a few files
have names longer than 99 characters and discarded, which then causes
the resulting tarbal to be incomplete:

tar: ceph-9.0.3-1870-gfd861bb/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc: file name is too long (max 99); not dumped
tar: ceph-9.0.3-1870-gfd861bb/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h: file name is too long (max 99); not dumped

Use the tar-ustar format instead of the legacy v7
format (http://www.gnu.org/software/automake/manual/automake.html#Options). It
is unlikely machines with a C++11 compiler also have an antique tar
binary that would only support v7.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-09-24 08:07:20 +02:00
Rohan Mars
937e4f887a rhel 5.9 librados fix, removed blkid from compilation, Fixes #13177 2015-09-20 11:02:08 -07:00
Sage Weil
8e13d89f0f systemd: eliminate ceph-rgw tmpfiles.d file
This is for storing the rgw socket files for fastcgi, which we do not
want to enable by default.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-14 14:00:26 -04:00
Sage Weil
367c794cb1 systemd: no need to preprocess ceph-osd@service
This used to be necessary but now is not.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-14 14:00:26 -04:00
Sage Weil
ad3f16912b Merge remote-tracking branch 'gh/infernalis' 2015-08-31 11:29:14 -04:00
Yan, Zheng
f064e90ae5 Link ceph-fuse to fuse on DARWIN
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-08-31 16:00:22 +08:00