]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agomessages: Update MGetPoolStats.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:53:17 +0000 (20:53 -0400)]
messages: Update MGetPoolStats.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MGetPoolStatsReply.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:53:08 +0000 (20:53 -0400)]
messages: Update MGetPoolStatsReply.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MLogAck.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:52:51 +0000 (20:52 -0400)]
messages: Update MLogAck.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMgrClose.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:52:20 +0000 (20:52 -0400)]
messages: Update MMgrClose.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMgrConfigure.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:52:10 +0000 (20:52 -0400)]
messages: Update MMgrConfigure.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMgrMap.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:51:59 +0000 (20:51 -0400)]
messages: Update MMgrMap.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMgrOpen.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:51:48 +0000 (20:51 -0400)]
messages: Update MMgrOpen.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMgrReport.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:51:38 +0000 (20:51 -0400)]
messages: Update MMgrReport.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMonCommand.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:51:23 +0000 (20:51 -0400)]
messages: Update MMonCommand.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMonCommandAck.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:51:13 +0000 (20:51 -0400)]
messages: Update MMonCommandAck.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMonGetOSDMap.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:51:01 +0000 (20:51 -0400)]
messages: Update MMonGetOSDMap.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMonGetVersion.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:50:39 +0000 (20:50 -0400)]
messages: Update MMonGetVersion.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMonGetVersionReply.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:50:27 +0000 (20:50 -0400)]
messages: Update MMonGetVersionReply.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMonMap.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:50:06 +0000 (20:50 -0400)]
messages: Update MMonMap.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMonSubscribe.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:49:54 +0000 (20:49 -0400)]
messages: Update MMonSubscribe.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MMonSubscribeAck.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:49:37 +0000 (20:49 -0400)]
messages: Update MMonSubscribeAck.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MOSDBackoff.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:49:16 +0000 (20:49 -0400)]
messages: Update MOSDBackoff.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MOSDMap.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:49:04 +0000 (20:49 -0400)]
messages: Update MOSDMap.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MOSDPGLog.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:48:50 +0000 (20:48 -0400)]
messages: Update MOSDPGLog.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MOSDOp.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:48:14 +0000 (20:48 -0400)]
messages: Update MOSDOp.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MOSDPeeringOp.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:47:54 +0000 (20:47 -0400)]
messages: Update MOSDPeeringOp.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MOSDOpRepOp.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:47:26 +0000 (20:47 -0400)]
messages: Update MOSDOpRepOp.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MOSDOpReply.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:47:12 +0000 (20:47 -0400)]
messages: Update MOSDOpReply.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MOSDRepOpReply.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:46:54 +0000 (20:46 -0400)]
messages: Update MOSDRepOpReply.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MPGStats.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:46:33 +0000 (20:46 -0400)]
messages: Update MPGStats.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MPoolOp.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:46:20 +0000 (20:46 -0400)]
messages: Update MPoolOp.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MPoolOpReply.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:44:19 +0000 (20:44 -0400)]
messages: Update MPoolOpReply.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MStatfs.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:44:07 +0000 (20:44 -0400)]
messages: Update MStatfs.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MStatfsReply.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:43:55 +0000 (20:43 -0400)]
messages: Update MStatfsReply.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update MWatchNotify.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:43:40 +0000 (20:43 -0400)]
messages: Update MWatchNotify.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Update PaxosServiceMessage.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:43:32 +0000 (20:43 -0400)]
messages: Update PaxosServiceMessage.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomgr: Update DaemonHealthMetric.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:42:49 +0000 (20:42 -0400)]
mgr: Update DaemonHealthMetric.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomgr: Update MgrClient to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:42:34 +0000 (20:42 -0400)]
mgr: Update MgrClient to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomgr: Update MgrContext.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:42:18 +0000 (20:42 -0400)]
mgr: Update MgrContext.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomgr: Update OSDPerfMetricTypes.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:42:01 +0000 (20:42 -0400)]
mgr: Update OSDPerfMetricTypes.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Update MgrMap.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:41:33 +0000 (20:41 -0400)]
mon: Update MgrMap.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomgr: Update ServiceMap to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:40:59 +0000 (20:40 -0400)]
mgr: Update ServiceMap to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Update MonCap to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:40:45 +0000 (20:40 -0400)]
mon: Update MonCap to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Update MonClient to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:40:33 +0000 (20:40 -0400)]
mon: Update MonClient to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Update MonMap to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:40:18 +0000 (20:40 -0400)]
mon: Update MonMap to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Update PGMap to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:40:07 +0000 (20:40 -0400)]
mon: Update PGMap to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Update Session.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:39:51 +0000 (20:39 -0400)]
mon: Update Session.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Update health_check.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:39:41 +0000 (20:39 -0400)]
mon: Update health_check.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Update mon_types.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:39:28 +0000 (20:39 -0400)]
mon: Update mon_types.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomsg: Update Connection.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:38:56 +0000 (20:38 -0400)]
msg: Update Connection.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomsg: Update Message.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:38:45 +0000 (20:38 -0400)]
msg: Update Message.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomsg: Update Messenger.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:38:30 +0000 (20:38 -0400)]
msg: Update Messenger.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomsg: Update msg_types.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:37:49 +0000 (20:37 -0400)]
msg: Update msg_types.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoobjclass: Update objclass.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:37:34 +0000 (20:37 -0400)]
objclass: Update objclass.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoos: Update ObjectStore.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:37:14 +0000 (20:37 -0400)]
os: Update ObjectStore.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoos: Update ObjectMap.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:37:03 +0000 (20:37 -0400)]
os: Update ObjectMap.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Update PGPeeringEvent.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:35:02 +0000 (20:35 -0400)]
osd: Update PGPeeringEvent.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Update Watch.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:34:51 +0000 (20:34 -0400)]
osd: Update Watch.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Update OSDMapMapping to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:34:26 +0000 (20:34 -0400)]
osd: Update OSDMapMapping to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Update ECMsgTypes to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:34:05 +0000 (20:34 -0400)]
osd: Update ECMsgTypes to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Update HitSet to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:33:45 +0000 (20:33 -0400)]
osd: Update HitSet to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Update OSDMap to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:33:28 +0000 (20:33 -0400)]
osd: Update OSDMap to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Update OpRequest to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:33:05 +0000 (20:33 -0400)]
osd: Update OpRequest to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Update osd_types to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:32:43 +0000 (20:32 -0400)]
osd: Update osd_types to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosdc: Update Filer.h to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:31:55 +0000 (20:31 -0400)]
osdc: Update Filer.h to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosdc: Update Striper to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:31:17 +0000 (20:31 -0400)]
osdc: Update Striper to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosdc: Update Objecter to work without using namespace
Adam C. Emerson [Fri, 29 Mar 2019 00:30:44 +0000 (20:30 -0400)]
osdc: Update Objecter to work without using namespace

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge PR #27124 into master
Sage Weil [Mon, 25 Mar 2019 18:15:16 +0000 (13:15 -0500)]
Merge PR #27124 into master

