]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoMerge pull request #12681 from xiexingguo/xxg-wip-bluestore-1227
Sage Weil [Wed, 18 Jan 2017 13:37:15 +0000 (07:37 -0600)]
Merge pull request #12681 from xiexingguo/xxg-wip-bluestore-1227

os/bluestore: generate same onode extent-shard keys in a more efficient way

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #12696 from xiexingguo/xxg-wip-improve-loops
Sage Weil [Wed, 18 Jan 2017 13:36:45 +0000 (07:36 -0600)]
Merge pull request #12696 from xiexingguo/xxg-wip-improve-loops

os/bluestore: miscellaneous fixes to BitAllocator

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
8 years agoMerge pull request #12719 from xiexingguo/xxg-wip-bluestore-1229
Sage Weil [Wed, 18 Jan 2017 13:36:00 +0000 (07:36 -0600)]
Merge pull request #12719 from xiexingguo/xxg-wip-bluestore-1229

os/bluestore/BitmapFreelistManager: readability improvements

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12942 from Liuchang0812/cleanup-bluestore
Sage Weil [Wed, 18 Jan 2017 13:35:41 +0000 (07:35 -0600)]
Merge pull request #12942 from Liuchang0812/cleanup-bluestore

os/bluestore: avoid unnecessary memory copy, use variable reference in BlockDevice::Open

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #12946 from ifed01/wip-bluestore-pextent-vector-mempooled
Sage Weil [Wed, 18 Jan 2017 13:35:18 +0000 (07:35 -0600)]
Merge pull request #12946 from ifed01/wip-bluestore-pextent-vector-mempooled

os/bluestore: Add bluestore pextent vector to mempool

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12964 from jcsp/wip-18574
Gregory Farnum [Tue, 17 Jan 2017 17:37:21 +0000 (09:37 -0800)]
Merge pull request #12964 from jcsp/wip-18574

qa: update remaining ceph.com to download.ceph.com

8 years agoMerge pull request #12962 from dillaman/wip-rbd-boost-crash
Kefu Chai [Tue, 17 Jan 2017 16:48:51 +0000 (00:48 +0800)]
Merge pull request #12962 from dillaman/wip-rbd-boost-crash

rbd: remove direct linking to static boost libraries

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa: update remaining ceph.com to download.ceph.com 12964/head
John Spray [Tue, 17 Jan 2017 16:12:46 +0000 (17:12 +0100)]
qa: update remaining ceph.com to download.ceph.com

Fixes: http://tracker.ceph.com/issues/18574
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agorbd: remove direct linking to static boost libraries 12962/head
Jason Dillaman [Tue, 17 Jan 2017 15:39:03 +0000 (10:39 -0500)]
rbd: remove direct linking to static boost libraries

The boost libraries are included in libceph-common. If linked
directly, boost::regex will abort during shutdown since it uses
a global static variable and it will be destructed twice.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12885 from rjfd/wip-18325
Jason Dillaman [Tue, 17 Jan 2017 13:45:52 +0000 (08:45 -0500)]
Merge pull request #12885 from rjfd/wip-18325

librbd: allow to open an image without opening the parent image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12922 from trociny/wip-managed_lock_refactoring
Jason Dillaman [Tue, 17 Jan 2017 13:45:22 +0000 (08:45 -0500)]
Merge pull request #12922 from trociny/wip-managed_lock_refactoring

librbd: managed lock refactoring

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12953 from dillaman/wip-18542
Mykola Golub [Tue, 17 Jan 2017 08:03:11 +0000 (10:03 +0200)]
Merge pull request #12953 from dillaman/wip-18542

qa/tasks/qemu: update default image url after ceph.com redesign

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12954 from dillaman/wip-rbd-coverity
Mykola Golub [Tue, 17 Jan 2017 08:02:46 +0000 (10:02 +0200)]
Merge pull request #12954 from dillaman/wip-rbd-coverity

rbd: correct coverity warnings

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12467 from bassam/pr-external-rocksdb
Kefu Chai [Tue, 17 Jan 2017 05:53:01 +0000 (13:53 +0800)]
Merge pull request #12467 from bassam/pr-external-rocksdb

