]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorados: use bare omap_get_keys op
Sage Weil [Mon, 16 Jan 2017 21:51:13 +0000 (16:51 -0500)]
rados: use bare omap_get_keys op

This handles the client-side looping on 'more' if the OSD limits
the response size.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_rados: pass nullptr for pmore for omap fetch
Sage Weil [Mon, 16 Jan 2017 20:17:03 +0000 (15:17 -0500)]
ceph_test_rados: pass nullptr for pmore for omap fetch

Assume OSD limits are hugh enough.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorados: omap bench: pass null for pmore for omap fetch
Sage Weil [Mon, 16 Jan 2017 20:16:46 +0000 (15:16 -0500)]
rados: omap bench: pass null for pmore for omap fetch

Assume OSD limits are high enough for us.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_rados_*: use new omap methods
Sage Weil [Mon, 16 Jan 2017 20:16:20 +0000 (15:16 -0500)]
ceph_test_rados_*: use new omap methods

Make these tests pass nullptr for pmore.  This codifies our
assumption that the OSD limits are high enough.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agolibrados: add omap_get_{keys,vals}2 with pmore output arg
Sage Weil [Mon, 16 Jan 2017 20:14:00 +0000 (15:14 -0500)]
librados: add omap_get_{keys,vals}2 with pmore output arg

Expose public methods that include a new output argument to indicate
whether there are more keys to fetch or not.

Mark the old interfaces deprecated.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosdc/Objecter: infer ptruncated on old OSDs via max_entries
Sage Weil [Fri, 20 Jan 2017 03:09:35 +0000 (21:09 -0600)]
osdc/Objecter: infer ptruncated on old OSDs via max_entries

If we do not get an explicit 'more' value from the OSD, infer it by
checking whether we got the max requested entries.  On old OSDs, which
don't enforce a limit, this will work.  On new OSDs, we will get the
explicit result.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosdc/Objecter: add pmore argument to omap_get_{keys,vals}
Sage Weil [Mon, 16 Jan 2017 18:48:06 +0000 (13:48 -0500)]
osdc/Objecter: add pmore argument to omap_get_{keys,vals}

Note that the MDS callers have new #warnings indicating that they
are not providing the pmore argument and are thus broken.  (They
were already broken.)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: tell client if we truncate results
Sage Weil [Sun, 15 Jan 2017 04:23:11 +0000 (23:23 -0500)]
osd/PrimaryLogPG: tell client if we truncate results

If we truncate the results of the omap read commands,
provide a flag so that the caller knows there is more
to be read.  We don't need to provide the name of the
next key because the interface is defined as
"start_after" (not "start_with"), allowing them to use
the last key they received.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12865 from ceph/wip-rgw-18476
Casey Bodley [Thu, 19 Jan 2017 16:00:12 +0000 (11:00 -0500)]
Merge pull request #12865 from ceph/wip-rgw-18476

rgw: fix handling RGWUserInfo::system in RGWHandler_REST_SWIFT.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12968 from liewegas/wip-kraken-notes
Sage Weil [Thu, 19 Jan 2017 12:57:54 +0000 (06:57 -0600)]
Merge pull request #12968 from liewegas/wip-kraken-notes

doc/release-notes: final kraken notes

8 years agoMerge pull request #12963 from liewegas/wip-bluestore-extents
Sage Weil [Thu, 19 Jan 2017 12:29:25 +0000 (06:29 -0600)]
Merge pull request #12963 from liewegas/wip-bluestore-extents

os/bluestore: fix reclaim_blocks and clean up Allocator interface

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #12550 from stiopaa1/B9935_segfaultInRmDir
John Spray [Thu, 19 Jan 2017 08:15:27 +0000 (09:15 +0100)]
Merge pull request #12550 from stiopaa1/B9935_segfaultInRmDir

client/Client.cc: prevent segfaulting

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12988 from SUSE/wip-submitting-patches
Kefu Chai [Thu, 19 Jan 2017 05:30:03 +0000 (13:30 +0800)]
Merge pull request #12988 from SUSE/wip-submitting-patches

doc: clarify SubmittingPatches.rst

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12492 from yehudasa/wip-func-oid-tracing
Yehuda Sadeh [Wed, 18 Jan 2017 23:19:21 +0000 (15:19 -0800)]
Merge pull request #12492 from yehudasa/wip-func-oid-tracing

osd, messenger, librados: lttng oid tracing

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #12972 from linuxbox2/wip-librgw-shut
Matt Benjamin [Wed, 18 Jan 2017 21:31:26 +0000 (16:31 -0500)]
Merge pull request #12972 from linuxbox2/wip-librgw-shut

rgw: librgw shut

8 years agodoc: clarify SubmittingPatches.rst 12988/head
Nathan Cutler [Wed, 18 Jan 2017 21:17:49 +0000 (22:17 +0100)]
doc: clarify SubmittingPatches.rst