* refs/pull/27124/head:
osd/pg: use emplace() to construct new element in-place

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27079 into master
Sage Weil [Mon, 25 Mar 2019 18:14:41 +0000 (13:14 -0500)]
Merge PR #27079 into master

* refs/pull/27079/head:
mgr/pg_autoscaler: Fix python3 incompatibility

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge PR #27113 into master
Sage Weil [Mon, 25 Mar 2019 18:14:11 +0000 (13:14 -0500)]
Merge PR #27113 into master

* refs/pull/27113/head:
mgr/diskprediction_cloud: Correct base64 encode translate table

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27156 into master
Sage Weil [Mon, 25 Mar 2019 18:08:56 +0000 (13:08 -0500)]
Merge PR #27156 into master

* refs/pull/27156/head:
common/blkdev: get_device_id: behave if model is lvm and id_model_enc isn't there

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #26100 from ceph/wip-s3a-hadoop-ver
Casey Bodley [Mon, 25 Mar 2019 17:22:39 +0000 (13:22 -0400)]
Merge pull request #26100 from ceph/wip-s3a-hadoop-ver

qa/tests: update s3a hadoop versions used for test

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27150 from tchaikov/wip-ceph.spec.in/immutable-object-cache
Kefu Chai [Mon, 25 Mar 2019 15:38:50 +0000 (23:38 +0800)]
Merge pull request #27150 from tchaikov/wip-ceph.spec.in/immutable-object-cache

rpm: immutable-object-cache related changes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #27126 from tchaikov/wip-monclient-srv-priority
Kefu Chai [Mon, 25 Mar 2019 15:29:46 +0000 (23:29 +0800)]
Merge pull request #27126 from tchaikov/wip-monclient-srv-priority

mon/MonClient: add proper SRV priority support

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #25808 from joke-lee/fix_dump_usage_categories_info
J. Eric Ivancich [Mon, 25 Mar 2019 15:11:48 +0000 (11:11 -0400)]
Merge pull request #25808 from joke-lee/fix_dump_usage_categories_info

rgw: usage dump_unsigned instead dump_int in dump_usage_categories_info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #26070 from iliul/fix-bug-38002
J. Eric Ivancich [Mon, 25 Mar 2019 15:11:17 +0000 (11:11 -0400)]
Merge pull request #26070 from iliul/fix-bug-38002

rgw: Replace COMPLETE_MULTIPART_MAX_LEN with rgw_max_put_param_size

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #26947 from IrekFasikhov/fixRGWMultiDeleteObject
J. Eric Ivancich [Mon, 25 Mar 2019 15:10:20 +0000 (11:10 -0400)]
Merge pull request #26947 from IrekFasikhov/fixRGWMultiDeleteObject