cmake: support for external rocksdb

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorbd: correct coverity warnings 12954/head
Jason Dillaman [Tue, 17 Jan 2017 03:44:04 +0000 (22:44 -0500)]
rbd: correct coverity warnings

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #9028 from tchaikov/wip-bt-dump
Kefu Chai [Tue, 17 Jan 2017 03:20:54 +0000 (11:20 +0800)]
Merge pull request #9028 from tchaikov/wip-bt-dump

common/BackTrace: add operator<<

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoqa/tasks/qemu: update default image url after ceph.com redesign 12953/head
Jason Dillaman [Tue, 17 Jan 2017 03:12:51 +0000 (22:12 -0500)]
qa/tasks/qemu: update default image url after ceph.com redesign

Fixes: http://tracker.ceph.com/issues/18542
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12807 from runsisi/wip-fix-pg-ls
Kefu Chai [Tue, 17 Jan 2017 02:56:21 +0000 (10:56 +0800)]
Merge pull request #12807 from runsisi/wip-fix-pg-ls

mon/PGMonitor: fix description for ceph pg ls

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomon/PGMonitor: ceph pg ls-by-pool only supports string type of pool arg 12807/head
runsisi [Fri, 6 Jan 2017 03:04:20 +0000 (11:04 +0800)]
mon/PGMonitor: ceph pg ls-by-pool only supports string type of pool arg

Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agoMerge pull request #12928 from tmuthamizhan/wip-ansible-fs-suite
Yuri Weinstein [Tue, 17 Jan 2017 00:55:34 +0000 (16:55 -0800)]
Merge pull request #12928 from tmuthamizhan/wip-ansible-fs-suite

qa/suites/ceph-ansible: removing fs workunit

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
8 years agolibrbd: helper methods to query and break lock 12922/head
Mykola Golub [Fri, 13 Jan 2017 14:13:22 +0000 (15:13 +0100)]
librbd: helper methods to query and break lock

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agolibrbd: managed_lock: make AcquireRequest use GetLockRequest and BreakRequest
Mykola Golub [Fri, 13 Jan 2017 13:51:16 +0000 (14:51 +0100)]
librbd: managed_lock: make AcquireRequest use GetLockRequest and BreakRequest

Initially this was implemented for exclusive_lock (03533b9,
23f60fe) but was lost when merging managed_lock refactoring.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12915 from jcsp/wip-18361
John Spray [Mon, 16 Jan 2017 21:36:43 +0000 (21:36 +0000)]
Merge pull request #12915 from jcsp/wip-18361

client: populate metadata during mount

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #12107 from mslovy/wip-monmsg-minwait
Yuri Weinstein [Mon, 16 Jan 2017 21:12:06 +0000 (13:12 -0800)]
Merge pull request #12107 from mslovy/wip-monmsg-minwait

mon: no delay for single message MSG_ALIVE and MSG_PGTEMP

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11955 from batrick/log-2-to-1-write
Yuri Weinstein [Mon, 16 Jan 2017 21:10:09 +0000 (13:10 -0800)]
Merge pull request #11955 from batrick/log-2-to-1-write

log: use one write system call per message

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #9924 from Yan-waller/yj-wiph-commonentitynamecc
Yuri Weinstein [Mon, 16 Jan 2017 21:09:05 +0000 (13:09 -0800)]
Merge pull request #9924 from Yan-waller/yj-wiph-commonentitynamecc

common/config: fix return type of string::find and use string::npos

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12925 from liewegas/wip-crypto-shutdown-fixes
Yuri Weinstein [Mon, 16 Jan 2017 21:07:32 +0000 (13:07 -0800)]
Merge pull request #12925 from liewegas/wip-crypto-shutdown-fixes

common: misc fixes detected by crypto shutdown assert

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12944 from liewegas/wip-centos-latest
Yuri Weinstein [Mon, 16 Jan 2017 20:31:28 +0000 (12:31 -0800)]
Merge pull request #12944 from liewegas/wip-centos-latest

qa/distros: make centos_latest 7.3

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
8 years agoMerge pull request #12841 from cbodley/wip-18407
Yehuda Sadeh [Mon, 16 Jan 2017 18:48:14 +0000 (10:48 -0800)]
Merge pull request #12841 from cbodley/wip-18407