This commit clarifies that folks opening bugfix PRs that need backporting to
one or more stable branches should always target master, and that the
backporting itself takes place only after the master PR is merged.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12907 from theanalyst/wip-18064
Casey Bodley [Wed, 18 Jan 2017 19:21:41 +0000 (14:21 -0500)]
Merge pull request #12907 from theanalyst/wip-18064

rgw: sync status compares the current master period

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12357 from dongbula/fix-versioned-bucket-datasync-fail
Casey Bodley [Wed, 18 Jan 2017 19:21:00 +0000 (14:21 -0500)]
Merge pull request #12357 from dongbula/fix-versioned-bucket-datasync-fail

rgw: fix versioned bucket data sync fail when upload is busy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12945 from jimmyway/wip-add-cmd-snap-set-limit-prompt
Jason Dillaman [Wed, 18 Jan 2017 19:15:58 +0000 (14:15 -0500)]
Merge pull request #12945 from jimmyway/wip-add-cmd-snap-set-limit-prompt

rbd: add error prompt when input command 'snap set limit' is incomplete

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12886 from rjfd/wip-shared-managed-lock
Jason Dillaman [Wed, 18 Jan 2017 19:15:03 +0000 (14:15 -0500)]
Merge pull request #12886 from rjfd/wip-shared-managed-lock

librbd: support for shared locking in ManagedLock

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorgw: fix handling RGWUserInfo::system in RGWHandler_REST_SWIFT. 12865/head
Radoslaw Zarzynski [Tue, 10 Jan 2017 11:09:50 +0000 (12:09 +0100)]
rgw: fix handling RGWUserInfo::system in RGWHandler_REST_SWIFT.

Before this patch the flag was wrongly handled in the Swift API
implementation. In rare conditions this might result in setting
req_state::system_request.

This may happen only if both of those conditions are fulfilled:
 * RadosGW is running in a multi-site configuration (at least
   one user with the system flag turned on is present),
 * the "rgw_swift_account_in_url" configurable has been switched
   to true. The value is false by default and our documentation
   doesn't actually mention about the option.

The issue doesn't affect Jewel nor any previous release.

Fixes: http://tracker.ceph.com/issues/18476
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agolibrgw: remove call to crypto::shutdown 12972/head
Matt Benjamin [Wed, 18 Jan 2017 04:27:41 +0000 (23:27 -0500)]
librgw: remove call to crypto::shutdown

The call is cognate to removed code in radosgw, and triggers an
assert that the crypto module has already been shutdown.  With this
and preceding changes, I see clean shutdown on abnormal termination
of nfs-ganesha during startup.

Fixes: http://tracker.ceph.com/issues/18585
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw: s/static std::map/static pointer/ for ext_mime_map
Matt Benjamin [Wed, 18 Jan 2017 04:10:58 +0000 (23:10 -0500)]
rgw:  s/static std::map/static pointer/ for ext_mime_map

In some librgw shutdown cases, it appears that the shared
object runtime has partially destructed the static map when
our shutdown code is running.

Fixes: http://tracker.ceph.com/issues/18585
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: signal RGWLibFrontend shutdown correctly
Matt Benjamin [Wed, 18 Jan 2017 04:07:17 +0000 (23:07 -0500)]
rgw_file:  signal RGWLibFrontend shutdown correctly

The shutdown member of RGWLibProcess should be set.

Fixes: http://tracker.ceph.com/issues/18585
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #12927 from rjfd/wip-fix-rpath-suse
Kefu Chai [Wed, 18 Jan 2017 15:08:09 +0000 (23:08 +0800)]
Merge pull request #12927 from rjfd/wip-fix-rpath-suse

cmake: fix rpath on shared libraries and binaries targets

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12750 from zhangsw/feature-rgw-lc-validatei
Daniel Gryniewicz [Wed, 18 Jan 2017 14:36:50 +0000 (09:36 -0500)]
Merge pull request #12750 from zhangsw/feature-rgw-lc-validatei

rgw: add lifecycle validation according to S3.

8 years agoos/bluestore/BlueFS: dump allocator freelist on failure in reclaim_blocks 12963/head
Sage Weil [Wed, 18 Jan 2017 12:35:59 +0000 (07:35 -0500)]
os/bluestore/BlueFS: dump allocator freelist on failure in reclaim_blocks

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/BlueFS: handle failure to reclaim blocks without crashing
Sage Weil [Wed, 18 Jan 2017 12:24:06 +0000 (06:24 -0600)]
os/bluestore/BlueFS: handle failure to reclaim blocks without crashing

We shouldn't fail to reclaim space in general, but if we do, do not treat
it as a fatal error.  Log loudly.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12827 from Liuchang0812/wip-18459
Daniel Gryniewicz [Wed, 18 Jan 2017 14:08:39 +0000 (09:08 -0500)]
Merge pull request #12827 from Liuchang0812/wip-18459

