Commit Graph

53886 Commits

Author SHA1 Message Date
Jason Dillaman
943ff82987 qa/workunits/rbd: basic cloned image test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 23:08:02 -04:00
Jason Dillaman
f5fd093737 rbd-mirror: copy snapshot parent image settings
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:42 -04:00
Jason Dillaman
fcfdebb471 cls_rbd: asynchronous helper method to set parent
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:42 -04:00
Jason Dillaman
ae6e03dfb1 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>
2016-05-31 16:39:41 -04:00
Jason Dillaman
bfaa112c30 librbd: extend internal API to clone from open parent image
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:41 -04:00
Jason Dillaman
5a26080447 cls_rbd: asynchronous helper methods to retrieve mirror image metadata
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:41 -04:00
Jason Dillaman
3731c3c34c rbd-mirror: helper state machine to open remote/read-only images
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:41 -04:00
Casey Bodley
d169a27467 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>
2016-05-31 15:41:24 -04:00
John Wilkins
83c73398f7 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
2016-05-31 12:31:19 -07:00
Sage Weil
fa1dc125c7 unittest_bluefs: debug bdev, bluefs
Hopefully this will catch the intermittent segv we are
seeing.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-31 15:01:53 -04:00
Alfredo Deza
9d42a0f88d doc: ceph-deploy man: remove references to mds destroy. Not implemented
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-31 14:12:13 -04:00
Alfredo Deza
41995c260d doc: style fixes for gen_state_diagram 2016-05-31 14:12:13 -04:00
John Spray
f51ab4e59f 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>
2016-05-31 18:00:46 +01:00
John Spray
2ba061c144 Merge pull request #9214 from bniver/wip-bniver-9904
mds: log on bad seq

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-31 16:42:33 +01:00
Matt Benjamin
838a8473a0 Merge pull request #9391 from Adirl/bug_fix_xcon
xio: clean xcon on connection teardown

Looks good--taking the new guidance as authoritative.
2016-05-31 09:41:29 -04:00
Sage Weil
106426f172 Merge pull request #9137 from majianpeng/common-blkdev-accept-symbolic-link
common/blkdev: accept symbolic link

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-31 09:13:45 -04:00
Orit Wasserman
136efee7a5 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>
2016-05-30 16:00:46 +02:00
Roi Dayan
4a1c85c5b7 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>
2016-05-30 12:11:18 +03:00
Mykola Golub
14a150bea8 Merge pull request #9360 from dillaman/wip-16045
rbd-mirror: support multiple replicated pools

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-28 22:21:25 +03:00
Jason Dillaman
f4339ee8cb rbd-mirror: cluster-level asok commands need to support multiple pools
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-28 13:36:10 -04:00
Kefu Chai
60588e82e9 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>
2016-05-29 00:05:21 +08:00
Yuri Weinstein
092827cee7 Merge pull request #8738 from xiexingguo/xxg-wip-fstool
tool/cephfs: make EventOutput::binary() idempotent

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-28 08:57:42 -07:00
Yuri Weinstein
acef86675c Merge pull request #8778 from ukernel/wip-open-symlink
mds: fix open symlink and truncate bugs

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2016-05-28 08:56:58 -07:00
Yuri Weinstein
fbf0a095fd 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>
2016-05-28 08:52:43 -07:00
Yuri Weinstein
d6b5a4d44f 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>
2016-05-28 08:50:09 -07:00
Yuri Weinstein
b888ed6a5e 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>
2016-05-28 08:49:20 -07:00
Yuri Weinstein
071e0299c6 Merge pull request #9234 from stiopaa1/osd_osdcap_preventCopyingVectorInConstructor
osd/OSDCap: prevent copying vector/strings

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-28 08:48:31 -07:00
Yuri Weinstein
cb9301dfd6 Merge pull request #9262 from songbaisen/song27
mon: remove the redundant judge on dispatch_op function

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-28 08:46:38 -07:00
Yuri Weinstein
baebdf5e0c 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>
2016-05-28 08:44:53 -07:00
Kefu Chai
9421345112 Merge pull request #9379 from ceph/wip-cmake
cmake: add ObjectMapIterate.cc to librbd

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-28 22:57:32 +08:00
Ali Maredia
452f7b859a cmake: fix build when WITH_RADOSGW is set OFF
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-28 10:23:09 -04:00
Jason Dillaman
91e9be44da 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>
2016-05-28 06:55:10 -04:00
xie xingguo
3b0f2d02a2 test: fix ut failure caused by rbd usage update
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-28 18:24:38 +08:00
Ali Maredia
47f3e49a32 cmake: librbd missing source file
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-27 18:06:10 -04:00
Ali Maredia
ce1abf3b45 Merge pull request #9347 from tchaikov/wip-cmake
cmake: some fixes

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-05-27 17:09:49 -04:00
Yuri Weinstein
c41fc2e9af Merge pull request #8562 from ceph/wip-djf-object-map-check
rbd: add rbd object-map check

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-27 13:07:20 -07:00
Yuri Weinstein
d70e74508d Merge pull request #9280 from zhuangzeqiang/wip15522
rbd: check value of config override when setting image-meta

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-27 13:06:12 -07:00
zhuangzeqiang
4538f8152d 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>
2017-10-07 16:53:00 +08:00
Yuri Weinstein
4628b8a92e 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>
2016-05-27 13:04:47 -07:00
Yuri Weinstein
a62f3022af pybind: misc fixesReviewed-by: Josh Durgin <jdurgin@redhat.com>
pybind: misc fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-27 13:03:14 -07:00
Jason Dillaman
27a92ce851 Merge pull request #9322 from trociny/wip-16011
test: failure in journal.sh workunit test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-27 15:04:42 -04:00
Kefu Chai
990949634c cmake: remove cls_lock_client from libcephfs
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:52 +08:00
Kefu Chai
6ebe72e7e1 cmake: remove duplicated src in osd_srcs
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:52 +08:00
Kefu Chai
9a357a9de0 cmake: add libcommon to libmds
MDSDaemon is using cpu_profiler_handle_command() offered by libcommon

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:52 +08:00
Kefu Chai
1dbfb264ff 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>
2016-05-28 00:34:52 +08:00
Kefu Chai
49518a4f02 cmake: add dl to libcommon
PluginRegistry.cc uses dlopen() functions, so added it to libcommon.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:52 +08:00
Kefu Chai
b64dd9e833 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>
2016-05-28 00:34:52 +08:00
Kefu Chai
7a602ec292 cmake: use GNUInstallDirs for defining install dest directories
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:52 +08:00
Kefu Chai
39c9452089 cmake: install include/memory.h also
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:52 +08:00
Kefu Chai
cb2bb76632 cmake: install librbd headers
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:51 +08:00