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
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
John Spray
b24e4a2213
Merge pull request #12831 from jcsp/wip-libcephfs-refcount
...
libcephfs: fix cct refcount constructing from rados
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:55:51 +00:00
Ronak Jain
8c79959557
Doc: Fixes Python Swift client commands
...
Fixes: http://tracker.ceph.com/issues/17746
Signed-off-by: Ronak Jain <ronakjain@outlook.in>
2017-01-13 16:57:45 +05:30
John Spray
868d419c2e
Merge pull request #12859 from ukernel/wip-18460
...
client: fix Client::handle_cap_flushsnap_ack() crash
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:21:35 +00:00
John Spray
72103cfc13
Merge pull request #12852 from ukernel/wip-18461
...
mds: finish clientreplay requests before requesting active state
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:21:05 +00:00
John Spray
1e62467d09
Merge pull request #12833 from ukernel/wip-18396
...
tasks/cephfs: fix kernel force umount
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:20:00 +00:00
John Spray
e18d6e19de
Merge pull request #12808 from ukernel/wip-18306
...
mds: fix null pointer dereference in Locker::handle_client_caps
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:19:20 +00:00
John Spray
2076cda04a
Merge pull request #12749 from ukernel/wip-18179
...
mds: propagate error encountered during opening inode by number
Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-13 11:18:59 +00:00
Kefu Chai
a6dfd7ef77
Merge pull request #12501 from ganeshmaharaj/fix-osd-tracing
...
tracing: Fix error in including all files in osd_tp
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-13 18:18:41 +08:00
Kefu Chai
415580f3a5
tests: remove temporary file
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-01-13 18:10:49 +08:00
xie xingguo
ff6da97f8c
os/bluestore/BitAllocator: kill find_any_free_bits()
...
Which has no consumers.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-13 11:52:26 +08:00
xie xingguo
6a187e473c
os/bluestore: replace m_max_alloc_size with m_max_blocks
...
So we can get rid of the annoying transfer each time we
try to add an extent into an ExtentList.
Also simplify the add_extents() method a little.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-13 11:52:26 +08:00
Dan Mick
8ea09a23f7
Merge pull request #12848 from dzafman/wip-18469
...
ceph-objectstore-tool: Handle object names that are also valid json
Reviewed-by: Dan MIck <dmick@redhat.com>
2017-01-12 17:58:24 -08:00
Xie Xingguo
641ce6fcba
Merge pull request #12873 from Liuchang0812/wip-static-check
...
test: clean up unused variable
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-13 08:39:21 +08:00
John Spray
1dbff09ad5
client: populate metadata during mount
...
This way we avoid having to over-write the "root"
metadata during mount, and any user-set overrides (such
as bad values injected by tests) will survive.
Because Client instances may also open sessions without
mounting to send commands, add a call into populate_metadata
from mds_command as well.
Fixes: http://tracker.ceph.com/issues/18361
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-13 00:30:28 +00:00
Yuri Weinstein
8bdbf88ad2
Merge pull request #12913 from zmc/wip-smoke-openstack
...
Add openstack requirements to smoke suite
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-01-12 16:18:00 -08:00
Yuri Weinstein
d7a958a362
Merge pull request #12914 from tmuthamizhan/wip-ansible-fs-suite
...
qa: specify client for fs workunit
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-01-12 16:10:23 -08:00
Tamil Muthamizhan
8f6fd3a766
qa: specify client for fs workunit
...
s/all/client.0
Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-01-12 15:29:56 -08:00
Zack Cerza
fe9b7552d1
Add openstack requirements to smoke suite
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-01-12 14:55:26 -07:00