doc: correct S3 lifecycle support explain

8 years agounitest_bit_alloc, unittest_alloc: fixes
Sage Weil [Tue, 17 Jan 2017 17:15:40 +0000 (12:15 -0500)]
unitest_bit_alloc, unittest_alloc: fixes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: prealloc/reserve extent vector for common alloc path
Sage Weil [Tue, 17 Jan 2017 16:17:38 +0000 (11:17 -0500)]
os/bluestore: prealloc/reserve extent vector for common alloc path

No need to worry about the gift/reclaim path--those are very rare.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/Allocator: drop unused and goofy release_extents
Sage Weil [Tue, 17 Jan 2017 15:26:50 +0000 (10:26 -0500)]
os/bluestore/Allocator: drop unused and goofy release_extents

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: drop useless count arg to allocate
Sage Weil [Tue, 17 Jan 2017 15:25:34 +0000 (10:25 -0500)]
os/bluestore: drop useless count arg to allocate

The vector<> has a size.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: return blocks allocated from allocate()
Sage Weil [Tue, 17 Jan 2017 15:20:07 +0000 (10:20 -0500)]
os/bluestore: return blocks allocated from allocate()

Instead of having a separate output argument with the number of
blocks allocated, just return it via the return value.  Simplifies
the calling convention.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: manage vector from ExtentList
Sage Weil [Tue, 17 Jan 2017 15:56:13 +0000 (10:56 -0500)]
os/bluestore: manage vector from ExtentList

ExtentList was previous relying the caller to preallocate/size the
vector to be large enough for the worst case allocation of extents,
and keeping it's own manual count of the extent list size.  Instead,
manage that from ExtentList, and remove the preallocation from the
callers.

Fixes: http://tracker.ceph.com/issues/18573
Signed-off-by: Sage Weil <sage@redhat.com>
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 agocmake: fix rpath on shared libraries and executables 12927/head
Ricardo Dias [Fri, 13 Jan 2017 20:15:02 +0000 (20:15 +0000)]
cmake: fix rpath on shared libraries and executables

The problem was due to the attempt of CMake to rewrite the RPATH of
the executables, or shared libraries, that didn't have any RPATH linked
during the building phase.

Currently INSTALL_RPATH is already set for all binaries. This patch
sets an empty INSTALL_RPATH for all binaries that don't depend on
any internal (also being built) target.

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agodoc: correct S3 lifecycle support explain 12827/head
liuchang0812 [Mon, 9 Jan 2017 03:34:02 +0000 (11:34 +0800)]
doc: correct S3 lifecycle support explain

Fixes: http://tracker.ceph.com/issues/18459
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agodoc/release-notes: fix typo 12968/head
Sage Weil [Tue, 17 Jan 2017 21:54:02 +0000 (16:54 -0500)]
doc/release-notes: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agolibrbd: Support for shared locking in ManagedLock 12886/head
Ricardo Dias [Thu, 5 Jan 2017 11:23:56 +0000 (11:23 +0000)]
librbd: Support for shared locking in ManagedLock

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agodoc/release-notes: final kraken notes
Sage Weil [Tue, 17 Jan 2017 21:09:44 +0000 (16:09 -0500)]
doc/release-notes: final kraken notes

Signed-off-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 agorgw: modify error code in lifecycle to be compatible with S3. 12750/head
Zhang Shaowen [Tue, 17 Jan 2017 02:44:31 +0000 (10:44 +0800)]
rgw: modify error code in lifecycle to be compatible with S3.

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.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 agoosd, messenger, librados: lttng enhancements 12492/head
Anjaneya Chagam [Wed, 14 Dec 2016 22:36:52 +0000 (14:36 -0800)]
osd, messenger, librados: lttng enhancements

Few critical functions have been instrumented with function tracing
and oid tracing calls to help routing performance analysis.
Oid tracing events are heavily dependent on functional changes and may need
to be revised as and when core data flow logic changes.

Signed-off-by: Anjaneya Chagam <anjaneya.chagam@intel.com>
8 years agocommon: extend lttng tracing infrastructure
Anjaneya Chagam [Mon, 5 Dec 2016 19:58:22 +0000 (12:58 -0700)]
common: extend lttng tracing infrastructure

New function and oid lttng tracing enhancements that provide function
and oid level latency breakdown. Requires WITH_EVENTTRACE=ON option to enable.

Signed-off-by: Anjaneya Chagam <anjaneya.chagam@intel.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 agorbd: add error prompt when input command 'snap set limit' is incomplete 12945/head
tang.jin [Mon, 16 Jan 2017 14:28:23 +0000 (22:28 +0800)]
rbd: add error prompt when input command 'snap set limit' is incomplete

Signed-off-by: Tang Jin <tang.jin@istuary.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>