]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 10 May 2016 18:49:15 +0000 (14:49 -0400)]
os/bluestore/bluestore_types: add blob_t::has_any_lextents
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 10 May 2016 18:48:40 +0000 (14:48 -0400)]
os/bluestore/bluestore_types: test {find,seek}_lextents
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 10 May 2016 17:26:30 +0000 (13:26 -0400)]
os/bluestore/bluestore_types: blob_t csum additions
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 10 May 2016 00:34:53 +0000 (20:34 -0400)]
os/bluestore: blob_t::init_csum() helper
Set up the checksum parameters and size csum_data appropriately.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 May 2016 20:26:15 +0000 (16:26 -0400)]
os/bluestore: track csum config options
Use global csum_type member to drive new checksum calcuations.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 10 May 2016 00:34:26 +0000 (20:34 -0400)]
os/bluestore: instantiate a Checksummer
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 10 May 2016 00:34:13 +0000 (20:34 -0400)]
os/bluestore: prototype Checksummer
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 21:36:01 +0000 (17:36 -0400)]
buffer: add buffer::list::iterator::get_ptr_and_advance
Efficiently iterate over buffers in a list, via an iterator.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 21:26:25 +0000 (17:26 -0400)]
os/bluestore/bluestore_types: extent_ref_map_t::intersects
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 21:21:30 +0000 (17:21 -0400)]
os/bluestore/bluestore_types: change extent_ref_map_t
- no more add, or weird add vs get assumptions
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 May 2016 20:23:23 +0000 (16:23 -0400)]
os/bluestore/bluestore_types: drop num_refs from blob_t
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 19:27:00 +0000 (15:27 -0400)]
os/bluestore/bluestore_types: onode_t::punch_hole()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 16:59:19 +0000 (12:59 -0400)]
os/bluestore: disable clone cow until it works again
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 14:36:14 +0000 (10:36 -0400)]
os/bluestore: fix bad iterator deref in _do_zero_tail_extent
The extent_map may be empty, or not contain anything at this offset.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 18:41:54 +0000 (14:41 -0400)]
os/bluestore: rename enode -> bnode
We're not refcounting extents anymore; we're storing shared blobs.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 18:36:33 +0000 (14:36 -0400)]
os/bluestore: use hex almost everywhere
It's like going metric, but even better!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 18:36:04 +0000 (14:36 -0400)]
os/bluestore: remove block_map from onode
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 18:35:49 +0000 (14:35 -0400)]
os/bluestore: convert io path to extent_map
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 18:30:45 +0000 (14:30 -0400)]
os/bluestore: add get_blob_ptr helpers
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 5 May 2016 17:04:06 +0000 (13:04 -0400)]
os/bluestore/KernelDevice: print extents in hex
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 18:01:06 +0000 (14:01 -0400)]
ceph_test_objectstore: show start and end offsets for buffer mismatch
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 May 2016 20:22:56 +0000 (16:22 -0400)]
os/bluestore: add blob_map to enode
We'll remove the old ref_map once the users go away.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 May 2016 19:43:33 +0000 (15:43 -0400)]
os/bluestore: pass c to _do_read
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 May 2016 19:07:50 +0000 (15:07 -0400)]
os/bluestore: add blob_map to onode_t
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 May 2016 20:22:24 +0000 (16:22 -0400)]
os/bluestore: use pextent_t for releases
Trying to remove the old extent_t
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 May 2016 18:25:07 +0000 (14:25 -0400)]
os/bluestore: use pextent for wal_op
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 4 May 2016 18:36:49 +0000 (14:36 -0400)]
os/bluestore: print extents in hex
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 18:27:41 +0000 (14:27 -0400)]
os/bluestore: fix blob operator<<
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 May 2016 20:21:48 +0000 (16:21 -0400)]
os/bluestore: keep an extent_ref_map for each blob
This lets us track which portions of a blob are still in use. In some
cases, we may be able to split the blob to deallocate a portion of it.
In other cases, we will want this information to know whether to
recompress the blob (or whatever).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 May 2016 18:25:30 +0000 (14:25 -0400)]
os/bluestore: add map and map_bl methods to blob
Signed-off-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Tue, 3 May 2016 14:24:36 +0000 (10:24 -0400)]
os/bluestore: data structure to support compression/checksum verification. Read handler prototype implementation.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Wed, 1 Jun 2016 14:52:24 +0000 (10:52 -0400)]
Merge pull request #9183 from yehudasa/wip-rgw-sync-retry
rgw: sync retry
Reviewed-by: Casey Bodley <cbodley@redhat.com>
John Spray [Wed, 1 Jun 2016 14:37:19 +0000 (15:37 +0100)]
Merge pull request #9073 from ukernel/wip-posixacl-fix
client: fix setting empty default ACL
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Wed, 1 Jun 2016 14:28:59 +0000 (10:28 -0400)]
Merge pull request #9422 from liewegas/wip-bluefs
os/bluestore/BlueFS: wait for aios on shutdown
Loic Dachary [Wed, 1 Jun 2016 13:39:10 +0000 (15:39 +0200)]
Merge pull request #9343 from dachary/wip-13522-ceph-disk
ceph-disk: workaround gperftool hang
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 1 Jun 2016 13:14:01 +0000 (09:14 -0400)]
os/bluestore/BlueFS: wait for aios on shutdown
This fixes segv from unittest_bluefs.
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Thu, 26 May 2016 10:55:51 +0000 (12:55 +0200)]
ceph-disk: workaround gperftool hang
Temporary workaround: if ceph-osd --mkfs does not
complete within 5 minutes, assume it is blocked
because of https://github.com/gperftools/gperftools/issues/786
References http://tracker.ceph.com/issues/13522
Signed-off-by: Loic Dachary <loic@dachary.org>
Yan, Zheng [Wed, 1 Jun 2016 09:42:24 +0000 (17:42 +0800)]
qa/workunits/fs/misc: test for setting empty ACL
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yehuda Sadeh [Wed, 1 Jun 2016 09:10:20 +0000 (12:10 +0300)]
Merge pull request #9299 from cbodley/wip-rgw-vstart-valgrind
vstart: add --valgrind_rgw
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Mykola Golub [Wed, 1 Jun 2016 07:59:57 +0000 (10:59 +0300)]
Merge pull request #9375 from dillaman/wip-14937
rbd-mirror: replicate cloned images
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
xiexingguo [Wed, 1 Jun 2016 07:46:06 +0000 (15:46 +0800)]
Merge pull request #9162 from xiexingguo/xxg-wip-fixbmap
os/bluestore: fix bmap allocator relevant issues
Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Boris Ranto [Wed, 1 Jun 2016 06:57:38 +0000 (08:57 +0200)]
Merge pull request #9415 from ceph/wip-16095-parted
packaging: move parted requirement to -osd subpkg
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Brad Hubbard [Wed, 1 Jun 2016 05:28:07 +0000 (15:28 +1000)]
Merge pull request #9406 from tchaikov/wip-doc-hyperlink-of-rados_t
doc: add breathe_domain_by_extension to conf.py
xie xingguo [Wed, 18 May 2016 02:34:26 +0000 (10:34 +0800)]
os/bluestore/BitAllocator: set_bits() in batch
Which is simpler and faster.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 18 May 2016 01:57:30 +0000 (09:57 +0800)]
os/bluestore/BitAllocator: fix race condition for check_bit()
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 18 May 2016 01:24:18 +0000 (09:24 +0800)]
os/bluestore/BitAllocator: use std namespace for atomic_*
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 17 May 2016 12:35:16 +0000 (20:35 +0800)]
os/bluestore/BitAllocator: fix is_allocated() may return false positive
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Jason Dillaman [Thu, 26 May 2016 16:49:45 +0000 (12:49 -0400)]
qa/workunits/rbd: basic cloned image test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Ken Dreyer [Tue, 31 May 2016 23:50:05 +0000 (17:50 -0600)]
packaging: move parted requirement to -osd subpkg
Prior to this change, ceph-base required the "parted" package, which
meant that any installation of ceph-osd, ceph-mon, or ceph-mds would
pull in the parted package.
Move the parted dependency to ceph-osd, since ceph-disk is the only
thing that uses parted.
The advantage of this change is that Mon and MDS systems will not need
to install the parted package.
Fixes: http://tracker.ceph.com/issues/16095
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Jason Dillaman [Thu, 26 May 2016 12:22:16 +0000 (08:22 -0400)]
rbd-mirror: copy snapshot parent image settings
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 26 May 2016 16:01:15 +0000 (12:01 -0400)]
cls_rbd: asynchronous helper method to set parent
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 25 May 2016 21:38:06 +0000 (17:38 -0400)]
rbd-mirror: add support for cloning images from mirrored parent
Fixes: http://tracker.ceph.com/issues/14937
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 25 May 2016 21:36:06 +0000 (17:36 -0400)]
librbd: extend internal API to clone from open parent image
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 25 May 2016 21:13:59 +0000 (17:13 -0400)]
cls_rbd: asynchronous helper methods to retrieve mirror image metadata
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 25 May 2016 19:16:28 +0000 (15:16 -0400)]
rbd-mirror: helper state machine to open remote/read-only images
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Tue, 31 May 2016 19:41:24 +0000 (15:41 -0400)]
rgw: support size suffixes for --max-size in radosgw-admin command
rgw: support size suffixes for --max-size in radosgw-admin command
Reviewed-by: Casey Bodley <cbodley@redhat.com>
John Wilkins [Tue, 31 May 2016 19:31:19 +0000 (12:31 -0700)]
remove references to `mds destroy` in ceph-deployReviewed-by: John Wilkins
remove references to `mds destroy` in ceph-deploy
Reviewed-by: John Wilkins jowilkin@redhat.com
Sage Weil [Tue, 31 May 2016 19:01:45 +0000 (15:01 -0400)]
unittest_bluefs: debug bdev, bluefs
Hopefully this will catch the intermittent segv we are
seeing.
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Tue, 17 May 2016 13:33:19 +0000 (09:33 -0400)]
doc: ceph-deploy man: remove references to mds destroy. Not implemented
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 23 Dec 2015 16:25:13 +0000 (11:25 -0500)]
doc: style fixes for gen_state_diagram
John Spray [Tue, 31 May 2016 17:00:46 +0000 (18:00 +0100)]
Merge pull request #8915 from Vicente-Cheng/wip-clean-client-lock
client: correct the client_lock order when cleanup
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 31 May 2016 15:42:33 +0000 (16:42 +0100)]
Merge pull request #9214 from bniver/wip-bniver-9904
mds: log on bad seq
Reviewed-by: John Spray <john.spray@redhat.com>
Matt Benjamin [Tue, 31 May 2016 13:41:29 +0000 (09:41 -0400)]
Merge pull request #9391 from Adirl/bug_fix_xcon
xio: clean xcon on connection teardown
Looks good--taking the new guidance as authoritative.
Sage Weil [Tue, 31 May 2016 13:13:45 +0000 (09:13 -0400)]
Merge pull request #9137 from majianpeng/common-blkdev-accept-symbolic-link
common/blkdev: accept symbolic link
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 31 May 2016 10:33:08 +0000 (18:33 +0800)]
doc: add breathe_domain_by_extension to conf.py
so it can render the doxygen generated objects with the proper domain by
checking the extension of rendered source file.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Orit Wasserman [Mon, 30 May 2016 14:00:46 +0000 (16:00 +0200)]
Merge pull request #9350 from rzarzynski/wip-rgw-remove-unused-token_tag
rgw, cleanup: drop unused variable token_tag in rgw_swift_auth.cc
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Roi Dayan [Wed, 6 Apr 2016 05:53:10 +0000 (08:53 +0300)]
xio: clean xcon on connection teardown
Accelio could raise connection teardown event without
a disconnected/closed/refused/error event before it which will
leave the xcon reference in XioMessenger entity map and conn list
which will also cause an assertion from boost.
Signed-off-by: Roi Dayan <roid@mellanox.com>
Mykola Golub [Sat, 28 May 2016 19:21:25 +0000 (22:21 +0300)]
Merge pull request #9360 from dillaman/wip-16045
rbd-mirror: support multiple replicated pools
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Fri, 27 May 2016 15:40:58 +0000 (11:40 -0400)]
rbd-mirror: cluster-level asok commands need to support multiple pools
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sat, 28 May 2016 16:05:21 +0000 (00:05 +0800)]
Merge pull request #9284 from tchaikov/wip-cmake-doc
cmake,make: speed up man page generation
Reviewed-by: François Lafont <francois.lafont@ac-versailles.fr>
Yuri Weinstein [Sat, 28 May 2016 15:57:42 +0000 (08:57 -0700)]
Merge pull request #8738 from xiexingguo/xxg-wip-fstool
tool/cephfs: make EventOutput::binary() idempotent
Reviewed-by: John Spray <john.spray@redhat.com>
Yuri Weinstein [Sat, 28 May 2016 15:56:58 +0000 (08:56 -0700)]
Merge pull request #8778 from ukernel/wip-open-symlink
mds: fix open symlink and truncate bugs
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Yuri Weinstein [Sat, 28 May 2016 15:52:43 +0000 (08:52 -0700)]
Merge pull request #9187 from liewegas/wip-cppool
rados: refuse to cppool if there are snaps; warn about user_version
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yuri Weinstein [Sat, 28 May 2016 15:50:09 +0000 (08:50 -0700)]
Merge pull request #9222 from xiexingguo/xxg-wip-scrubq-assert
mon: fix assert triggerred by the deprecated "scrubq" state
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Sat, 28 May 2016 15:49:20 +0000 (08:49 -0700)]
Merge pull request #9233 from vumrao/wip-vumrao-15809
mon : Display full flag in ceph status if full flag is set
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Sat, 28 May 2016 15:48:31 +0000 (08:48 -0700)]
Merge pull request #9234 from stiopaa1/osd_osdcap_preventCopyingVectorInConstructor
osd/OSDCap: prevent copying vector/strings
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Sat, 28 May 2016 15:46:38 +0000 (08:46 -0700)]
Merge pull request #9262 from songbaisen/song27
mon: remove the redundant judge on dispatch_op function
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Sat, 28 May 2016 15:44:53 +0000 (08:44 -0700)]
Merge pull request #9298 from liewegas/wip-16012
osd: reject rados ops with bad PARALLELEXEC flag
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sat, 28 May 2016 14:57:32 +0000 (22:57 +0800)]
Merge pull request #9379 from ceph/wip-cmake
cmake: add ObjectMapIterate.cc to librbd
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ali Maredia [Sat, 28 May 2016 14:23:09 +0000 (10:23 -0400)]
cmake: fix build when WITH_RADOSGW is set OFF
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Jason Dillaman [Sat, 28 May 2016 10:55:10 +0000 (06:55 -0400)]
Merge pull request #9382 from xiexingguo/xxg-wip-fixrbdut
test: fix ut failure caused by rbd usage update
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
xie xingguo [Sat, 28 May 2016 06:32:30 +0000 (14:32 +0800)]
test: fix ut failure caused by rbd usage update
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Ali Maredia [Fri, 27 May 2016 22:06:10 +0000 (18:06 -0400)]
cmake: librbd missing source file
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 27 May 2016 21:09:49 +0000 (17:09 -0400)]
Merge pull request #9347 from tchaikov/wip-cmake
cmake: some fixes
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Yuri Weinstein [Fri, 27 May 2016 20:07:20 +0000 (13:07 -0700)]
Merge pull request #8562 from ceph/wip-djf-object-map-check
rbd: add rbd object-map check
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Fri, 27 May 2016 20:06:12 +0000 (13:06 -0700)]
Merge pull request #9280 from zhuangzeqiang/wip15522
rbd: check value of config override when setting image-meta
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
zhuangzeqiang [Sat, 7 Oct 2017 08:52:07 +0000 (16:52 +0800)]
rbd: check value of config override when setting image-meta
Fixes: http://tracker.ceph.com/issues/15522
Signed-off-by: zhuangzeqiang <zhuang.zeqiang@h3c.com>
Yuri Weinstein [Fri, 27 May 2016 20:04:47 +0000 (13:04 -0700)]
Merge pull request #9326 from marcan/rbd-aio-completion
librbd: only mark async completion as done after callback
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Fri, 27 May 2016 20:03:14 +0000 (13:03 -0700)]
pybind: misc fixesReviewed-by: Josh Durgin <jdurgin@redhat.com>
pybind: misc fixes
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Fri, 27 May 2016 19:04:42 +0000 (15:04 -0400)]
Merge pull request #9322 from trociny/wip-16011
test: failure in journal.sh workunit test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 27 May 2016 15:24:17 +0000 (23:24 +0800)]
cmake: remove cls_lock_client from libcephfs
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 27 May 2016 10:40:21 +0000 (18:40 +0800)]
cmake: remove duplicated src in osd_srcs
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 27 May 2016 08:00:43 +0000 (16:00 +0800)]
cmake: add libcommon to libmds
MDSDaemon is using cpu_profiler_handle_command() offered by libcommon
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 10:59:35 +0000 (18:59 +0800)]
cmake: s/ENABLE_SHARED/BUILD_SHARED_LIBS/
* BUILD_SHARED_LIB is a cmake variable respected by add_library().
so we can simply expose it as an option instead of reinventing our own.
* and mark internal libraries as STATIC explicitly
* and add keyutil to librbd as secret.cc is using it. and secret.cc is
linked into librbd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 27 May 2016 05:14:20 +0000 (13:14 +0800)]
cmake: add dl to libcommon
PluginRegistry.cc uses dlopen() functions, so added it to libcommon.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 12:54:03 +0000 (20:54 +0800)]
cmake: add missing obj to libosd
* add common_util_obj as OSD::_collect_metadata() is calling collect_sys_info(), which lives
in util.c
* add global_common_objs as OSD::_committed_osd_maps() is calling
queue_async_signal(), which lives in signal_handler.cc
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 10:14:35 +0000 (18:14 +0800)]
cmake: use GNUInstallDirs for defining install dest directories
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 09:26:03 +0000 (17:26 +0800)]
cmake: install include/memory.h also
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 09:25:28 +0000 (17:25 +0800)]
cmake: install librbd headers
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 09:25:09 +0000 (17:25 +0800)]
cmake: install libradosstriper headers
also respect BUILD_SHARED_LIBS instead of always building this lib as a
static library. and we install .so in rpm/deb packaging scripts.
Signed-off-by: Kefu Chai <kchai@redhat.com>