John Wilkins
6b5aaf3e6d
doc: Minor updates to manual deployment document.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-21 13:52:36 -08:00
John Wilkins
29178d83ab
doc: Cleanup of Add/Remove OSDs.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-20 19:29:31 -08:00
John Wilkins
634295d181
doc: Cleanup on Add/Remove monitor.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-20 19:28:27 -08:00
John Wilkins
de2bcd5da9
doc: Added a manual deployment doc.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-20 19:27:47 -08:00
John Wilkins
10b4bf6ab4
doc: Added manual deployment section to index.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-20 19:27:20 -08:00
John Wilkins
72bba1f31d
doc: Added fixes to osd reporting section.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-20 14:28:18 -08:00
Samuel Just
68e0e06370
doc: warn about #6796 in release notes
...
Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
2013-11-18 19:35:14 -08:00
Josh Durgin
574cb61efe
man: re-generate changed man pages
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-11-18 18:13:40 -08:00
rallred
0de0efa936
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>
2013-11-18 18:12:38 -08:00
Samuel Just
2301c04aad
Merge branch 'next'
2013-11-18 12:59:04 -08:00
Samuel Just
703f9a09e2
Revert "JounralingObjectStore: journal->committed_thru after replay"
...
committed_thru can race with the sync thread.
This reverts commit d8d27f13e1
.
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-11-18 12:58:27 -08:00
Samuel Just
f0c89311f6
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>
2013-11-15 13:08:45 -08:00
Samuel Just
ba67b9f0f7
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>
2013-11-15 11:50:40 -08:00
Wido den Hollander
96d7a2e905
doc: Fix wrong package names on Debian Wheezy for building Ceph
2013-11-15 12:47:11 +01:00
Wido den Hollander
f6d20ceedb
Merge branch 'master' of https://github.com/ceph/ceph
2013-11-15 12:46:04 +01:00
Samuel Just
7e53473a7a
Merge remote-tracking branch 'upstream/next'
2013-11-14 21:40:01 -08:00
Samuel Just
878f3540d1
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>
2013-11-14 21:38:38 -08:00
Samuel Just
bf7c09a893
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>
2013-11-14 21:38:38 -08:00
Samuel Just
1212a2119f
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>
2013-11-14 14:07:23 -08:00
Samuel Just
dd9d8b0202
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>
2013-11-14 12:25:36 -08:00
Samuel Just
d8d27f13e1
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>
2013-11-14 12:24:22 -08:00
Gregory Farnum
2555dd7b63
Merge pull request #851 from ceph/wip-6768
...
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-11-13 17:38:40 -08:00
David Zafman
a7063a11ab
Use clearer "local monitor storage" in log messages
...
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-11-13 14:16:11 -08:00
Wido den Hollander
bf9c9d0f38
Merge branch 'master' of https://github.com/ceph/ceph
2013-11-11 09:38:18 +01:00
Sage Weil
729c1528a8
Merge pull request #839 from kri5/master
...
doc: Remove redundant command for quick start preflight
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-09 22:28:03 -08:00
Sage Weil
3596b4cfdb
Merge pull request #823 from ceph/port/detect-libresolv
...
autoconf: check for res_nquery explicitly
2013-11-09 00:36:08 -08:00
Sage Weil
b2acac02c6
Merge pull request #789 from ceph/wip-6683
...
mon: MonmapMonitor: support 'mon getmap [epoch]'
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-08 22:44:37 -08:00
Sage Weil
a8a0d4f2a1
Merge pull request #836 from ceph/port/unused-headers
...
trace: remove unused header
2013-11-08 22:15:26 -08:00
Sage Weil
aef3402380
doc/release-notes: fix dup
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-11-08 21:24:03 -08:00
John Wilkins
3c91ea1437
Merge branch 'master' of https://github.com/ceph/ceph
2013-11-08 10:23:23 -08:00
John Wilkins
21637cc615
doc: Updated Emperor reference to 0.72.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-08 10:22:44 -08:00
John Wilkins
8b5719f866
doc: Added Emperor upgrade.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-08 10:22:22 -08:00
John Wilkins
7f45e72b6b
doc: Added dumpling to the sequence.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-08 10:21:42 -08:00
Wido den Hollander
62486276ef
Merge branch 'master' of https://github.com/ceph/ceph
2013-11-08 15:21:14 +01:00
Christophe Courtaut
efe55b15a2
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".
2013-11-08 13:48:57 +01:00
Sage Weil
3c70da20e3
Merge pull request #834 from ceph/port/stat
...
client: use platform-specific stat time members
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-08 00:26:17 -08:00
Sage Weil
3047148b37
Merge pull request #833 from ceph/wip-da-SCA-master
...
Various fixes from SCA
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-08 00:23:47 -08:00
Gary Lowell
aef3378bd7
Merge branch 'next'
2013-11-08 05:19:11 +00:00
Noah Watkins
fbdfe61d55
trace: remove unused header
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-07 16:42:54 -08:00
Noah Watkins
01f7b463d1
client: use platform-specific stat time members
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-07 15:48:05 -08:00
Danny Al-Gaaf
2f76ac3dc3
mon/MDSMonitor.cc: remove some unused variables
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-11-07 23:40:31 +01:00
Danny Al-Gaaf
91627f2d33
test_seek_read.c: remove unused variable 'off64_t so'
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-11-07 23:31:15 +01:00
Danny Al-Gaaf
0da5a019f5
rgw: remove unused variables
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-11-07 23:31:15 +01:00
Danny Al-Gaaf
6566dfb740
osd/ReplicatedPG.cc: remove unused variable
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-11-07 23:31:14 +01:00
Danny Al-Gaaf
ace35f2154
Client.cc: remove unused variable from Client::CommandHook::call()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-11-07 23:31:14 +01:00
Danny Al-Gaaf
9226a97aa2
rgw/rgw_user.cc: use static_cast<>() instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-11-07 23:31:14 +01:00
Danny Al-Gaaf
548fc13c17
rgw/rgw_http_client.cc: use static_cast<>() instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-11-07 23:31:14 +01:00
Danny Al-Gaaf
fbdfd87c95
remove unused variable from Objecter::RequestStateHook::call()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-11-07 23:31:14 +01:00
Danny Al-Gaaf
d0cf2bfb32
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>
2013-11-07 23:31:14 +01:00
Danny Al-Gaaf
36ae9eb321
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>
2013-11-07 23:31:14 +01:00