Commit Graph

26073 Commits

Author SHA1 Message Date
Sage Weil
1870516e1c mon: set MonitorDBStore options on open
So both ctors set the options.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-08 11:08:16 -07:00
Sage Weil
2a8fa9ee4f Merge pull request #254 from ceph/wip-crush-rules
Reviewed-by: Joao Luis <joao.luis@inktank.com>
2013-05-08 11:06:18 -07:00
Sage Weil
393c9372f8 ceph: return error code when failing to get result from admin socket
Make sure we return a non-zero result code when we fail to read something
from the admin socket.

Backport: cuttlefish, bobtail
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-08 11:05:29 -07:00
Samuel Just
dbcd738a22 ceph-monstore-tool: added replay 2013-05-08 11:03:43 -07:00
Samuel Just
aa94f5b340 ceph-monstore-tool: add MonitorDBStore trace dumper
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-08 11:03:43 -07:00
Samuel Just
797089ef08 mon: dump MonitorDBStore transactions to file
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-08 11:03:43 -07:00
Sage Weil
9e11065f0c Merge pull request #261 from ceph/wip-leveldb
Reviewed-by: Samuel Just <sam.just@inktank.com>
2013-05-08 11:01:51 -07:00
Sage Weil
f0c0997cb8 doc/install/os-recs: reverse order of releases
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-07 18:26:40 -07:00
Sage Weil
9477c17abe Merge pull request #263 from wido/config-get
Add "config get <var>" to the admin 

Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-07 18:17:01 -07:00
John Wilkins
f8ae2bd9b5 doc: Fixed typos.
fixes: #4932

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 18:05:28 -07:00
John Wilkins
452fb529fa doc: Fixed typo.
fixes: #4422

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 16:11:29 -07:00
John Wilkins
a0cb5e5e33 doc: Removed "and" as suggested.
fixes: #3686

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 16:08:11 -07:00
John Wilkins
ad75582cdd doc: Fixed hyperlink.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 13:48:55 -07:00
John Wilkins
87160c4db2 doc: Fixed path typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 13:43:32 -07:00
John Wilkins
2d6e4d2b00 doc: Updated OS support for Cuttlefish.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 11:49:30 -07:00
John Wilkins
67b60b9647 doc: Minor tweak to the definition list style.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 10:09:15 -07:00
Samuel Just
fd63f8aa30 WorkQueue: Allow WorkQueueVal to be specified with 1 type
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-07 08:16:04 -07:00
Samuel Just
4b548b5f0c OSD: removal collections will be removed inline and not queued
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-07 08:16:04 -07:00
Samuel Just
d7cd957433 OSD::clear_temp should clear snap mapper entries as well
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-07 08:16:04 -07:00
Samuel Just
7b22cfb2f8 PG,OSD: mark info as backfilling in _remove_pg()
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-07 08:16:04 -07:00
John Wilkins
c20751690c doc: Added glossary to TOC.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 07:58:04 -07:00
John Wilkins
473aae9616 doc: Added glossary.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 07:57:40 -07:00
John Wilkins
4e99dca970 doc: Fixed usage typo.
fixes: #4923

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 07:57:16 -07:00
Sage Weil
78518f6247 Merge pull request #262 from gollub/typos
fixed common typo in error messages
2013-05-07 07:30:44 -07:00
Wido den Hollander
8586738023 Fix whitespace indentation
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-05-07 14:26:15 +02:00
Wido den Hollander
ad504e9436 Implement 'config get <var>' for the admin socket
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-05-07 13:56:17 +02:00
Daniel Gollub
27d86bd15b fixed common typo in error messages
Signed-off-by: Daniel Gollub <d.gollub@telekom.de>
2013-05-07 11:55:46 +02:00
Sage Weil
2bd2731240 doc/install/{debian,rpm}: update for cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 20:16:23 -07:00
Sage Weil
7c3a0e8b37 doc/start/get-involved: fix links
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/start/get-involved.rst:33: Unknown target name: "tracker".
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/start/get-involved.rst:43: Unknown target name: "support".

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 20:11:29 -07:00
Sage Weil
b107081f06 doc/release-notes: I missed rgw rest api in the release notes
Mostly from here dd19d693e6

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 20:07:53 -07:00
Gary Lowell
e5b25bd36b Merge branch 'next' 2013-05-06 19:51:47 -07:00
Sage Weil
9d85d67e77 os/ObjectStore: add missing break in dump()
CID 751331 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: This case (value 35) is not terminated by a 'break' statement.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 17:15:14 -07:00
Sage Weil
c693ba5732 rados: add whole-object 'clonedata' command
Clone the data stream from one object to another.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 16:45:12 -07:00
John Wilkins
298ebdb0f5 doc: Deleted redundant "so that" phrase.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 16:41:08 -07:00
John Wilkins
277f2de93d doc: Corrected typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 16:38:41 -07:00
John Wilkins
359bd6df07 doc: Corrected typo. 2013-05-06 16:38:21 -07:00
John Wilkins
2d4b5bd872 Removed comment out of header, and added "coming soon." 2013-05-06 16:37:50 -07:00
John Wilkins
1cfc6e3bd5 doc: Updated usage for push | pull.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 16:37:12 -07:00
David Zafman
048e04994c Clean up defer_recovery() functions
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-05-06 16:34:33 -07:00
Sage Weil
bd36e78f72 osd: make class load errors louder
Fixes: #4639
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 14:34:37 -07:00
Sage Weil
0b4c5c1a33 osd: optionally enable leveldb logging
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 14:21:28 -07:00
Sage Weil
c1d5f81554 mon: allow leveldb logging
'mon leveldb log = filename'

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 14:13:50 -07:00
Gary Lowell
237f3f1e8d v0.61 2013-05-06 13:18:56 -07:00
Samuel Just
eb69c7df19 os/: default to dio for non-block journals
Workaround: #4910
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-06 13:05:01 -07:00
Sage Weil
60603d01e5 ceph-disk: use separate lock files for prepare, activate
Use a separate lock file for prepare and activate to avoid deadlock.  This
didn't seem to trigger on all machines, but in many cases, the prepare
process would take the file lock and later trigger a udev event and the
activate would then block on the same lock, either when we explicitly call
'udevadm settle --timeout=10' or when partprobe does it on our behalf
(without a timeout!).   Avoid this by using separate locks for prepare
and activate.  We only care if multiple activates race; it is
okay for a prepare to be in progress and for an activate to be kicked
off.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 12:12:04 -07:00
Danny Al-Gaaf
e662b6140b ceph-test.install: add ceph-monstore-tool and ceph-osdomap-tool
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 11:30:37 -07:00
Danny Al-Gaaf
eae02fd34c ceph.spec.in: remove twice listed ceph-coverage
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 11:30:18 -07:00
Danny Al-Gaaf
71cef0867b ceph.spec: add some files to ceph
Add installed, but not packaged files to ceph-test (ceph-monstore-tool,
ceph-osdomap-tool) rpm file section.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 11:30:02 -07:00
John Wilkins
c5d4302489 doc: Update the usage to reflect optional directory name.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 11:19:33 -07:00
John Wilkins
35acb152ef doc: Rearranged to show zapping multiple disks and creating multiple OSDs.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 11:19:09 -07:00