]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Mon, 25 Nov 2013 16:10:13 +0000 (08:10 -0800)]
ceph-object-corpus: revert accidental revert
From
5df3024d7847950672169069b9dc8c8dcb876019
Signed-off-by: Sage Weil <sage@inktank.com>
Gregory Farnum [Mon, 25 Nov 2013 06:07:35 +0000 (22:07 -0800)]
Merge pull request #861 from dachary/init-ceph
init: fix typo s/{$update_crush/${update_crush/
David Zafman [Sat, 23 Nov 2013 01:09:54 +0000 (17:09 -0800)]
Merge pull request #832 from ceph/wip-flush-5855-review
Reviewed-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
John Wilkins [Fri, 22 Nov 2013 23:49:16 +0000 (15:49 -0800)]
doc: Clarified description on scrub load threshold.
fixes: #6735
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 22 Nov 2013 23:48:25 +0000 (15:48 -0800)]
doc: Fixed instruction.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 22 Nov 2013 23:16:18 +0000 (15:16 -0800)]
Merge branch 'master' of https://github.com/ceph/ceph
John Wilkins [Fri, 22 Nov 2013 23:15:41 +0000 (15:15 -0800)]
doc: Added commentary to configure pg defaults. Clarified size commentary.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 22 Nov 2013 23:14:46 +0000 (15:14 -0800)]
doc: PG splitting added to docs.
fixes: #6727
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 22 Nov 2013 23:13:49 +0000 (15:13 -0800)]
doc: Took out "future" reference to namespaces.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 22 Nov 2013 20:59:40 +0000 (12:59 -0800)]
doc: Clarification of terms.
fixes: #6749
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Loic Dachary [Thu, 21 Nov 2013 17:51:06 +0000 (18:51 +0100)]
init: fix typo s/{$update_crush/${update_crush/
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
Josh Durgin [Thu, 21 Nov 2013 02:38:59 +0000 (18:38 -0800)]
Merge branch 'next'
Josh Durgin [Thu, 21 Nov 2013 02:35:34 +0000 (18:35 -0800)]
test: use older names for module setup/teardown
setUp and tearDown require nosetests 0.11, but 0.10.4 is the latest on
centos. Rename to use the older aliases, which still work with newer
versions of nosetests as well.
Fixes: #6368
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
John Wilkins [Wed, 20 Nov 2013 22:28:18 +0000 (14:28 -0800)]
doc: Added fixes to osd reporting section.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Dan Mick [Tue, 19 Nov 2013 23:41:11 +0000 (15:41 -0800)]
Merge pull request #854 from ceph/wip-osd-bench-size
osd: fix bench block size
Reviewed-by: Dan Mick <dan.mick@inktank.com>
David Zafman [Fri, 11 Oct 2013 22:53:49 +0000 (15:53 -0700)]
osd: Backfill peers should not be included in the acting set
Create actingbackfill in choose_acting()
Use first backfill target as previously
Add asserts to catch inappropriate use of actingbackfill
Use is_acting() in proc_replica_info() because this is before actingbackfill set
Remove backfill_targets from stray_set to prevent purge_strays from removing collection
Can't check is_replica() anymore for backfill operations since a backfill isn't
a replica due to acting set change.
fixes: #5855
Signed-off-by: David Zafman <david.zafman@inktank.com>
David Zafman [Tue, 22 Oct 2013 03:26:18 +0000 (20:26 -0700)]
osd: Simple dout() fix
Signed-off-by: David Zafman <david.zafman@inktank.com>
Samuel Just [Wed, 30 Oct 2013 18:35:35 +0000 (11:35 -0700)]
PG: remove unused Peering::flushed
This has been unused for quite some time!
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 30 Oct 2013 18:32:13 +0000 (11:32 -0700)]
PG: don't requeue waiting_for_active unless flushed and active
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 30 Oct 2013 18:21:56 +0000 (11:21 -0700)]
ReplicatedPG/PGBackend: block all ops other than Pull prior to active
Previously, it was guarranteed that prior to activation, flushed would
be false on a replica. Now, there may be a period where flushed is true
due to the flush in Stray completing prior to activation and flushed
being false again. This is necessary since shortly it won't be possible
to determine from the osdmap whether a stray will be activated in a
particular interval.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 30 Oct 2013 18:10:24 +0000 (11:10 -0700)]
PG: call start_flush in Active() instead of using do_pending_flush()
This way, we don't block an OpWQ thread while waiting on the filestore.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 30 Oct 2013 17:57:52 +0000 (10:57 -0700)]
PG,ReplicatedPG: allow multiple flushes to be in progress
Shortly, we won't know precisely when to flush, so Strays
may need to flush twice.
Signed-off-by: Samuel Just <sam.just@inktank.com>
David Zafman [Sat, 2 Nov 2013 01:15:49 +0000 (18:15 -0700)]
ReplicatedPG,PG: move duplicate FlushedEvt logic info on_flushed()
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 19 Nov 2013 03:35:14 +0000 (19:35 -0800)]
doc: warn about #6796 in release notes
Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
Josh Durgin [Tue, 19 Nov 2013 02:05:18 +0000 (18:05 -0800)]
man: re-generate changed man pages
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
rallred [Tue, 12 Nov 2013 15:29:19 +0000 (08:29 -0700)]
RBD Documentation and Example fixes for --image-format
- RBD Documentation, --image-format wrongly specified as --format in examples
- RBD Documentation, better describe image format, to differentiate from --format
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Mon, 18 Nov 2013 22:39:12 +0000 (14:39 -0800)]
osd: fix bench block size
The command was declared to take 'size' in dumpling, but was trying to
read 'bsize' instead, so it always used the default of 4MiB. Change
the bench command to read 'size', so it matches what existing clients
are sending.
Fixes: #6795
Backport: emperor, dumpling
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Samuel Just [Mon, 18 Nov 2013 20:59:04 +0000 (12:59 -0800)]
Merge branch 'next'
Samuel Just [Mon, 18 Nov 2013 20:57:39 +0000 (12:57 -0800)]
Revert "JounralingObjectStore: journal->committed_thru after replay"
committed_thru can race with the sync thread.
This reverts commit
d8d27f13e11dcaefd3aa1c049b97c980283da575 .
Reviewed-by: Greg Farnum <greg@inktank.com>
Samuel Just [Fri, 15 Nov 2013 21:05:24 +0000 (13:05 -0800)]
release-notes: clarify that the osd data directory needs to be mounted
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Samuel Just [Fri, 15 Nov 2013 18:57:20 +0000 (10:57 -0800)]
doc/release-notes.rst: v0.72.1 release notes
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Wido den Hollander [Fri, 15 Nov 2013 11:47:11 +0000 (12:47 +0100)]
doc: Fix wrong package names on Debian Wheezy for building Ceph
Wido den Hollander [Fri, 15 Nov 2013 11:46:04 +0000 (12:46 +0100)]
Merge branch 'master' of https://github.com/ceph/ceph
Samuel Just [Fri, 15 Nov 2013 05:40:01 +0000 (21:40 -0800)]
Merge remote-tracking branch 'upstream/next'
Samuel Just [Wed, 13 Nov 2013 22:39:26 +0000 (14:39 -0800)]
ceph-filestore-tool: add tool for fixing lost objects
Used to repair: #6761
Backport: emperor
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Samuel Just [Wed, 13 Nov 2013 21:24:10 +0000 (13:24 -0800)]
osd_types: fix object_info_t backwards compatibility
Shipping an object_info_t to a replica with the dirty
flag set would cause the replica to interpret that
object as being lost. Instead, we always encode
lost into the slot where dumpling expects to find
it and add another field at the end of the encoding.
Backport: emperor
Fixes: #6761
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Samuel Just [Thu, 14 Nov 2013 19:49:58 +0000 (11:49 -0800)]
CephContext: unregister lockdep after stopping service thread
Fixes: #6769
Fixes: #6674
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Samuel Just [Tue, 12 Nov 2013 23:15:26 +0000 (15:15 -0800)]
ReplicatedPG: test for missing head before find_object_context
find_object_context doesn't return EAGAIN for a missing head.
I chose not to change that behavior since it might hide bugs
in the future. All other callers check for missing on head
before calling into find_object_context because we potentially
need head or snapdir to map a snapid onto a clone.
Backport: emperor
Fixes: 6758
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Samuel Just [Tue, 12 Nov 2013 21:39:04 +0000 (13:39 -0800)]
JounralingObjectStore: journal->committed_thru after replay
It's possible that the osd stopped between when the filestore
op_seq file was updated and when the journal was trimmed. In
that case, it's possible that on boot the journal might be
full, and yet not be trimmed because commit_start assumes
there is no work to do. Calling committed_thru on the journal
ensures that the journal matches committed_seq.
Backport: emperor dumpling
Fixes: 6756
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Gregory Farnum [Thu, 14 Nov 2013 01:38:40 +0000 (17:38 -0800)]
Merge pull request #851 from ceph/wip-6768
Reviewed-by: Greg Farnum <greg@inktank.com>
David Zafman [Wed, 13 Nov 2013 22:16:11 +0000 (14:16 -0800)]
Use clearer "local monitor storage" in log messages
Signed-off-by: David Zafman <david.zafman@inktank.com>
Wido den Hollander [Mon, 11 Nov 2013 08:38:18 +0000 (09:38 +0100)]
Merge branch 'master' of https://github.com/ceph/ceph
Sage Weil [Sun, 10 Nov 2013 06:28:03 +0000 (22:28 -0800)]
Merge pull request #839 from kri5/master
doc: Remove redundant command for quick start preflight
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 9 Nov 2013 08:36:08 +0000 (00:36 -0800)]
Merge pull request #823 from ceph/port/detect-libresolv
autoconf: check for res_nquery explicitly
Sage Weil [Sat, 9 Nov 2013 06:44:37 +0000 (22:44 -0800)]
Merge pull request #789 from ceph/wip-6683
mon: MonmapMonitor: support 'mon getmap [epoch]'
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 9 Nov 2013 06:15:26 +0000 (22:15 -0800)]
Merge pull request #836 from ceph/port/unused-headers
trace: remove unused header
Sage Weil [Sat, 9 Nov 2013 05:24:03 +0000 (21:24 -0800)]
doc/release-notes: fix dup
Signed-off-by: Sage Weil <sage@inktank.com>
John Wilkins [Fri, 8 Nov 2013 18:23:23 +0000 (10:23 -0800)]
Merge branch 'master' of https://github.com/ceph/ceph
John Wilkins [Fri, 8 Nov 2013 18:22:44 +0000 (10:22 -0800)]
doc: Updated Emperor reference to 0.72.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 8 Nov 2013 18:22:22 +0000 (10:22 -0800)]
doc: Added Emperor upgrade.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 8 Nov 2013 18:21:42 +0000 (10:21 -0800)]
doc: Added dumpling to the sequence.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Wido den Hollander [Fri, 8 Nov 2013 14:21:14 +0000 (15:21 +0100)]
Merge branch 'master' of https://github.com/ceph/ceph
Christophe Courtaut [Fri, 8 Nov 2013 12:48:57 +0000 (13:48 +0100)]
doc: Remove redundant command for quick start preflight
Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
This patch removes a few commands, which are redundant with following
commands.
Btw, they are also unrelated with the subtitle of the section, which is
"Add the release key".
Sage Weil [Fri, 8 Nov 2013 08:26:17 +0000 (00:26 -0800)]
Merge pull request #834 from ceph/port/stat
client: use platform-specific stat time members
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 8 Nov 2013 08:23:47 +0000 (00:23 -0800)]
Merge pull request #833 from ceph/wip-da-SCA-master
Various fixes from SCA
Reviewed-by: Sage Weil <sage@inktank.com>
Gary Lowell [Fri, 8 Nov 2013 05:19:11 +0000 (05:19 +0000)]
Merge branch 'next'
Noah Watkins [Fri, 8 Nov 2013 00:42:54 +0000 (16:42 -0800)]
trace: remove unused header
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Thu, 7 Nov 2013 23:38:58 +0000 (15:38 -0800)]
client: use platform-specific stat time members
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Danny Al-Gaaf [Thu, 7 Nov 2013 22:33:21 +0000 (23:33 +0100)]
mon/MDSMonitor.cc: remove some unused variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 21:01:42 +0000 (22:01 +0100)]
test_seek_read.c: remove unused variable 'off64_t so'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 21:01:04 +0000 (22:01 +0100)]
rgw: remove unused variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 21:00:33 +0000 (22:00 +0100)]
osd/ReplicatedPG.cc: remove unused variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 20:59:20 +0000 (21:59 +0100)]
Client.cc: remove unused variable from Client::CommandHook::call()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 20:33:33 +0000 (21:33 +0100)]
rgw/rgw_user.cc: use static_cast<>() instead of C-Style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 20:32:42 +0000 (21:32 +0100)]
rgw/rgw_http_client.cc: use static_cast<>() instead of C-Style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 18:51:48 +0000 (19:51 +0100)]
remove unused variable from Objecter::RequestStateHook::call()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 18:51:14 +0000 (19:51 +0100)]
ErasureCodeExample.h: prefer prefix ++operator for non-primitive types
Prefer prefix ++operator for non-primitive types like iterators for
performance reasons. Prefix ++/-- operators avoid creating a temporary
copy.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 18:46:09 +0000 (19:46 +0100)]
osd/osd_types.cc: use !p.tiers.empty() instead of size()
Use empty() since it should be prefered as it has, following the
standard, a constant time complexity regardless of the containter
type. The same is not guaranteed for size().
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 18:42:29 +0000 (19:42 +0100)]
ErasureCodeJerasure.cc: prefer prefix ++operator for non-primitive types
Prefer prefix ++operator for non-primitive types like iterators for
performance reasons. Prefix ++/-- operators avoid creating a temporary
copy.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 18:41:54 +0000 (19:41 +0100)]
osd/ErasureCodePlugin.cc: prefer prefix ++operator for non-primitive types
Prefer prefix ++operator for non-primitive types like iterators for
performance reasons. Prefix ++/-- operators avoid creating a temporary
copy.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 18:40:47 +0000 (19:40 +0100)]
os/ObjectStore.cc: prefer prefix ++operator for non-primitive types
Prefer prefix ++operator for non-primitive types like iterators for
performance reasons. Prefix ++/-- operators avoid creating a temporary
copy.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 18:39:59 +0000 (19:39 +0100)]
mon/OSDMonitor.cc: prefer prefix ++operator for non-primitive types
Prefer prefix ++operator for non-primitive types like iterators for
performance reasons. Prefix ++/-- operators avoid creating a temporary
copy.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 5 Nov 2013 15:57:09 +0000 (16:57 +0100)]
common/buffer.cc: prefer prefix ++operator for non-primitive types
Prefer prefix ++operator for non-primitive types like iterators for
performance reasons. Prefix ++/-- operators avoid creating a temporary
copy.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Gary Lowell [Thu, 7 Nov 2013 20:27:35 +0000 (20:27 +0000)]
v0.72
Yehuda Sadeh [Tue, 5 Nov 2013 22:54:20 +0000 (14:54 -0800)]
rgw: deny writes to a secondary zone by non-system users
Fixes: #6678
We don't want to allow regular users to write to secondary zones,
otherwise we'd end up with data inconsistencies.
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Sage Weil [Thu, 7 Nov 2013 13:47:33 +0000 (05:47 -0800)]
Merge pull request #830 from ceph/port/gtest-death-tests
test: Only build death tests on platforms that support them
Sage Weil [Thu, 7 Nov 2013 04:02:09 +0000 (20:02 -0800)]
doc/release-notes: note crush update timeout on startup change
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 7 Nov 2013 03:59:56 +0000 (19:59 -0800)]
osdmaptool: fix cli tests
From
c22c84a88c22688b6044ab37f65a3fe40dfe1983 .
Signed-off-by: Sage Weil <sage@inktank.com>
Li Wang [Thu, 7 Nov 2013 02:44:30 +0000 (10:44 +0800)]
Ceph: Fix memory leak in chain_flistxattr()
Free allocated memory before return.
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Samuel Just [Wed, 6 Nov 2013 22:33:03 +0000 (14:33 -0800)]
ReplicatedPG: don't skip missing if sentries is empty on pgls
Formerly, if sentries is empty, we skip missing. In general,
we need to continue adding items from missing until we get
to next (returned from collection_list_partial) to avoid
missing any objects.
Fixes: #6633
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Sage Weil [Thu, 7 Nov 2013 01:32:11 +0000 (17:32 -0800)]
Merge pull request #827 from ceph/port/bootstrap
Port/bootstrap
Sage Weil [Thu, 7 Nov 2013 01:31:28 +0000 (17:31 -0800)]
Merge pull request #831 from ceph/port/func-name
assert: choose function-var name on non-gnu
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 7 Nov 2013 01:14:40 +0000 (17:14 -0800)]
Merge pull request #819 from xinglin/coverity-fixes
Coverity fixes
Reviewed-by; Sage Weil <sage@inktank.com>
Noah Watkins [Sun, 21 Jul 2013 01:41:38 +0000 (18:41 -0700)]
assert: choose function-var name on non-gnu
Selects __PRETTY_FUNCTION__ or __func__. Linux assumes GNU, and chooses
__PRETTY_FUNCTION__ if gcc/g++ versions are favorable.
This also includes a fix in ax_c_var_func.m4:
AC_TRY_COMPILE will wrap the test in main{}, and then GCC will complain
about nested functions. Just use the original main{} body.
diff --git a/m4/ax_c_var_func.m4 b/m4/ax_c_var_func.m4
index
0ad7d2b ..
8b57563 100644
--- a/m4/ax_c_var_func.m4
+++ b/m4/ax_c_var_func.m4
@@ -57,9 +57,9 @@ AC_DEFUN([AX_C_VAR_FUNC],
[AC_REQUIRE([AC_PROG_CC])
AC_CACHE_CHECK(whether $CC recognizes __func__, ac_cv_c_var_func,
AC_TRY_COMPILE(,
-[int main() {
+[
char *s = __func__;
-}],
+],
AC_DEFINE(HAVE_FUNC,,
[Define if the C complier supports __func__]) ac_cv_c_var_func=yes,
ac_cv_c_var_func=no) )
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Alan Somers [Fri, 11 Oct 2013 20:45:47 +0000 (13:45 -0700)]
test: Only build death tests on platforms that support them
googletest does not support death tests on FreeBSD. I've submitted a
patch upstream that trivially enables support, but in the meantime we
can't compile death tests for Ceph on FreeBSD.
https://groups.google.com/forum/#!topic/googletestframework/tjY6UjWgNOw
Signed-off-by: Alan Somers <asomers@gmail.com>
Samuel Just [Wed, 6 Nov 2013 05:48:53 +0000 (21:48 -0800)]
PG: fix operator<<,log_wierdness log bound warning
Split may cause holes such that head != tail and yet
log.empty().
Fixes: #6722
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Samuel Just [Wed, 6 Nov 2013 01:47:48 +0000 (17:47 -0800)]
PGLog::rewind_divergent_log: log may not contain newhead
Due to split, there may be a hole at newhead.
Fixes: #6722
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Xing Lin [Tue, 5 Nov 2013 05:25:42 +0000 (22:25 -0700)]
osd/ErasureCodePlugin: close library before return on error
close and free resources for library before return
Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
Xing Lin [Tue, 5 Nov 2013 05:03:08 +0000 (22:03 -0700)]
osd/erasurecode: free allocated memory before return NULL
free memory space pointed by row_ids and ind_to_row before return
Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
Xing Lin [Sun, 3 Nov 2013 17:35:33 +0000 (10:35 -0700)]
mon/MDSMonitor: remove unnecessary assignment
epocharg is not initialized, so it does not make any difference
to assign its value to epoch.
Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
Xing Lin [Sun, 3 Nov 2013 01:13:42 +0000 (19:13 -0600)]
osd/erasurecode: correct one variable name in jerasure_matrix_to_bitmatrix()
When bitmatrix is NULL, this function returns NULL.
Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
Sage Weil [Wed, 6 Nov 2013 16:06:11 +0000 (08:06 -0800)]
Merge remote-tracking branch 'gh/wip-doc-radosgw'
Sage Weil [Wed, 6 Nov 2013 16:06:09 +0000 (08:06 -0800)]
Revert "doc: radosgw workaround for OpenStack Horizon bug"
This reverts commit
c3c962eb7d2fb5ceea829924af08f8a1471f7acf .
Sage Weil [Wed, 6 Nov 2013 15:57:23 +0000 (07:57 -0800)]
Merge pull request #799 from ceph/wip-doc-install
Wip doc install
Reviewed-by: Neil Levine <neil.levine@inktank.com>
Sage Weil [Wed, 6 Nov 2013 15:51:02 +0000 (07:51 -0800)]
Merge pull request #821 from ceph/port/missing-headers
add missing headers
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 6 Nov 2013 15:50:20 +0000 (07:50 -0800)]
Merge pull request #822 from ceph/port/rgw
portability patches in rgw
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 6 Nov 2013 15:46:02 +0000 (07:46 -0800)]
Merge pull request #824 from dmick/next
osdmaptool: don't put progress on stdout
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 6 Nov 2013 15:45:17 +0000 (07:45 -0800)]
Merge pull request #825 from ceph/port/utime
utime: use to_timespec for conversion
Reviewed-by: Sage Weil <sage@inktank.com>
Samuel Just [Tue, 5 Nov 2013 23:40:29 +0000 (15:40 -0800)]
RadosModel: use sharedptr_registry for snaps_in_use
There might be two concurrent rollback ops each of which
adds snap x to snaps_in_use. Between when the first
completes and the second completes, snap x may be removed
since the first would have removed snap x from snaps_in_use.
Using sharedptr_registry here avoids this by ensuring that
the snap won't be removed from snaps_in_use until all refs
are gone.
This patch also adds size() to sharedptr_registry.
Fixes: #6719
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Dan Mick [Wed, 6 Nov 2013 00:11:10 +0000 (16:11 -0800)]
osdmaptool: don't put progress on stdout
If one requests JSON output, the progress message pollutes the output;
don't do that, send it to stderr instead
Signed-off-by: Dan Mick <dan.mick@inktank.com>