rgw multisite: fix ref counting of completions

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #12605 from cbodley/wip-18300
Yehuda Sadeh [Mon, 16 Jan 2017 18:47:04 +0000 (10:47 -0800)]
Merge pull request #12605 from cbodley/wip-18300

rgw: RGWMetaSyncShardCR drops stack refs on destruction

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agolibrbd: allow to open an image without opening parent image 12885/head
Ricardo Dias [Tue, 10 Jan 2017 15:11:19 +0000 (15:11 +0000)]
librbd: allow to open an image without opening parent image

Fixes: http://tracker.ceph.com/issues/18325
Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agocmake: support for external rocksdb 12467/head
Bassam Tabbara [Sat, 10 Dec 2016 04:45:22 +0000 (20:45 -0800)]
cmake: support for external rocksdb

add support for building with an external rocksdb.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agoMerge pull request #12798 from wjwithagen/wip-wjw-krbd-optional
Jason Dillaman [Mon, 16 Jan 2017 16:22:15 +0000 (11:22 -0500)]
Merge pull request #12798 from wjwithagen/wip-wjw-krbd-optional

rbd: enable rbd on FreeBSD (without KRBD)

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoos/bluestore: add pextent vector to mempool 12946/head
Igor Fedotov [Mon, 16 Jan 2017 15:12:23 +0000 (15:12 +0000)]
os/bluestore: add pextent vector to mempool

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agotest/objectstore: add bufferptr & blouestore_blob_t::extents to "sizeof" UT
Igor Fedotov [Mon, 16 Jan 2017 14:47:31 +0000 (14:47 +0000)]
test/objectstore: add bufferptr & blouestore_blob_t::extents to "sizeof" UT

Signed-off-by: Igor Fedotvo <ifedotov@mirantis.com>
8 years agoMerge pull request #12930 from chendave/wip_cephx_refactor
Sage Weil [Mon, 16 Jan 2017 14:41:51 +0000 (08:41 -0600)]
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>
8 years agoqa/distros: make centos_latest 7.3 12944/head
Sage Weil [Mon, 16 Jan 2017 14:36:19 +0000 (09:36 -0500)]
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>
8 years agoos/bluestore: avoid unnecessary memory copy, use variable reference in BlockDevice... 12942/head
liuchang0812 [Mon, 16 Jan 2017 13:49:15 +0000 (21:49 +0800)]
os/bluestore: avoid unnecessary memory copy, use variable reference in BlockDevice::Open

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #12939 from johnlinp/fix-nspr-include
Kefu Chai [Mon, 16 Jan 2017 09:28:36 +0000 (17:28 +0800)]
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>
8 years agocmake: search for nspr include files for both suffixes: nspr4 and nspr 12939/head
John Lin [Mon, 16 Jan 2017 08:26:44 +0000 (16:26 +0800)]
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>
8 years agoMerge pull request #12936 from badone/wip-pg-states-doc-fix
Kefu Chai [Mon, 16 Jan 2017 06:52:38 +0000 (14:52 +0800)]
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>
8 years agoos/bluestore: generate same onode extent-shard keys in a more efficient way 12681/head
xie xingguo [Mon, 16 Jan 2017 02:49:59 +0000 (10:49 +0800)]
os/bluestore: generate same onode extent-shard keys in a more efficient way

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agodoc: min_size advice is not helpful 12936/head
Brad Hubbard [Mon, 16 Jan 2017 02:36:33 +0000 (12:36 +1000)]
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>
8 years agoMerge pull request #12247 from YankunLi/fix_bf_append_parameter
Kefu Chai [Mon, 16 Jan 2017 01:55:14 +0000 (09:55 +0800)]
Merge pull request #12247 from YankunLi/fix_bf_append_parameter

bufferlist: cleanup semantical wrong for bufferlist::append

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12345 from rook/wip-embedded-add-rgw-mds
Kefu Chai [Mon, 16 Jan 2017 01:54:12 +0000 (09:54 +0800)]
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>
8 years agocommon/BackTrace: add operator<< 9028/head
Kefu Chai [Tue, 10 May 2016 13:56:55 +0000 (21:56 +0800)]
common/BackTrace: add operator<<

