Commit Graph

67705 Commits

Author SHA1 Message Date
Sage Weil
9ce0f7b0b2 Merge pull request #12930 from chendave/wip_cephx_refactor
msg: Revert the change from assert(0)-> ceph_abort() where is not applicable

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-16 08:41:51 -06:00
Sage Weil
d22cdde36b qa/distros: make centos_latest 7.3
This will fix smithi runs and break vps runs until we get a 7.3 cloud-init
image ready.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-16 09:36:19 -05:00
tang.jin
8860028f50 rbd: add error prompt when input command 'snap set limit' is incomplete
Signed-off-by: Tang Jin <tang.jin@istuary.com>
2017-01-16 22:28:23 +08:00
liuchang0812
609d79c1f6 os/bluestore: avoid unnecessary memory copy, use variable reference in BlockDevice::Open
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-16 22:00:15 +08:00
Kefu Chai
af42f797b8 Merge pull request #12939 from johnlinp/fix-nspr-include
cmake: search for nspr include files for both suffixes: nspr4 and nspr

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-16 17:28:36 +08:00
John Lin
fbe78efd8a cmake: search for nspr include files for both suffixes: nspr4 and nspr
Fixes: http://tracker.ceph.com/issues/18535
Signed-off-by: John Lin <johnlinp@gmail.com>
2017-01-16 16:35:41 +08:00
Kefu Chai
7e93bf53ce Merge pull request #12936 from badone/wip-pg-states-doc-fix
doc: min_size advice is not helpful

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-16 14:52:38 +08:00
xie xingguo
607d70ac88 os/bluestore: generate same onode extent-shard keys in a more efficient way
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-16 14:24:00 +08:00
Brad Hubbard
9549943761 doc: min_size advice is not helpful
When we are in the incomplete state adjusting min_size will not help with recovery.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-16 12:36:33 +10:00
Kefu Chai
d644f911e6 Merge pull request #12247 from YankunLi/fix_bf_append_parameter
bufferlist: cleanup semantical wrong for bufferlist::append

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-16 09:55:14 +08:00
Kefu Chai
2ea4b94fe1 Merge pull request #12345 from rook/wip-embedded-add-rgw-mds
cmake: add RGW and MDS to libcephd

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-16 09:54:12 +08:00
Kefu Chai
74025efec8 common/BackTrace: add operator<<
replace BackTrace::print() with the operator<< where the former is used.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-01-16 03:03:22 +08:00
Kefu Chai
5c98ac8783 Merge pull request #12784 from LiumxNL/fix-wrongly-delete-routed-op
mon: fix wrongly delete routed pgstats op

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-15 16:17:48 +08:00
Sage Weil
03236edb0b Merge pull request #12651 from liewegas/wip-mempool-string
os/bluestore: put strings in mempool

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-14 22:35:31 -06:00
Sage Weil
278b1e2367 Merge pull request #12661 from xiexingguo/xxg-wip-cleanup-bitalloc
os/bluestore: cleanup BitAllocator

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2017-01-14 22:35:01 -06:00
Sage Weil
a9cf27c3fe Merge pull request #12700 from ifed01/wip-bluestore-collection-everywhere
os/bluestore: various onode changes to reduce its in-memory footprint.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-14 22:34:22 -06:00
Sage Weil
a5fcd3a88c Merge pull request #12876 from xiexingguo/xxg-wip-be-for-cache
os/bluestore: use Best-Effort policy when evicting onode from cache

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-14 22:34:13 -06:00
Sage Weil
8af339f7a1 Merge pull request #12877 from xiexingguo/xxg-wip-compress-opt
os/bluestore: conditionally load crr option

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-14 22:34:03 -06:00
Sage Weil
7cca26883b Merge pull request #12900 from XinzeChi/wip-bluestore-valid
os/bluestore: nullptr in OmapIteratorImpl::valid

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-14 22:33:54 -06:00
Samuel Just
f634eb3781 Merge pull request #12844 from athanatos/wip-17831
osd/ReplicatedBackend: take read locks for clone sources during recovery

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-01-14 18:48:00 -08:00
Dave Chen
b2a8323941 Revert the change from assert(0)-> ceph_abort() where is not applicable
Signed-off-by: Dave Chen <wei.d.chen@intel.com>
2017-01-14 12:46:15 +08:00
Tamil Muthamizhan
728411f5ae removing fs workunit
removing fs workunit for now until tracker issue 18528 is resolved.

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-01-13 15:25:32 -08:00
Mykola Golub
cabb58ea8c Merge pull request #12924 from dillaman/wip-librbd-test-header
test: correct language mode in file headers

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-13 23:40:46 +02:00
Alfredo Deza
7172b55ad9 Merge pull request #12892 from ceph/wip-cd-fs-fix
qa/tasks/ceph-deploy: use the new create option during instantiation

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-01-13 16:06:24 -05:00
Casey Bodley
34a2edbf53 rgw: RGWCloneMetaLogCoroutine uses RGWMetadataLogInfoCompletion
Fixes: http://tracker.ceph.com/issues/18412

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-01-13 12:24:05 -05:00
Casey Bodley
7b3532e2ad rgw: expose completion for RGWMetadataLog::get_info_async()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-01-13 12:24:05 -05:00
Casey Bodley
060fe72faf rgw: RGWMetaSyncShardCR drops stack refs on destruction
if the coroutine is canceled before collect_children() can clean up
all of its child stacks, those stack refs will leak. store these
stacks as boost::intrusive_ptr so the ref is dropped automatically on
destruction

