Yehuda Sadeh
5e7393352c
rgw: fix xml parser internal structure leak
2011-12-19 13:57:08 -08:00
Yehuda Sadeh
a72348ea93
rgw: fix a leak of acl structure (in req_state)
2011-12-19 13:57:03 -08:00
Greg Farnum
42980922f2
Merge branch 'wip-osd-maybe-created'
2011-12-19 13:25:27 -08:00
Sage Weil
98a4809ad2
Merge branch 'wip-osd-fsid'
2011-12-19 13:24:46 -08:00
Sage Weil
3af5fff5e1
doc: fix typo
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 13:24:31 -08:00
Sage Weil
dc977901c6
osd: --get-journal-fsid
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 08:15:08 -08:00
Sage Weil
ae8fbb881a
filejournal: uuid for fsid
...
Decode old header struct, but encode new class using more normal encoding
style. Embed in a bufferlist for later extensibility. Use the first
64 bits of the uuid for the per-entry magic, as before.
When we load an old fsid, we mirror the 64-bits.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 08:13:01 -08:00
Sage Weil
c8c5e5d6cc
filestore: make fsid uuid_d instead of uint64_t
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-12-19 08:13:01 -08:00
Sage Weil
c59eb8ca33
osd: --get-osd-fsid and --get-cluster-fsid
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-12-19 08:12:11 -08:00
Sage Weil
a582209517
osd: store osd_fsid as text in osd_data dir
...
along with ceph_fsid (the cluster fsid) and a few other things.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-12-19 08:12:11 -08:00
Sage Weil
dcceb8e835
osd: include osd_fsid in OSDSuperblock
...
Generated during mkfs.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-12-19 08:12:11 -08:00
Sage Weil
237b19cd22
osd: rename OSDSuperblock::fsid -> cluster_fsid
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-12-19 08:12:10 -08:00
Sage Weil
cd909acaa4
doc: fix mon cluster expansion docs
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 08:04:53 -08:00
Sage Weil
f2a9599062
mon: pull addr from ceph.conf, mon_host as needed when joining mon cluster
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 08:03:59 -08:00
Sage Weil
d959334208
mon: fix setting of mon addr when joining a cluster
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 07:57:45 -08:00
Wido den Hollander
e5f49104ab
man: Update the configuration example for radosgw
...
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2011-12-16 22:15:47 -08:00
Wido den Hollander
83cf1b62fd
man: It is capital -C instead of -c when for creating a new keyring
...
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2011-12-16 22:15:40 -08:00
Yehuda Sadeh
3e323e6adb
rgw: fix updating of object metadata
...
being used in swift POST. We were updating wrong object
size and etag
2011-12-16 22:04:43 -08:00
Yehuda Sadeh
08f968f8cd
rgw: bucket cannot be recreated if already exists
2011-12-16 17:14:30 -08:00
Samuel Just
bfbde5b185
object.h: initialize max in hobject_t(sobject_t) constructor
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-12-16 14:42:36 -08:00
Samuel Just
061e7619aa
ReplicatedPG: fix handle_watch_timeout ctx->at_version
...
ctx->at_version should match the head of the new log entries
during issue_repop. This could cause the scrub hang bug as
last_update would be less than last_update_applied.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-12-16 12:41:15 -08:00
Samuel Just
5274e88d2c
ReplicatedPG: add asserts to catch scrub error
...
If last_update_applied skipped over last_update, we would see
scrub hang.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-12-16 11:43:34 -08:00
Sage Weil
3f3913c9e7
doc: fix filename in mon addition process
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-16 10:39:33 -08:00
Sage Weil
7d81a3b562
filejournal: preallocate journal bytes on create
...
This should reduce fragmentation for large journals that are written
slowly the first time around.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-16 09:19:59 -08:00
Sage Weil
92cb2a20f3
Merge pull request #5 from homac/master
...
Minor fix for init files and cleaned up spec file. Please pull
2011-12-16 09:08:17 -08:00
Josh Durgin
739fd9fee4
man: clarify mount.ceph auth options
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-15 14:03:00 -08:00
Josh Durgin
e5a5ae12d7
man: update rule definition for ceph-rbdnamer
...
This is the rule we install since 891025e539
.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-15 13:49:10 -08:00
Josh Durgin
4eb836546d
authx -> cephx everywhere it's used
...
The term authx was in the mount.ceph man page, and got accidentally
copied into rbd help.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-15 13:43:43 -08:00
Holger Macht
ec776f4b85
ceph.spec: Clean up and fix spec file and build for a couple of distributions
...
Clean up and fix the spec file. This includes cleaning up of build and
installed system dependencies, LSB compliance fixes, splitting up into
several sub-packages (lib*) and so on. It now builds fine for the
following distributions in the Open Build Service and should be
considered as a starting point for further fixes:
- CentOS 6
- Fedora 15
- RedHat Enterprise Linux 6
- openSUSE 11.4
- openSUSE 12.1
- openSUSE Factory
- SUSE Linux Enterprise 11 (SP1 and SP2)
Signed-off-by: Holger Macht <hmacht@suse.de>
2011-12-15 17:51:04 +01:00
Holger Macht
0e0583f8f3
init-ceph/init-radosgw: Don't use unspecified runlevel 4
...
Don't use runlevel 4 in init scripts. AFAIK, no distribution is using it
and at least the Open Build Service complains about it.
Signed-off-by: Holger Macht <hmacht@suse.de>
2011-12-15 17:49:15 +01:00
Sage Weil
da2860599a
client: fix logger deregistration
...
Only unregister logger if it is non-NULL (and thus registered) to avoid
running afoul of the cct assertions.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-14 17:43:18 -08:00
Tommi Virtanen
1430c8abaa
doc: Make overview.rst valid reStructuredText, so I can stop seeing warnings.
...
It's still wrong, but now it won't clutter the output.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:38:08 -08:00
Tommi Virtanen
c119074055
pybind: Add a description to docstring.
...
This avoids a Sphinx warning like this:
.../src/pybind/rbd.py:docstring of rbd.RBD.version:2: WARNING: Field list ends without a blank line; unexpected unindent.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:33:15 -08:00
Tommi Virtanen
53f7323cdf
doc: reStructuredText syntax fix.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:33:15 -08:00
Greg Farnum
18d996370e
Merge branch 'wip-messenger'
2011-12-14 11:14:02 -08:00
Tommi Virtanen
d745ff8d89
doc: "ceph -w" clarification.
...
Stop saying "watch cluster state" so many times.
Don't say stdout, that's the assumption.
Don't call showing things on terminal "printing".
Don't show -C option here.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:19:00 -08:00
Tommi Virtanen
bc16ac3b16
doc: Fix sentence that ended too abruptly.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:19:00 -08:00
Tommi Virtanen
f5cfdbb7a3
doc: Split intro to talk about the DFS separately. Mention petabytes.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:19:00 -08:00
Tommi Virtanen
034dd58f77
doc: Add more missing commands to control.
...
This is too unstructured, that will have to be fixed later.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:19:00 -08:00
Tommi Virtanen
81feae12e1
doc: Add misc explanations of Ceph internals from email.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:19:00 -08:00
Tommi Virtanen
75fd16a543
doc: Use todo directive, rescue list of missing commands from wiki.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:19:00 -08:00
Tommi Virtanen
196d427342
doc: Link to manpage when command is mentioned.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:19:00 -08:00
Tommi Virtanen
b7a5a6a605
doc: More consistency on formatting placeholder names.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-12-14 11:19:00 -08:00
Greg Farnum
55639dcd87
msgr: unset did_bind in stop().
...
We use did_bind as a flag on whether or not to stop the Accepter thread
and we should clear it when we do the stopping.
This fixes #1829 .
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-12-14 11:11:37 -08:00
Sage Weil
41049f30b0
objecter: fix use-after-free
...
messenger consumes the m reference. Yay valgrind.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-14 10:59:51 -08:00
Sage Weil
041d04563e
client: move PerfCounter into Client
...
globals are evil.
Fixes : #1826
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-14 10:51:23 -08:00
Yehuda Sadeh
e8e1e5dffb
swift: auth response returns X-Auth-Token instead of X-Storage-Token
2011-12-14 10:50:30 -08:00
Sage Weil
c9d0e556c7
osd: fix build_incremental_map_msg
...
We keep both the inc and the full for our oldest osdmap.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-12-14 09:31:17 -08:00
Sage Weil
1a473b7aa5
osd: clean up _delete_head
...
Might be fixing a subtle logic bug, but old flow was confusing, so not
sure. :)
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-12-14 09:27:26 -08:00
Sage Weil
6c8f60f6a6
osd: simplify creation logic in do_osd_ops
...
Drop the maybe_created variable, and track exists over the course of the
transaction.
Fixes : #1825
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-12-14 09:26:02 -08:00