replace BackTrace::print() with the operator<< where the former is used.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12784 from LiumxNL/fix-wrongly-delete-routed-op
Kefu Chai [Sun, 15 Jan 2017 08:17:48 +0000 (16:17 +0800)]
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>
8 years agoMerge pull request #12651 from liewegas/wip-mempool-string
Sage Weil [Sun, 15 Jan 2017 04:35:31 +0000 (22:35 -0600)]
Merge pull request #12651 from liewegas/wip-mempool-string

os/bluestore: put strings in mempool

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #12661 from xiexingguo/xxg-wip-cleanup-bitalloc
Sage Weil [Sun, 15 Jan 2017 04:35:01 +0000 (22:35 -0600)]
Merge pull request #12661 from xiexingguo/xxg-wip-cleanup-bitalloc

os/bluestore: cleanup BitAllocator

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
8 years agoMerge pull request #12700 from ifed01/wip-bluestore-collection-everywhere
Sage Weil [Sun, 15 Jan 2017 04:34:22 +0000 (22:34 -0600)]
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>
8 years agoMerge pull request #12876 from xiexingguo/xxg-wip-be-for-cache
Sage Weil [Sun, 15 Jan 2017 04:34:13 +0000 (22:34 -0600)]
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>
8 years agoMerge pull request #12877 from xiexingguo/xxg-wip-compress-opt
Sage Weil [Sun, 15 Jan 2017 04:34:03 +0000 (22:34 -0600)]
Merge pull request #12877 from xiexingguo/xxg-wip-compress-opt

os/bluestore: conditionally load crr option

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12900 from XinzeChi/wip-bluestore-valid
Sage Weil [Sun, 15 Jan 2017 04:33:54 +0000 (22:33 -0600)]
Merge pull request #12900 from XinzeChi/wip-bluestore-valid

os/bluestore: nullptr in OmapIteratorImpl::valid

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12844 from athanatos/wip-17831
Samuel Just [Sun, 15 Jan 2017 02:48:00 +0000 (18:48 -0800)]
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>
8 years agoRevert the change from assert(0)-> ceph_abort() where is not applicable 12930/head
Dave Chen [Sat, 14 Jan 2017 04:46:15 +0000 (12:46 +0800)]
Revert the change from assert(0)-> ceph_abort() where is not applicable

Signed-off-by: Dave Chen <wei.d.chen@intel.com>
8 years agoremoving fs workunit 12928/head
Tamil Muthamizhan [Fri, 13 Jan 2017 23:25:32 +0000 (15:25 -0800)]
removing fs workunit

removing fs workunit for now until tracker issue 18528 is resolved.

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
8 years agoMerge pull request #12924 from dillaman/wip-librbd-test-header
Mykola Golub [Fri, 13 Jan 2017 21:40:46 +0000 (23:40 +0200)]
Merge pull request #12924 from dillaman/wip-librbd-test-header

test: correct language mode in file headers

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12892 from ceph/wip-cd-fs-fix
Alfredo Deza [Fri, 13 Jan 2017 21:06:24 +0000 (16:06 -0500)]
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>
8 years agorgw: RGWCloneMetaLogCoroutine uses RGWMetadataLogInfoCompletion 12605/head
Casey Bodley [Thu, 5 Jan 2017 18:10:50 +0000 (13:10 -0500)]
rgw: RGWCloneMetaLogCoroutine uses RGWMetadataLogInfoCompletion

Fixes: http://tracker.ceph.com/issues/18412
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: expose completion for RGWMetadataLog::get_info_async()
Casey Bodley [Thu, 5 Jan 2017 18:10:18 +0000 (13:10 -0500)]
rgw: expose completion for RGWMetadataLog::get_info_async()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: RGWMetaSyncShardCR drops stack refs on destruction
Casey Bodley [Wed, 21 Dec 2016 19:32:04 +0000 (14:32 -0500)]
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>
8 years agoMerge pull request #12884 from cbodley/wip-18488
Yehuda Sadeh [Fri, 13 Jan 2017 17:04:35 +0000 (09:04 -0800)]
Merge pull request #12884 from cbodley/wip-18488

