Kefu Chai
4ec719bf9e
Merge pull request #18357 from asomers/have_libaio
...
Build: create a proper WITH_BLUESTORE option
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-10-21 10:38:37 +08:00
Ali Maredia
2e477f3c05
Merge pull request #17673 from mogeb/blkin
...
blkin: link against lttng-ust-fork
2017-10-20 15:52:55 -04:00
Jianpeng Ma
b4cc9a9aa8
cmake: Build libpmem from source code.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-10-20 00:44:09 +08:00
Alan Somers
1430f36f67
Build: create a proper WITH_BLUESTORE option
...
Using Bluestore is not the same thing as having libaio, especially on
non-Linux platforms.
Signed-off-by: Alan Somers <asomers@gmail.com>
2017-10-18 10:20:06 -06:00
Ali Maredia
756d539d92
Merge pull request #18285 from tchaikov/wip-cmake
...
cmake: bump up required cmake version to 2.8.12
2017-10-13 10:47:34 -04:00
Kefu Chai
3f27dbbdb0
cmake: s/LINK_PRIVATE/PRIVATE/
...
as 2.8.12 is required not, no need to be compatible with 2.8.11 anymore.
this reverts 457f023
.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-13 14:32:32 +08:00
Kefu Chai
77ab5eb821
cmake: refactor -fsanitize=... options
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-13 14:32:32 +08:00
Kefu Chai
055ae5c476
cmake: use CMAKE_POSITION_INDEPENDENT_CODE not -fPIC
...
we use the global setting of CMAKE_POSITION_INDEPENDENT_CODE for
defining this flag.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-13 14:02:59 +08:00
Kefu Chai
966898329c
cmake: bump up the required version to 2.8.12
...
as both trusty and centos 7.3 offer 2.8.12
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-13 14:02:59 +08:00
Kefu Chai
f7822816db
Merge pull request #17972 from cbodley/wip-21401
...
auth: keep /dev/urandom open for get_random_bytes
Reviewed-by: Adam Emerson <aemerson@redhat.com>
2017-10-13 12:16:26 +08:00
Kefu Chai
0c9c5ffe0f
cmake: set supported language the right way
...
the second param of enable_launage() is not used, we should call it
multiple times to enable more than one language. switch to project()
command for simplicity.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-10 19:54:31 +08:00
Casey Bodley
513fa79f2d
cmake: detect presence of getentropy
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-10-09 10:42:25 -04:00
Kefu Chai
c999abd7a8
cmake: requires rockdb version 5.8
...
we've updated the rockdb wrapper on ceph side to be compatible with
the latest version of rocksdb upstream. so ceph is not compatible with
older version of rocksdb.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-19 13:46:50 +08:00
Kefu Chai
5980a60ab3
cmake: check for fdatasync() on non osx
...
on osx, fdatasync() is a syscall without userspace wrapper.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-16 10:43:32 +08:00
Mohamad Gebai
9049a97d41
blkin: link against lttng-ust-fork
...
Tracing with LTTng doesn't work if an application clone()s other
threads. This is an LTTng-related issue and the fix is LD_PRELOAD'ing
liblttng-ust-fork, or linking against it.
We don't have this issue with "regular" tracepoints (see WITH_LTTNG)
because the tracepoints are loaded using dlopen() at runtime by each
Ceph process.
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-09-07 09:43:20 -04:00
Sage Weil
d87e42386a
Merge pull request #16733 from liupan1111/wip-bluefs-fio
...
os: add compile option to build libbluefs.so
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-31 15:45:39 -05:00
Kefu Chai
b567261208
cmake: require lz4 v1.7 for building lz4 compressor
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-17 16:01:55 +08:00
Pan Liu
490c281fb1
os: add compile option to build libbluefs.so
...
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
2017-08-02 07:16:16 +08:00
Jenkins Build Slave User
b661348f15
12.1.2
2017-08-01 17:55:40 +00:00
Jenkins Build Slave User
f3e663a190
12.1.1
2017-07-17 16:56:02 +00:00
Sage Weil
8b08bd580d
Merge remote-tracking branch 'gh/luminous'
2017-07-07 14:19:47 -04:00
Kefu Chai
d723b8a667
Merge pull request #15305 from wjwithagen/wip-wjw-HAVE_BABELTRACE
...
cmake: Rewrite HAVE_BABELTRACE option to WITH_
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-04 20:20:12 +08:00
Willem Jan Withagen
b331898ea9
CMakeLists.txt: Rewrite 2 remaning options to WITH_
...
All options to en/disable inclusion of libraries or other software
are of the format WITH_ so that the Cmake commaind like ahs all
WITH_* options. The WITH_=ON option will result in a HAVE_ setting
in CMAKE so that tests can use that variable.
Last "abusers" to actually follow this format.
- HAVE_BABELTRACE
- HAVE_ZFSLIB is fixed in #15907
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-02 17:10:01 +02:00
Kefu Chai
f8d5f74663
cmake: compile libzfs backend conditionally
...
* do not REQUIRE libzfs if it is enabled, this follows the way how we
handle `WITH_XFS` option.
* also refactor the cmake script related to libxfs backend support a
little bit.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-27 23:28:03 +08:00
Jenkins Build Slave User
262617c9f1
12.1.0
2017-06-22 15:43:50 +00:00
Kefu Chai
1e1b108bb6
Merge pull request #15376 from tchaikov/wip-remove-boost-submodule
...
cmake: build boost as an external project
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-15 00:40:28 +08:00
Kefu Chai
1b96dada33
cmake: include boost before default system directory
...
so ceph will prefer the local boost installation to the one in system if
any.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-14 23:53:50 +08:00
Kefu Chai
83432b4461
cmake: build boost as an external project
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-14 23:53:50 +08:00
Leo Zhang
7681fd8e4a
build: add css file to excludes while generate tags
...
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2017-06-13 19:43:54 +08:00
Yuri Weinstein
41a90b99aa
Merge pull request #15223 from badone/wip-ceph_test_admin_socket_output
...
tests: Add integration tests for admin socket output
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-09 09:01:52 -07:00
Sage Weil
f3904aad0c
Merge pull request #15600 from ceph/luminous
...
12.0.3
2017-06-09 09:13:59 -05:00
Sage Weil
c2e346cf12
Merge pull request #15562 from tchaikov/wip-no-assert.h
...
common,osdc: remove atomic_t completely
Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-08 20:38:23 -05:00
Sage Weil
b0e9f3ed51
Merge pull request #15102 from majianpeng/blockdevice-pmem
...
os/bluestore/BlockDevice: support pmem device as bluestore backend
Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-08 13:15:52 -05:00
Kefu Chai
a87fa37e46
cmake,debian,rpm: remove atomic_t completely
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-08 12:21:00 +08:00
Jianpeng Ma
e25accff7d
os/bluestore/BlockDevice:support pmem device as bluestore backend.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-06-07 23:22:52 +08:00
Kefu Chai
8f5a5a9c12
Merge pull request #15413 from tchaikov/wip-rgw-boost-cleanup
...
rgw: drop asio/{yield,coroutine}.hpp replacements
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-07 22:34:42 +08:00
Brad Hubbard
c5536b1976
tests: Add integration tests for admin socket output
...
Add a framework to test all admin socket commands as reported by "help"
as well as custom commands.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-06-07 16:48:02 +10:00
Haomai Wang
a97a6e8274
compressor: add LZ4 support
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-06-03 15:56:05 +08:00
Kefu Chai
1d19254ba2
rgw: drop asio/{yield,coroutine}.hpp replacements
...
as we requires boost 1.61+ now, which offers them. see
http://www.boost.org/doc/libs/1_61_0/boost/asio/ .
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-03 02:19:50 +08:00
Kefu Chai
9fd19500bf
Merge pull request #15225 from smithfarm/wip-s390-rgw
...
build/ops: conditionalize rgw Beast frontend so it isn't built on s390x architecture
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-30 20:39:12 +08:00
Nathan Cutler
b22cde8e88
cmake: build boost::context and coroutine only with rgw Beast frontend
...
boost::context is currently (1.63) unsupported for s390x and anyway
it makes sense to conditionalize Boost components so they are only
built with the Ceph components that need them (like is already being
done for mgr).
Fixes: http://tracker.ceph.com/issues/20048
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Tim Serong <tserong@suse.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-29 22:47:44 +02:00
Kefu Chai
7a5a0a893e
Merge pull request #15338 from trociny/wip-get_process_name
...
common: get_process_name: use getprogname on bsd systems
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-05-29 20:55:30 +08:00
Kefu Chai
ef9d93b8ea
Merge pull request #15055 from mogeb/wip-with-instrument-functions
...
cmake: Add -finstrument-functions flag to OSD code
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-28 14:45:57 +08:00
Mykola Golub
134e295c69
common: get_process_name: use getprogname on bsd systems
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-05-27 21:13:08 +02:00
Mohamad Gebai
0baebc308c
cmake: configuration for OSD function instrumentation
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-05-25 15:16:14 -04:00
Matt Benjamin
d06d13472c
Merge pull request #15070 from ceph/wip-turn-off-fcgi-tserlin
...
rgw: Turn off fcgi as a frontend
2017-05-24 15:53:57 -04:00
Bassam Tabbara
23b073237e
cmake: fix boost components for WITH_SYSTEM_BOOST
...
when using WITH_SYSTEM_BOOST dont set header-only packages
for BOOST_COMPONENTS. On some distros these packages dont
exist.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2017-05-18 10:18:10 -07:00
Yuri Weinstein
9187156b55
Merge pull request #15069 from tchaikov/wip-inttypes-cleanup
...
int_types.h: remove hacks to workaround old systems
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-16 13:18:23 -07:00
Jenkins Build Slave User
f2337d1b42
12.0.3
2017-05-16 12:42:56 +00:00
Sage Weil
880dde8e47
Merge pull request #15091 from ceph/luminous
...
merge v12.0.2 release tag
2017-05-15 12:47:42 -05:00