Fixes: http://tracker.ceph.com/issues/18300

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-01-13 12:24:05 -05:00
Yehuda Sadeh
1a6fd6b8d9 Merge pull request #12884 from cbodley/wip-18488
rgw: fix off-by-one in RGWDataChangesLog::get_info

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-01-13 09:04:35 -08:00
Sage Weil
c0e12bfaec os/bluestore: put Onode::key in mempool
This is a pain in the butt because std::string and
std::basic_string<...,custom allocator> are incompatible.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:48:04 -05:00
Sage Weil
ff81d54ca2 os/bluestore: avoid substr
This creates an intermediate string, which is a waste.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:48:04 -05:00
Sage Weil
399b63368a kv: add char* versions of get, set, rmkey
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:48:03 -05:00
Sage Weil
685002ba6a os/bluestore,kstore: combine kv helpers in header
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:48:03 -05:00
Sage Weil
22d186ede2 os/bluestore: use mempool string for onode_t attr map
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:48:03 -05:00
Sage Weil
f9e3a786f8 include/denc: parameterize string by allocator
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:48:03 -05:00
Allen Samuels
78125f7dc6 mempool: Add string to mempool data types.
Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
2017-01-13 11:48:03 -05:00
Sage Weil
4a3c59a53e global/signal_handler: dump backtrace even from within logging code
We can dump the backtrace regardless of where we hit the assertion.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:40:53 -05:00
Sage Weil
d1cc9e4836 global/signal_handler: behave if g_ceph_context or _log are null
This can happen if we trigger an assertion while g_ceph_context is being
torn down.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:40:53 -05:00
Sage Weil
8011aab620 unittest_crypto: fix leaks
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:40:53 -05:00
Sage Weil
d61de35ce1 mon/MonClient: use std::unique_ptr<>; fix leak
We were leaking several heap items from
LibRadosMiscConnectFailure.ConnectFailure when connect() was called
multiple times (after failure).  Use std::unique_ptr to avoid maintaining
fragile cleanup paths.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-13 11:40:53 -05:00
Yuri Weinstein
b1c2153e1a Merge pull request #12233 from kylinstorage/optimize_request_auth_log
osd/pg: bound the portion of the log we request in GetLog::GetLog()

Reviewed-by: Samuel Just <sjust@redhat.com>
2017-01-13 08:29:24 -08:00
Kefu Chai
5a393a9d85 Merge pull request #12919 from tchaikov/wip-qa-cleanup
tests: remove temporary file

Reviewed-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-01-14 00:27:32 +08:00
Kefu Chai
4845541933 Merge pull request #12615 from linuxbox2/wip-sanitizers
build/cmake:  provide asan, tsan, ubsan builds

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-01-14 00:26:12 +08:00
Abhishek Lekshmanan
cc306c506c rgw_admin: read master log shards from master's current period
Also make the sync output look similar to the output of data sync
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-01-13 16:36:55 +01:00
Abhishek Lekshmanan
063c949d44 rgw: allow getting master log shards info on specified period
This is needed for rgw admin's sync status or else we end up always
publishing that we're behind since we are always checking against
master's first period to sync from

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-01-13 16:29:47 +01:00
Sage Weil
3c26e7dad6 Merge pull request #12920 from Liuchang0812/update-document-for-logging-level
doc: explain about logging levels

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-13 09:15:10 -06:00
Jason Dillaman
e1afb2d87c test: correct language mode in file headers
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-13 10:05:10 -05:00
Casey Bodley
b4d8e4dd3a Merge pull request #12887 from jronak/documentation
Doc:Fixes Python Swift client commands

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-13 10:03:35 -05:00
Jason Dillaman
5ecfc2cf26 Merge pull request #11879 from trociny/wip-15371
rbd-mirror: delayed replication support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-13 09:36:13 -05:00
liuchang0812
bf334e61d8 doc: explain about logging levels
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-13 20:16:25 +08:00
John Spray
b5262c2091 Merge pull request #12870 from xiaoxichen/mds_readdir
mds/server: skip unwanted dn in handle_client_readdir

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:57:09 +00:00