rgw: fix off-by-one in RGWDataChangesLog::get_info

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoos/bluestore: put Onode::key in mempool 12651/head
Sage Weil [Fri, 23 Dec 2016 21:52:43 +0000 (16:52 -0500)]
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>
8 years agoos/bluestore: avoid substr
Sage Weil [Fri, 23 Dec 2016 21:52:59 +0000 (16:52 -0500)]
os/bluestore: avoid substr

This creates an intermediate string, which is a waste.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agokv: add char* versions of get, set, rmkey
Sage Weil [Fri, 23 Dec 2016 21:36:44 +0000 (16:36 -0500)]
kv: add char* versions of get, set, rmkey

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore,kstore: combine kv helpers in header
Sage Weil [Fri, 23 Dec 2016 18:55:45 +0000 (13:55 -0500)]
os/bluestore,kstore: combine kv helpers in header

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: use mempool string for onode_t attr map
Sage Weil [Fri, 23 Dec 2016 18:35:40 +0000 (13:35 -0500)]
os/bluestore: use mempool string for onode_t attr map

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoinclude/denc: parameterize string by allocator
Sage Weil [Fri, 23 Dec 2016 17:20:27 +0000 (12:20 -0500)]
include/denc: parameterize string by allocator

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomempool: Add string to mempool data types.
Allen Samuels [Sat, 3 Dec 2016 00:51:27 +0000 (16:51 -0800)]
mempool: Add string to mempool data types.

Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
8 years agoglobal/signal_handler: dump backtrace even from within logging code 12925/head
Sage Weil [Tue, 10 Jan 2017 03:53:31 +0000 (21:53 -0600)]
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>
8 years agoglobal/signal_handler: behave if g_ceph_context or _log are null
Sage Weil [Tue, 10 Jan 2017 03:52:02 +0000 (21:52 -0600)]
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>
8 years agounittest_crypto: fix leaks
Sage Weil [Sat, 24 Dec 2016 16:46:19 +0000 (11:46 -0500)]
unittest_crypto: fix leaks

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MonClient: use std::unique_ptr<>; fix leak
Sage Weil [Thu, 22 Dec 2016 20:23:33 +0000 (15:23 -0500)]
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>
8 years agoMerge pull request #12233 from kylinstorage/optimize_request_auth_log
Yuri Weinstein [Fri, 13 Jan 2017 16:29:24 +0000 (08:29 -0800)]
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>
8 years agoMerge pull request #12919 from tchaikov/wip-qa-cleanup
Kefu Chai [Fri, 13 Jan 2017 16:27:32 +0000 (00:27 +0800)]
Merge pull request #12919 from tchaikov/wip-qa-cleanup

tests: remove temporary file

Reviewed-by: Abhishek Lekshmanan <alekshmanan@suse.com>
8 years agoMerge pull request #12615 from linuxbox2/wip-sanitizers
Kefu Chai [Fri, 13 Jan 2017 16:26:12 +0000 (00:26 +0800)]
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>
8 years agoMerge pull request #12920 from Liuchang0812/update-document-for-logging-level
Sage Weil [Fri, 13 Jan 2017 15:15:10 +0000 (09:15 -0600)]
Merge pull request #12920 from Liuchang0812/update-document-for-logging-level

doc: explain about logging levels

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agotest: correct language mode in file headers 12924/head
Jason Dillaman [Fri, 13 Jan 2017 15:05:10 +0000 (10:05 -0500)]
test: correct language mode in file headers

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12887 from jronak/documentation
Casey Bodley [Fri, 13 Jan 2017 15:03:35 +0000 (10:03 -0500)]
Merge pull request #12887 from jronak/documentation

Doc:Fixes Python Swift client commands

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11879 from trociny/wip-15371
Jason Dillaman [Fri, 13 Jan 2017 14:36:13 +0000 (09:36 -0500)]
Merge pull request #11879 from trociny/wip-15371

rbd-mirror: delayed replication support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agodoc: explain about logging levels 12920/head
liuchang0812 [Fri, 13 Jan 2017 12:12:02 +0000 (20:12 +0800)]
doc: explain about logging levels

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #12870 from xiaoxichen/mds_readdir
John Spray [Fri, 13 Jan 2017 11:57:09 +0000 (11:57 +0000)]
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>
8 years agoMerge pull request #12831 from jcsp/wip-libcephfs-refcount
John Spray [Fri, 13 Jan 2017 11:55:51 +0000 (11:55 +0000)]
Merge pull request #12831 from jcsp/wip-libcephfs-refcount