rgw: fix RGWDeleteMultiObj::verify_permission()

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 years agocommon/blkdev: get_device_id: behave if model is lvm and id_model_enc isn't there 27156/head
Sage Weil [Mon, 25 Mar 2019 12:10:21 +0000 (07:10 -0500)]
common/blkdev: get_device_id: behave if model is lvm and id_model_enc isn't there

If that happens, leave ID_MODEL blank and we'll fall back to something
else, like ID_SERIAL (which is present in each case I've seen this).

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26634 from theanalyst/scheduler-beast-ctx
Casey Bodley [Mon, 25 Mar 2019 12:56:57 +0000 (08:56 -0400)]
Merge pull request #26634 from theanalyst/scheduler-beast-ctx

rgw: build async scheduler only when beast is built

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #25451 from nathan-weinberg/gateway-tests
Lenz Grimmer [Mon, 25 Mar 2019 11:43:56 +0000 (12:43 +0100)]
Merge pull request #25451 from nathan-weinberg/gateway-tests

mgr/dashboard: Added breadcrumb tests to Object Gateway menu items

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #26850 from nathan-weinberg/nfs-breadcrumb
Lenz Grimmer [Mon, 25 Mar 2019 11:21:02 +0000 (12:21 +0100)]
Merge pull request #26850 from nathan-weinberg/nfs-breadcrumb

mgr/dashboard: Added breadcrumb tests to NFS menu

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agorpm,deb: let immutable-object-cache depend on librados2 27150/head
Kefu Chai [Mon, 25 Mar 2019 05:51:41 +0000 (13:51 +0800)]
rpm,deb: let immutable-object-cache depend on librados2

ceph-common depends on librados2, but ceph-immutable-object-cache only
uses librados2's C++ API, so librados2 would suffice.

rpmbuild is able to figure out the .so dependencies, and let
ceph-immutable-object-cache depend on the package which offers
librados2, but we'd better make sure immutable-object-cache is linked
against the librados2 of the same version, to ensure that librados2
offers the correct C++ symbols. as we only version the C++ API in the
librados2 after nautilus.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27090 from xiexingguo/wip-config-mon-core
Xie Xingguo [Mon, 25 Mar 2019 05:28:41 +0000 (13:28 +0800)]
Merge pull request #27090 from xiexingguo/wip-config-mon-core

mon/ConfigMonitor: make 'num' of 'config reset' optional; allow target version 0

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agorpm: remove libradospp1 from immutable-object-cache's Requires
Kefu Chai [Mon, 25 Mar 2019 04:46:22 +0000 (12:46 +0800)]
rpm: remove libradospp1 from immutable-object-cache's Requires

* remove "libradospp1" from immutable-object-cache's runtime
  dependencies. this package was removed in 65c8733b

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agorpm: do not use "-n" for immutable-object-cache
Kefu Chai [Sun, 24 Mar 2019 14:08:36 +0000 (22:08 +0800)]
rpm: do not use "-n" for immutable-object-cache

as immutable-object-cache has the prefix of "ceph", no need to use "-n"
option. so this change is but a cleanup.

* use "%package immutable-object-cache" not "%package
  ceph-immutable-object-cache" for naming subpackage of
  "ceph-immutable-object-cache". this would result in package name of
  "ceph-immutable-object-cache". see
  http://ftp.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html
* the same applies to other directives with "-n" options, see
  http://ftp.rpm.org/max-rpm/s1-rpm-inside-package-directive.html

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoosd/pg: use emplace() to construct new element in-place 27124/head
Zengran Zhang [Fri, 22 Mar 2019 13:36:47 +0000 (21:36 +0800)]
osd/pg: use emplace() to construct new element in-place

replace emplace() and emplace_back() with insert() and push_back()
calls to construct the new element in-place and avoid the overhead
of move constructor calls

Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
6 years agomon/ConfigMonitor: make 'num' of 'config reset' command optional 27090/head
xie xingguo [Thu, 21 Mar 2019 09:14:27 +0000 (17:14 +0800)]
mon/ConfigMonitor: make 'num' of 'config reset' command optional

This way it can be used to fast cancel/undo the last command.
Also make the tip message a litter bit nicer..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge PR #27147 into master
Sage Weil [Sun, 24 Mar 2019 15:25:45 +0000 (10:25 -0500)]
Merge PR #27147 into master

* refs/pull/27147/head:
qa/workunits/mon/config.sh: s|bin/ceph|ceph|

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26531 from majianpeng/msg-async-optimization
Kefu Chai [Sun, 24 Mar 2019 02:46:58 +0000 (10:46 +0800)]
Merge pull request #26531 from majianpeng/msg-async-optimization

msg/async: optimizations

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #27107 from neha-ojha/wip-38845
Kefu Chai [Sun, 24 Mar 2019 02:28:25 +0000 (10:28 +0800)]
Merge pull request #27107 from neha-ojha/wip-38845

mon/Monitor.cc: print min_mon_release correctly

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27097 from tchaikov/wip-option-sv-as-keys
Kefu Chai [Sun, 24 Mar 2019 02:26:44 +0000 (10:26 +0800)]
Merge pull request #27097 from tchaikov/wip-option-sv-as-keys

common/config: use string_view for keys

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #26220 from ashitakasam/master
Kefu Chai [Sun, 24 Mar 2019 02:23:05 +0000 (10:23 +0800)]
Merge pull request #26220 from ashitakasam/master

common/Formatter: escape printed buffer in XMLFormatter::dump_format_va()

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27138 into master
Sage Weil [Sat, 23 Mar 2019 20:09:29 +0000 (15:09 -0500)]
Merge PR #27138 into master

* refs/pull/27138/head:
qa/suites/upgrade/nautilus-x: misc updates

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
6 years agoqa/workunits/mon/config.sh: s|bin/ceph|ceph| 27147/head
Kefu Chai [Sat, 23 Mar 2019 14:43:03 +0000 (22:43 +0800)]
qa/workunits/mon/config.sh: s|bin/ceph|ceph|

so we can verify that ceph is able to reject wrong debug levels.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27143 from dzafman/wip-38896
Kefu Chai [Sat, 23 Mar 2019 11:40:34 +0000 (19:40 +0800)]
Merge pull request #27143 from dzafman/wip-38896

doc: Fix the pg states and auto repair config options

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: Fix the pg states and auto repair config options 27143/head
David Zafman [Fri, 22 Mar 2019 23:47:23 +0000 (16:47 -0700)]
doc: Fix the pg states and auto repair config options

Fixes: http://tracker.ceph.com/issues/38896
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #27140 from neha-ojha/wip-fix-cron 27144/head
Neha Ojha [Fri, 22 Mar 2019 23:33:09 +0000 (16:33 -0700)]
Merge pull request #27140 from neha-ojha/wip-fix-cron

qa/crontab/teuthology-cronjobs: fix suite-branch

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
6 years agoMerge pull request #27129 from yuriw/wip-yuriw-subsets-master
Yuri Weinstein [Fri, 22 Mar 2019 22:45:50 +0000 (15:45 -0700)]
Merge pull request #27129 from yuriw/wip-yuriw-subsets-master

qa/tests: added the subset clause for nautilus branch

6 years agoqa/crontab/teuthology-cronjobs: fix suite-branch 27140/head
Neha Ojha [Fri, 22 Mar 2019 22:29:04 +0000 (15:29 -0700)]
qa/crontab/teuthology-cronjobs: fix suite-branch

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoqa/suites/upgrade/nautilus-x: misc updates 27138/head
Sage Weil [Fri, 22 Mar 2019 21:38:27 +0000 (16:38 -0500)]
qa/suites/upgrade/nautilus-x: misc updates

- start with msgr2 enabled (defaults)
- run nautilus branch for workunits
- drop msgr2 enable step at teh end
- add octopus placeholder (although it is empty for now)

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #26939 into master
Sage Weil [Fri, 22 Mar 2019 21:30:25 +0000 (16:30 -0500)]
Merge PR #26939 into master

* refs/pull/26939/head:
os/bluestore: unconditionally cap chunks returned by allocator to 2^31
os/bluestore: start using 64-bit intervals for bitmap allocator
os/bluestore: make bluestore interval base template.
tests/fastbmap_alloc: UT to reproduce 4G allocation bug
os/bluestore: os/bluestore: implement dump for bitmap allocator
os/bluestore be more tolerant to lack of space for bluefs.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27086 into master
Sage Weil [Fri, 22 Mar 2019 21:28:09 +0000 (16:28 -0500)]
Merge PR #27086 into master

* refs/pull/27086/head:
msg: remove unused header file in Messenger.h

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27111 into master
Sage Weil [Fri, 22 Mar 2019 21:27:32 +0000 (16:27 -0500)]
Merge PR #27111 into master

* refs/pull/27111/head:
pybind/rados: should pass "name" to cstr()

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #27112 into master
Sage Weil [Fri, 22 Mar 2019 21:26:53 +0000 (16:26 -0500)]
Merge PR #27112 into master

* refs/pull/27112/head:
qa/suites: do not test luminous-x upgrade path

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #27047 from tianshan/fix_38811
Casey Bodley [Fri, 22 Mar 2019 20:45:58 +0000 (16:45 -0400)]
Merge pull request #27047 from tianshan/fix_38811

rgw: fix read not exists null version return wrong

Reviewed-by: Casey Bodley <cbodley@redhat.com>