Commit Graph

18884 Commits

Author SHA1 Message Date
Sage Weil
ab08fb8b32 mkcephfs: note that btrfs (and --mkbtrfs) are optional and experimental
And that --mkbtrfs will be deprecated soon.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-11 15:53:58 -07:00
Sage Weil
ee39291a4e ceph-authtool: add warning to man page
- data is not encrypted over the wire
- intended for trusted environments

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-11 15:53:55 -07:00
Sage Weil
11b93d3af2 osd: disable localized pgs by default
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 15:40:42 -07:00
Sage Weil
8836b81f9f mon: alloc pgp_num adjustment up and down
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 15:40:34 -07:00
Sage Weil
7fdf25bc58 debian: python-support -> dh_python2
I followed the instructions on

	http://wiki.debian.org/Python/TransitionToDHPython2

Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 13:35:26 -07:00
Sage Weil
ed0653b493 COPYING: doc/ CC BY-SA
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 12:35:12 -07:00
Sage Weil
6e83e1193e README: update
- refer to COPYING, SubmittingPatches
- a word about dependencies
- building packages
- drop the list of built binaries... it's incomplete and not very
  interesting.

Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 12:33:57 -07:00
Sage Weil
84efc55490 debian: drop unnecessary conflicts on librgw
Cut and paste baggage from libcephfs, it looks like.

Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 11:42:55 -07:00
Sage Weil
9678c0971b init-radosgw: start in runlevel 4
Fixes lintian error

W: radosgw: init.d-script-missing-start etc/init.d/radosgw 4

Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 11:42:55 -07:00
Sage Weil
af50273545 obsync: include man page in tarball, packages
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 11:42:55 -07:00
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