Sage Weil
838a7618a7
ceph-rbdnamer: include in dist tarball and debs/rpms
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 11:42:55 -07:00
Sage Weil
292898a8f7
init-ceph: start at all runlevels
...
This fixes lintian error:
W: ceph: init.d-script-missing-start etc/init.d/ceph 4
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 10:40:04 -07:00
Sage Weil
b194629056
Merge branch 'stable'
2012-04-11 10:03:07 -07:00
Sage Weil
cd4a760e9b
osd: fix heartbeat set_port()
...
set_port() fails an assert if it isn't an in4 or in6 address, which a
default entity_addr_t is not.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-10 22:43:14 -07:00
Sage Weil
1775301bb4
osd: reenable clone on recovery
...
This hasn't turned up problems in QA.
Fixes : #2002
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-10 21:43:07 -07:00
Greg Farnum
6fbac10dc6
osd: allow users to specify the osd heartbeat server address.
...
Reported-by: Nick Bartos <nick@pistoncloud.com>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Reviewed-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-10 16:11:52 -07:00
Samuel Just
4f030e1b22
osd_types: fix off by one error in is_temp
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Reviewed-by: Gregory Farnum <gregory.farnum@dreamhost.com>
2012-04-10 14:56:04 -07:00
Yehuda Sadeh
31f16a4c57
rgw: list multipart response fix
...
LastModified was formatted outside of the Part block.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-04-10 14:48:33 -07:00
Yehuda Sadeh
89fecda6dd
Makefile.am: remove some clutter
...
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-04-10 14:06:31 -07:00
Sage Weil
0aea1cb1df
v0.45
2012-04-10 10:42:11 -07:00
Sage Weil
965f83d4bd
Merge branch 'next'
2012-04-09 21:22:55 -07:00
Sage Weil
d348e1abf8
configure: --with-system-leveldb
...
Default to bundled leveldb. Optionally check.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-09 21:20:18 -07:00
Sage Weil
34cc308ef9
filestore: fix leveldb includes
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-09 21:20:14 -07:00
Sage Weil
0b2e1cd204
cephfs: fix uninit var warning
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-09 20:23:24 -07:00
Sage Weil
f79b95e564
Makefile: add missing .h to tarball
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-09 16:17:58 -07:00
Yehuda Sadeh
8d5c87a86e
rgw: fix object name with slashes when vhost style bucket used
...
Fixes issue #2259 . The problem was that we were initializing the
object name, then in the case of a virtual host bucket we were
setting it as the first string before the slash instead of setting
it to the entire string.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-04-09 15:56:55 -07:00
Samuel Just
853b045860
OSD: use per-pg temp collections, bug #2255
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2012-04-09 14:02:29 -07:00
Sage Weil
bd518e998c
encoding: fix iterator use for struct_len copy_in
...
The end() iterator position does not record an offset when the list is
modified.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-09 12:08:19 -07:00
Sage Weil
36d42deab8
buffer: allow advance() to move an iterator backward
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-09 12:08:19 -07:00
Sage Weil
7951d7e442
Merge remote branch 'gh/stable' into next
2012-04-08 20:59:33 -07:00
Sage Weil
dd8fd1688a
configure: HAVE_FALLOCATE -> CEPH_HAVE_FALLOCATE
...
/usr/include/linux/fs.h defines this on CentOS 5, even though it does not
in fact compile. This stupid workaround avoids the problem.
Reported-by: Nick Couchman <Nick.Couchman@seakr.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-08 20:58:59 -07:00
Sage Weil
2ceda94677
Merge branch 'stable'
2012-04-06 12:26:12 -07:00
Yehuda Sadeh
7680cdada3
dencoder, rgw: make ceph-dencoder load much faster
...
by avoiding linking with unneeded shared objects.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-04-06 11:44:11 -07:00
Sage Weil
9832696864
encoding: use iterator to copy_in encoded length
...
This gives us a pointer to the position into the list where the final
length value will be copied. Previously we used bl.copy_in(), which takes
a byte offset and needs iterator over the bufferlist to seek to the
correct position, resulting in O(n^2) encoding time for large structures.
Fixes : #2161
Reported-by: Jim Schutt <jaschut@sandia.gov>
Diagnosed-by: Ake van der Meer <petrabbit@xs4all.nl>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-06 10:00:16 -07:00
Sage Weil
689ac5d701
v0.44.2
2012-04-05 14:55:04 -07:00
Samuel Just
e0c4db9e79
FileStore: do not check dbobjectmap without option set
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2012-04-05 14:53:52 -07:00
Sage Weil
57dff03276
config: expand metavariables for --show-config, --show-config-value
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-05 14:25:03 -07:00
Sage Weil
90e88a0832
Merge branch 'wip-cluster'
...
Reviewed-by: Yehuda Sadeh <yehuda.sadeh@dreamhost.com>
2012-04-05 14:08:04 -07:00
Sage Weil
cfee0333e7
config: parse fsid uuid in config, not ceph_mon
...
Use the new OPT_UUID type.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-05 13:35:11 -07:00
Sage Weil
2c14c8b206
config: add distinct UUID type
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-05 13:35:07 -07:00
Sage Weil
2c0dc47e22
global: add -C or --cluster early args to specify cluster name
...
This will let you specify which cluster to talk to on the command line
(e.g., 'ceph -C foo ...' or when starting a daemon).
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-05 13:32:38 -07:00
Sage Weil
930a669a73
config: add cluster name as metavariable; use for config locations
...
Add a cluster name (default "ceph") to the config structure, and expand
$cluster in all config values.
Make the default config be /etc/ceph/$cluster.conf, etc.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-05 13:32:32 -07:00
Sage Weil
bda562fb51
config: implement --show-config and --show-config-value <option>
...
Dump internal config value(s) to stdout and then exit.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-05 13:25:52 -07:00
Sage Weil
f18b219aba
test_workload_gen: fix logging
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-05 13:04:09 -07:00
Sage Weil
32b5d0f89b
config: remove obsolete bdev_* options
...
These were part of ebofs.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-05 13:01:11 -07:00
Sage Weil
1b76953520
Merge remote-tracking branch 'gh/wip-log'
2012-04-05 12:59:24 -07:00
Yehuda Sadeh
0e5d087c46
README: update instructions
...
Needed to add submodule instructions.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-04-05 11:43:11 -07:00
Yehuda Sadeh
0df6fbd3a6
rados: fix rados import
...
This fixes issue #2253 . Wrong param order to fread().
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-04-04 16:12:09 -07:00
Sage Weil
0921c06211
config: drop loud ERROR prefix
...
This makes gitbuilder sad.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-03 21:21:12 -07:00
Sage Weil
b9185bb2e6
osdmap: allow row, room, datacenter, pool in conf for initial crush map
...
These work just like host and rack, except that they are optional.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-03 17:03:54 -07:00
Sage Weil
4313a2d8da
crush: don't warn on skipped types
...
It's perfectly okay to skip some.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-03 17:02:46 -07:00
Sage Weil
56a6aa7a4b
osdmap: set 'default' pool type correctly
...
Got this wrong in e85961167e
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-03 17:01:51 -07:00
Sage Weil
dd7b84a54a
ceph-fuse: fix log reopen when -f is specified
...
Don't restart if it wasn't stopped.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-03 16:33:05 -07:00
Sage Weil
e85961167e
osd: define more crush types
...
We don't use these by default, but this way they are there should someone
want to use them.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-03 15:40:14 -07:00
Sage Weil
2dbdadbe48
test_rewrite_latency: check return value
...
Fixes warning
warning: test/test_rewrite_latency.cc:27:36: ignoring return value of ‘ssize_t pwrite(int, const void*, size_t, __off64_t)’, declared with attribute warn_unused_result [-Wunused-result]
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-03 15:35:26 -07:00
Sage Weil
493344fd5d
Makefile: add mssing header
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-03 15:28:26 -07:00
Sage Weil
d57d8af736
rgw: throttle at num_threads * 2
...
If we throttle at num_threads, then nothing gets into the workqueue until
a worker thread is idle, which means you pay the latency of setting it up
and queueing it. This way we keep some requests ready to go.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-03 14:21:53 -07:00
Sage Weil
1ef37ab8cb
Merge remote-tracking branch 'gh/msgr-api-changes'
...
Reviewed-by: Sage Weil <sage@newdream.net>
2012-04-03 13:44:29 -07:00
Sage Weil
a31efd9c99
filestore: print Sequencer name in debug output
...
And clean it up just a bit.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-03 13:41:37 -07:00
Greg Farnum
756621d501
msgr: clean up Pipe::do_sendmsg.
...
Document it as with the tcp stuff, remove an if(0)'d debugging block,
and remove the useless "sd" parameter since it's always the same as
the Pipe's sd member.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2012-04-03 13:22:38 -07:00