Josh Durgin
68ba1862e8
librados: make getxattrs ENOMEM return negative
...
This is more consistent with the rest of librados.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-19 18:00:16 -08:00
Yehuda Sadeh
01f3f6a620
rgw: add timeout to init path
2011-12-19 16:01:18 -08:00
Samuel Just
cc22f1546d
MOSDRepScrub,ReplicatedPG: Add scrub_to to MOSDRepScrub
...
When scrub_from is set, also set scrub_to to the primary's
last_update_applied (which will also be the official last_update before
finalizing scrub began). The replica instead of waiting for
last_update_applied to catch up to last_update will wait for
last_update_applied to catch up to active_rep_scrub->scrub_to. This
avoids a race where the replica scrub is requeued before all of the
currently queued sub-ops have been processed.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-12-19 14:57:11 -08:00
Sage Weil
2710bd8520
mon: update man page to document --mkfs stuff
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 14:02:10 -08:00
Sage Weil
ed780fdd5e
mds: misc assertions about truncation
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 14:02:10 -08:00
Sage Weil
720bab94c8
osd: EINVAL on truncate to huge object size
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-19 14:02:10 -08:00
Sage Weil
29e6d6c8c2
Merge pull request #6 from kylemarsh/wip-obsync-swift
...
Wip obsync swift
2011-12-19 14:00:59 -08:00
Yehuda Sadeh
33cb27961e
rgw: remove temp context in prepare_get_obj
2011-12-19 13:57:15 -08:00
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
Yehuda Sadeh
002eb5815e
rgw: remove temp context in prepare_get_obj
2011-12-19 13:54:04 -08:00
Yehuda Sadeh
27da89f436
rgw: fix xml parser internal structure leak
2011-12-19 13:38:58 -08:00
Yehuda Sadeh
3a8af0f724
rgw: fix a leak of acl structure (in req_state)
2011-12-19 13:38:40 -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
Yehuda Sadeh
37e7a52147
rgw: fix updating of object metadata
...
being used in swift POST. We were updating wrong object
size and etag
2011-12-16 22:21:19 -08:00
Yehuda Sadeh
44b4e02913
rgw: bucket cannot be recreated if already exists
2011-12-16 22:21:10 -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
Kyle Marsh
f54f4aa0e4
obsync: add authurl to CLI
...
s3 connections require the hostname and swift connections require the
authurl. obsync treats these as equivalent internally, but breaks them
apart on the command line interface for clarity for the users.
2011-12-16 16:07:46 -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
Kyle Marsh
5a400935d0
obsync: add vvprint back in
...
Commit ebe5fc60d2
removed the definition of
vvprint without removint all the places that used it.
2011-12-14 15:37:47 -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