libcephfs: fix cct refcount constructing from rados

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoDoc: Fixes Python Swift client commands 12887/head
Ronak Jain [Fri, 13 Jan 2017 11:27:45 +0000 (16:57 +0530)]
Doc: Fixes Python Swift client commands

Fixes: http://tracker.ceph.com/issues/17746
Signed-off-by: Ronak Jain <ronakjain@outlook.in>
8 years agoMerge pull request #12859 from ukernel/wip-18460
John Spray [Fri, 13 Jan 2017 11:21:35 +0000 (11:21 +0000)]
Merge pull request #12859 from ukernel/wip-18460

client: fix Client::handle_cap_flushsnap_ack() crash

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #12852 from ukernel/wip-18461
John Spray [Fri, 13 Jan 2017 11:21:05 +0000 (11:21 +0000)]
Merge pull request #12852 from ukernel/wip-18461

mds: finish clientreplay requests before requesting active state

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #12833 from ukernel/wip-18396
John Spray [Fri, 13 Jan 2017 11:20:00 +0000 (11:20 +0000)]
Merge pull request #12833 from ukernel/wip-18396

tasks/cephfs: fix kernel force umount

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #12808 from ukernel/wip-18306
John Spray [Fri, 13 Jan 2017 11:19:20 +0000 (11:19 +0000)]
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>
8 years agoMerge pull request #12749 from ukernel/wip-18179
John Spray [Fri, 13 Jan 2017 11:18:59 +0000 (11:18 +0000)]
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>
8 years agoMerge pull request #12501 from ganeshmaharaj/fix-osd-tracing
Kefu Chai [Fri, 13 Jan 2017 10:18:41 +0000 (18:18 +0800)]
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>
8 years agotests: remove temporary file 12919/head
Kefu Chai [Fri, 13 Jan 2017 10:10:47 +0000 (18:10 +0800)]
tests: remove temporary file

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore/BitAllocator: kill find_any_free_bits() 12696/head
xie xingguo [Wed, 28 Dec 2016 07:43:28 +0000 (15:43 +0800)]
os/bluestore/BitAllocator: kill find_any_free_bits()

Which has no consumers.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: replace m_max_alloc_size with m_max_blocks
xie xingguo [Wed, 28 Dec 2016 06:23:35 +0000 (14:23 +0800)]
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>
8 years agoMerge pull request #12848 from dzafman/wip-18469
Dan Mick [Fri, 13 Jan 2017 01:58:24 +0000 (17:58 -0800)]
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>
8 years agoMerge pull request #12873 from Liuchang0812/wip-static-check
Xie Xingguo [Fri, 13 Jan 2017 00:39:21 +0000 (08:39 +0800)]
Merge pull request #12873 from Liuchang0812/wip-static-check

test: clean up unused variable

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoclient: populate metadata during mount 12915/head
John Spray [Fri, 13 Jan 2017 00:30:28 +0000 (00:30 +0000)]
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>
8 years agoMerge pull request #12913 from zmc/wip-smoke-openstack
Yuri Weinstein [Fri, 13 Jan 2017 00:18:00 +0000 (16:18 -0800)]
Merge pull request #12913 from zmc/wip-smoke-openstack

Add openstack requirements to smoke suite

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
8 years agoMerge pull request #12914 from tmuthamizhan/wip-ansible-fs-suite
Yuri Weinstein [Fri, 13 Jan 2017 00:10:23 +0000 (16:10 -0800)]
Merge pull request #12914 from tmuthamizhan/wip-ansible-fs-suite

qa: specify client for fs workunit

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
8 years agoqa: specify client for fs workunit 12914/head
Tamil Muthamizhan [Thu, 12 Jan 2017 23:29:56 +0000 (15:29 -0800)]
qa: specify client for fs workunit
s/all/client.0

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
8 years agoAdd openstack requirements to smoke suite 12913/head
Zack Cerza [Thu, 12 Jan 2017 21:55:26 +0000 (14:55 -0700)]
Add openstack requirements to smoke suite

Signed-off-by: Zack Cerza <zack@redhat.com>