Yehuda Sadeh
36ec6f9bce
osd: don't assert if get_omap_iterator() returns NULL
...
Fixes : #4949
This can happen if the object does not exist and it's
a write operation. Just return -ENOENT.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-05-08 12:18:49 -07:00
Sage Weil
a89d889b0d
Merge pull request #165 from dachary/wip-4321
...
unit tests for FileStore::_detect_fs when running on ext4
2013-05-08 11:44:24 -07:00
Yehuda Sadeh
3846451548
rgw: user operation mask
...
Fixes : #4716
add user operation mask for controlling user permissions.
Also add admin controls for it.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-05-08 11:35:57 -07:00
Josh Durgin
cdb3d32ef5
Merge pull request #180 from ceph/wip-rados-clone
...
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-05-08 11:26:04 -07:00
Samuel Just
61354b21d3
Merge branch 'wip_split_upgrade' into next
...
Fixes : #4927
2013-05-08 11:14:11 -07:00
Samuel Just
8e89db89cb
OSD: handle stray snap collections from upgrade bug
...
Previously, we failed to clear snap_collections, which causes split to
spawn a bunch of snap collections. In load_pgs, we now clear any such
snap collections and then snap_collections field on the PG itself.
Related: #4927
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-08 11:12:20 -07:00
Samuel Just
252d71a81e
PG: clear snap_collections on upgrade
...
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-08 11:12:07 -07:00
Samuel Just
438d9aa152
OSD: snap collections can be ignored on split
...
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-08 11:11:51 -07:00
Sage Weil
6789b02026
Merge pull request #265 from ceph/wip-mon-trace
2013-05-08 11:08:48 -07:00
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