]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 years agorgw: integrate index categories
Yehuda Sadeh [Sat, 24 Sep 2011 00:11:49 +0000 (17:11 -0700)]
rgw: integrate index categories

14 years agorgw: update index when doing put_obj_meta
Yehuda Sadeh [Fri, 23 Sep 2011 22:46:00 +0000 (15:46 -0700)]
rgw: update index when doing put_obj_meta

this fixes multipart upload listing

14 years agocls_rgw: list entries return upper_bound of marker
Yehuda Sadeh [Fri, 23 Sep 2011 21:38:06 +0000 (14:38 -0700)]
cls_rgw: list entries return upper_bound of marker

14 years agorgw: fix a few regressions
Yehuda Sadeh [Fri, 23 Sep 2011 21:42:05 +0000 (14:42 -0700)]
rgw: fix a few regressions

14 years agoMerge branch 'wip-pool-sharing' of ssh://github.com/NewDreamNetwork/ceph into wip...
Yehuda Sadeh [Fri, 23 Sep 2011 06:14:49 +0000 (23:14 -0700)]
Merge branch 'wip-pool-sharing' of ssh://github.com/NewDreamNetwork/ceph into wip-pool-sharing

14 years agorgw: fix clone in case state is NULL
Yehuda Sadeh [Fri, 23 Sep 2011 06:14:08 +0000 (23:14 -0700)]
rgw: fix clone in case state is NULL

14 years agorgw: send correct object id to class op
Yehuda Sadeh [Fri, 23 Sep 2011 05:33:28 +0000 (22:33 -0700)]
rgw: send correct object id to class op

14 years agorgw: encode correct timestamp
Yehuda Sadeh [Fri, 23 Sep 2011 05:30:54 +0000 (22:30 -0700)]
rgw: encode correct timestamp

14 years agorgw: fix rgw_admin arg parsing
Yehuda Sadeh [Fri, 23 Sep 2011 04:29:53 +0000 (21:29 -0700)]
rgw: fix rgw_admin arg parsing

14 years agorgw: generate tag if doesn't exist
Yehuda Sadeh [Fri, 23 Sep 2011 04:22:03 +0000 (21:22 -0700)]
rgw: generate tag if doesn't exist

14 years agorgw: two phase commit for index updating
Yehuda Sadeh [Fri, 23 Sep 2011 00:16:38 +0000 (17:16 -0700)]
rgw: two phase commit for index updating

Just compiles, not tested, probably wouldn't work.

14 years agorgw: fix rgw_bucket_dir_entry encoding
Yehuda Sadeh [Thu, 22 Sep 2011 16:50:33 +0000 (09:50 -0700)]
rgw: fix rgw_bucket_dir_entry encoding

14 years agorgw: list objects (almost completely) works
Yehuda Sadeh [Thu, 22 Sep 2011 06:12:49 +0000 (23:12 -0700)]
rgw: list objects (almost completely) works

14 years agorgw: obj listing doesn't stat object
Yehuda Sadeh [Thu, 22 Sep 2011 00:27:47 +0000 (17:27 -0700)]
rgw: obj listing doesn't stat object

14 years agorgw: store more info for each indexed object
Yehuda Sadeh [Thu, 22 Sep 2011 00:14:48 +0000 (17:14 -0700)]
rgw: store more info for each indexed object

14 years agocls_rgw: store more info for each entry, stats categories
Yehuda Sadeh [Wed, 21 Sep 2011 23:19:02 +0000 (16:19 -0700)]
cls_rgw: store more info for each entry, stats categories

14 years agorgw: account object removal
Yehuda Sadeh [Wed, 21 Sep 2011 22:20:29 +0000 (15:20 -0700)]
rgw: account object removal

14 years agorgw: account clone_range dest object
Yehuda Sadeh [Wed, 21 Sep 2011 22:12:26 +0000 (15:12 -0700)]
rgw: account clone_range dest object

14 years agorgw: class init_index
Yehuda Sadeh [Wed, 21 Sep 2011 21:17:58 +0000 (14:17 -0700)]
rgw: class init_index

14 years agoobjclass: add stat operation
Yehuda Sadeh [Wed, 21 Sep 2011 20:37:04 +0000 (13:37 -0700)]
objclass: add stat operation

14 years agocls_rgw: list marker uses lower_bound
Yehuda Sadeh [Wed, 21 Sep 2011 19:15:02 +0000 (12:15 -0700)]
cls_rgw: list marker uses lower_bound

14 years agorgw: implement rgw_rados helpers for class calls
Yehuda Sadeh [Wed, 21 Sep 2011 04:34:42 +0000 (21:34 -0700)]
rgw: implement rgw_rados helpers for class calls

14 years agorgw: fix epoch check (greg)
Yehuda Sadeh [Tue, 20 Sep 2011 22:34:39 +0000 (15:34 -0700)]
rgw: fix epoch check (greg)

14 years agorgw: reuse pools
Yehuda Sadeh [Tue, 20 Sep 2011 22:26:30 +0000 (15:26 -0700)]
rgw: reuse pools

14 years agorgw: fix bucket removal (old scheme)
Yehuda Sadeh [Tue, 20 Sep 2011 21:39:00 +0000 (14:39 -0700)]
rgw: fix bucket removal (old scheme)

14 years agorgw: fix object removal
Yehuda Sadeh [Tue, 20 Sep 2011 21:33:32 +0000 (14:33 -0700)]
rgw: fix object removal

14 years agorgw: fix bucket listing (still using old scheme)
Yehuda Sadeh [Tue, 20 Sep 2011 21:21:13 +0000 (14:21 -0700)]
rgw: fix bucket listing (still using old scheme)

14 years agorgw: rgw_admin -- add bucket marker to bucket stats
Yehuda Sadeh [Tue, 20 Sep 2011 21:20:39 +0000 (14:20 -0700)]
rgw: rgw_admin -- add bucket marker to bucket stats

14 years agopool sharing, initial work
Yehuda Sadeh [Mon, 19 Sep 2011 23:41:44 +0000 (16:41 -0700)]
pool sharing, initial work

14 years agorgw: define rgw class api
Yehuda Sadeh [Tue, 20 Sep 2011 20:12:24 +0000 (13:12 -0700)]
rgw: define rgw class api

14 years agorgw: Makefile changes, move around definitions
Yehuda Sadeh [Tue, 20 Sep 2011 19:52:22 +0000 (12:52 -0700)]
rgw: Makefile changes, move around definitions

14 years agorgw: make cls_rgw compile
Yehuda Sadeh [Tue, 20 Sep 2011 18:56:46 +0000 (11:56 -0700)]
rgw: make cls_rgw compile

14 years agorgw: class for bucket directory
Yehuda Sadeh [Tue, 20 Sep 2011 05:44:35 +0000 (22:44 -0700)]
rgw: class for bucket directory

doesn't compile yet

14 years agoconf: allow ; as a list separator
Sage Weil [Wed, 14 Sep 2011 19:59:22 +0000 (12:59 -0700)]
conf: allow ; as a list separator

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoMerge branch 'wip-1477'
Colin Patrick McCabe [Wed, 14 Sep 2011 23:05:42 +0000 (16:05 -0700)]
Merge branch 'wip-1477'

14 years agoMake g_conf constant for all conf variable types
Colin Patrick McCabe [Wed, 14 Sep 2011 22:25:28 +0000 (15:25 -0700)]
Make g_conf constant for all conf variable types

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoconst-ify integer config values
Colin Patrick McCabe [Wed, 14 Sep 2011 21:54:35 +0000 (14:54 -0700)]
const-ify integer config values

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoconfig: define config vars once in config_opts.h
Colin Patrick McCabe [Wed, 14 Sep 2011 20:31:56 +0000 (13:31 -0700)]
config: define config vars once in config_opts.h

Rather than defining configuration variables twice, define them once in
config_opts.h. This makes it easier to work with them.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoinit-ceph.in: change init script status output
Samuel Just [Wed, 14 Sep 2011 18:13:00 +0000 (11:13 -0700)]
init-ceph.in: change init script status output

Per Kyle Bader's suggestion: add $name: to the status output.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoFileStore: use config observers
Colin Patrick McCabe [Fri, 9 Sep 2011 18:11:44 +0000 (11:11 -0700)]
FileStore: use config observers

Use config observers to avoid thread-safety and performance problems in
FileStore.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocfuse.cc: use apply_changes API
Colin Patrick McCabe [Fri, 9 Sep 2011 16:32:47 +0000 (09:32 -0700)]
cfuse.cc: use apply_changes API

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agotestmsgr.cc: use set_val / apply_changes
Colin Patrick McCabe [Fri, 9 Sep 2011 16:30:17 +0000 (09:30 -0700)]
testmsgr.cc: use set_val / apply_changes

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoosd/OSD.cc: use set_val / apply_changes API
Colin Patrick McCabe [Fri, 9 Sep 2011 16:28:18 +0000 (09:28 -0700)]
osd/OSD.cc: use set_val / apply_changes API

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agodoc: Typo.
Tommi Virtanen [Wed, 14 Sep 2011 17:41:36 +0000 (10:41 -0700)]
doc: Typo.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agoFix double dash handling
Colin Patrick McCabe [Wed, 14 Sep 2011 16:53:47 +0000 (09:53 -0700)]
Fix double dash handling

Several functions examine argv in order to set options. Only the last
argument parsing pass should remove the '--' from the argument vector.
If it is removed earlier than that, entries may be parsed as options,
when that was not the user's intent.

This changes fixes the common argument parsing loops so that they do not
remove the double dash. It also rearranges some programs so that the
user's argument parsing loop comes last, rather than coming before the
common argument parsing loops.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agomds/MDS.cc: don't crash on bad injectargs
Colin Patrick McCabe [Tue, 13 Sep 2011 23:19:31 +0000 (16:19 -0700)]
mds/MDS.cc: don't crash on bad injectargs

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agodoc: Instructions how to build RPMs.
Tommi Virtanen [Wed, 14 Sep 2011 15:58:03 +0000 (08:58 -0700)]
doc: Instructions how to build RPMs.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agodoc: Say "radosgw" not "rgw".
Tommi Virtanen [Tue, 13 Sep 2011 19:34:11 +0000 (12:34 -0700)]
doc: Say "radosgw" not "rgw".

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agodoc: Shrinking of MDSes is not supported yet.
Tommi Virtanen [Tue, 13 Sep 2011 19:32:31 +0000 (12:32 -0700)]
doc: Shrinking of MDSes is not supported yet.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agoMakefile.am: fix test_librbd
Yehuda Sadeh [Wed, 14 Sep 2011 07:08:40 +0000 (00:08 -0700)]
Makefile.am: fix test_librbd

14 years agoosd/OSD.cc: don't crash on incorrect injectargs
Colin Patrick McCabe [Tue, 13 Sep 2011 20:34:30 +0000 (13:34 -0700)]
osd/OSD.cc: don't crash on incorrect injectargs

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoPG: fix typo in PgPriorSet constructor
Samuel Just [Tue, 13 Sep 2011 21:40:27 +0000 (14:40 -0700)]
PG: fix typo in PgPriorSet constructor

down.insert(o) rather than down.insert(0)

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agotools: fix compile
Colin Patrick McCabe [Tue, 13 Sep 2011 20:40:21 +0000 (13:40 -0700)]
tools: fix compile

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoGet rid of silly unused parameter
Colin Patrick McCabe [Mon, 12 Sep 2011 22:47:24 +0000 (15:47 -0700)]
Get rid of silly unused parameter

Apparently we were passing a string to the function so it could do:
rs = rs;

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agomonclient: reopen session on monmap change
Sage Weil [Tue, 13 Sep 2011 04:23:00 +0000 (21:23 -0700)]
monclient: reopen session on monmap change

If our cur_mon is removed from the monmap, reopen the session.  Do not
call _pick_new_mon() directly or we won't reset state, won't
reauthenticate, etc.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomonclient: use cur_con throughout
Sage Weil [Tue, 13 Sep 2011 04:07:54 +0000 (21:07 -0700)]
monclient: use cur_con throughout

We choose a monitor and open a connection in exactly two places.  Use
cur_con and cur_con->get_peer_addr() everywhere else.

Simplify and clean up handle_monmap a bit.

Also add an assert to catch #1534.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomsgr: send_keepalive to a Connection
Sage Weil [Tue, 13 Sep 2011 03:54:06 +0000 (20:54 -0700)]
msgr: send_keepalive to a Connection

This avoids the lookup, if we already have a reference.  Mirrors the
send_message() Connection variant.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agotest_librbd: remove unsigned/signed comparison
Greg Farnum [Mon, 12 Sep 2011 23:02:43 +0000 (16:02 -0700)]
test_librbd: remove unsigned/signed comparison

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agolibrbd: Update .gitignore after moving to gtest.
Tommi Virtanen [Mon, 12 Sep 2011 22:14:03 +0000 (15:14 -0700)]
librbd: Update .gitignore after moving to gtest.

Commits e2ec946858b26788595b39e9da9dcc6ce9c78f73
and 5cb7b3729bfe139cbf15e9e8508a6661483964fe
changed the names of binaries created, ignore the
new name or "make distcheck" will whine.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agoget_*_compat_set: get ctor param ordering right
Colin Patrick McCabe [Mon, 12 Sep 2011 21:25:17 +0000 (14:25 -0700)]
get_*_compat_set: get ctor param ordering right

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoPG: assemble backlog directly rather than queueing on corrupt log
Samuel Just [Mon, 12 Sep 2011 18:35:55 +0000 (11:35 -0700)]
PG: assemble backlog directly rather than queueing on corrupt log

The queue responsible for calling generate_backlog hasn't actually been
started at that stage of startup.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoqa: add test_librbd workunit
Sage Weil [Mon, 12 Sep 2011 17:58:44 +0000 (10:58 -0700)]
qa: add test_librbd workunit

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoRemove global ctors/dtors for CompatSet
Colin Patrick McCabe [Mon, 12 Sep 2011 18:32:03 +0000 (11:32 -0700)]
Remove global ctors/dtors for CompatSet

Instead of having global CompatSet objects, just have functions that can
return appropriate CompatSet objects. This avoids global constructor
and destructor ordering issues.

Fixes bug #1512

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agolibrados: add conf_parse_env()
Sage Weil [Mon, 12 Sep 2011 17:56:37 +0000 (10:56 -0700)]
librados: add conf_parse_env()

With optional env var name, defaults to CEPH_ARGS.

Parse it for librados and librbd api gtests.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agolibrbd: move c++ tests to gtest
Sage Weil [Mon, 12 Sep 2011 17:55:08 +0000 (10:55 -0700)]
librbd: move c++ tests to gtest

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agolibrbd: convert C tests to gtest
Sage Weil [Mon, 12 Sep 2011 04:35:21 +0000 (21:35 -0700)]
librbd: convert C tests to gtest

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agolibrbd: rev LIBRBD_VER_EXTRA for rbd_flush() addition
Sage Weil [Mon, 12 Sep 2011 03:14:01 +0000 (20:14 -0700)]
librbd: rev LIBRBD_VER_EXTRA for rbd_flush() addition

This allows qemu driver to conditionally call it if it exists.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agolibrbd: implement rbd buffered write window
Sage Weil [Mon, 12 Sep 2011 02:19:32 +0000 (19:19 -0700)]
librbd: implement rbd buffered write window

Normal disks have a write cache and acknowledge writes before they reach
the platter.  Among other things, this masks write latency.  A flush
operation is needed when the user really cares that the writes are stable.

Implement a librbd write window that allows a window including the most
recent N bytes of writes to be immediately acked.  An flush operation
blocks while they are pushed out to disk.

This differs from the typical disk in that writes are always immediately
sent to the backend store, while disks will buffer small writes for a time
(and, in fact, can be made to hold small writes in the cache indefinitely
under certain workloads).

Thus, 'rbd_writeback_window' may be a bit of a misnomer...

Currently this applies only to aio writes, not sync writes.  That could
most easily be fixed by reimplementing write in terms of aio_write.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoclient: fix odd crash on rename
Sage Weil [Mon, 12 Sep 2011 01:58:42 +0000 (18:58 -0700)]
client: fix odd crash on rename

If the old_dentry is in the same dir, and it is the last dentry, we need
to keep the dir open.

This is hard to hit because the rename itself will typically instantiate
a null dentry on the target, and it's hard to construct a working where
a racing process makes us drop it.  Fortunately this was triggered
reliably by the snaptest-git-ceph.sh workunit.

Fixes: #1519
Signed-off-by: Sage Weil <sage@newdream.net>
14 years agorbd: show progress
Sage Weil [Sun, 11 Sep 2011 21:54:33 +0000 (14:54 -0700)]
rbd: show progress

Show progress for any rbd _with_progress operations, and for import/export.

Resolves: #1495, #1496
Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomon: stray PGInfo is not an error
Sage Weil [Sat, 10 Sep 2011 23:12:04 +0000 (16:12 -0700)]
mon: stray PGInfo is not an error

It is normal to get these immediately after we delete a pool.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoosd: fix leak of osd_lock on pg lookup vs pool deletion race
Sage Weil [Sat, 10 Sep 2011 22:51:27 +0000 (15:51 -0700)]
osd: fix leak of osd_lock on pg lookup vs pool deletion race

Fixes: #1520
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agostore_test: fix warning
Sage Weil [Sat, 10 Sep 2011 20:56:23 +0000 (13:56 -0700)]
store_test: fix warning

test/store_test.cc:318: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoPG: generate backlog when confronted with corrupt log
Samuel Just [Sat, 10 Sep 2011 04:39:27 +0000 (21:39 -0700)]
PG: generate backlog when confronted with corrupt log

Currently we throw out the log and start up anyway.  With this change, we
would throw out the log, generate a fresh backlog, and then start up.
That may not be the best possible thing, but it's better than what we
currently do.  Indirectly fixes #1502.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoman: Generate manpages from doc/man.
Tommi Virtanen [Fri, 9 Sep 2011 23:25:14 +0000 (16:25 -0700)]
man: Generate manpages from doc/man.

Keeping the generated files in version control lets us
support builds from scratch without requiring the full
documentation toolchain to be installed.

The files were just copied over from build-doc/output/man,
after a ./admin/build-doc call. When redoing this, also
take care to remove any roff output if a file was removed
from doc/man, and update Makefile.am.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agodoc: Convert manpages to doc/man/.
Tommi Virtanen [Fri, 9 Sep 2011 23:21:52 +0000 (16:21 -0700)]
doc: Convert manpages to doc/man/.

Includes various content cleanups: layout of synopsis, layout
of comments in examples, typos.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agodoc: Hide TODO note in rbd.8
Tommi Virtanen [Fri, 9 Sep 2011 20:41:32 +0000 (13:41 -0700)]
doc: Hide TODO note in rbd.8

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agodoc: Make rbd.8 "pool-name", like the old man page.
Tommi Virtanen [Fri, 9 Sep 2011 20:40:42 +0000 (13:40 -0700)]
doc: Make rbd.8 "pool-name", like the old man page.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agodoc: Remove duplicate paragraph from rbd.8
Tommi Virtanen [Fri, 9 Sep 2011 20:40:18 +0000 (13:40 -0700)]
doc: Remove duplicate paragraph from rbd.8

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agoReplicatedPG: Fix src hobject_t construction in clone_range call
Samuel Just [Fri, 9 Sep 2011 21:35:47 +0000 (14:35 -0700)]
ReplicatedPG: Fix src hobject_t construction in clone_range call

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoworkunit: use sudo when first reading /sys... too
Josh Durgin [Fri, 9 Sep 2011 21:47:42 +0000 (14:47 -0700)]
workunit: use sudo when first reading /sys... too

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
14 years agoworkunit: and delete root-owned file
Greg Farnum [Fri, 9 Sep 2011 20:41:14 +0000 (13:41 -0700)]
workunit: and delete root-owned file

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agoworkunit: you need sudo to look at /sys/kernel/debug
Greg Farnum [Fri, 9 Sep 2011 20:32:21 +0000 (13:32 -0700)]
workunit: you need sudo to look at /sys/kernel/debug

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agoMerge branch 'wip-leaks'
Greg Farnum [Fri, 9 Sep 2011 19:14:25 +0000 (12:14 -0700)]
Merge branch 'wip-leaks'

14 years agorgw: rgw_admin, init gen_secret, gen_key
Yehuda Sadeh [Fri, 9 Sep 2011 19:15:10 +0000 (12:15 -0700)]
rgw: rgw_admin, init gen_secret, gen_key

14 years agodebian: no /var/run!
Sage Weil [Fri, 9 Sep 2011 16:05:43 +0000 (09:05 -0700)]
debian: no /var/run!

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoPG.h: Initialize invalid_hash in Entry()
Samuel Just [Fri, 9 Sep 2011 00:50:39 +0000 (17:50 -0700)]
PG.h: Initialize invalid_hash in Entry()

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agodebian: create var/run/ceph
Sage Weil [Thu, 8 Sep 2011 22:03:29 +0000 (15:03 -0700)]
debian: create var/run/ceph

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agodebian: radosgw: add dirs to package
Sage Weil [Thu, 8 Sep 2011 22:03:21 +0000 (15:03 -0700)]
debian: radosgw: add dirs to package

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoceph: avoid noise when there is no output
Sage Weil [Thu, 8 Sep 2011 19:48:00 +0000 (12:48 -0700)]
ceph: avoid noise when there is no output

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoOSD: reset filestore_update_collections to false after do_convertfs
Samuel Just [Thu, 8 Sep 2011 21:52:54 +0000 (14:52 -0700)]
OSD: reset filestore_update_collections to false after do_convertfs

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoobject.h: initalize hobject_t correctly
Samuel Just [Thu, 8 Sep 2011 21:51:02 +0000 (14:51 -0700)]
object.h: initalize hobject_t correctly

key previously was erroneously initialized to soid.oid.name in one
constructor.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoworkunits: make file_layout.sh more robust
Greg Farnum [Thu, 8 Sep 2011 20:27:19 +0000 (13:27 -0700)]
workunits: make file_layout.sh more robust

We don't have a great way to guarantee mdsmap updates, but they
should happen on their own and we can loop. Closes #1518.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agorpm: Include ceph.spec in release tarball.
Tommi Virtanen [Thu, 8 Sep 2011 19:59:05 +0000 (12:59 -0700)]
rpm: Include ceph.spec in release tarball.

This lets users say "rpmbuild -ta ceph-XXX.tgz".

Closes: #1521
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agorpm: Create the /etc/ceph directory.
Tommi Virtanen [Thu, 8 Sep 2011 19:45:15 +0000 (12:45 -0700)]
rpm: Create the /etc/ceph directory.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agorpm: Add newly-added files to %files.
Tommi Virtanen [Thu, 8 Sep 2011 19:30:37 +0000 (12:30 -0700)]
rpm: Add newly-added files to %files.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agorpm: Build without tcmalloc, by default.
Tommi Virtanen [Thu, 8 Sep 2011 19:30:05 +0000 (12:30 -0700)]
rpm: Build without tcmalloc, by default.

You can still say "rpmbuild -ba --with tcmalloc ceph.spec"
if you have it.

Add BuildRequires on google-perftools when building with tcmalloc.
Ensure it's the right architecture.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agoceph: -o - to stdout, not stderr
Sage Weil [Thu, 8 Sep 2011 17:59:41 +0000 (10:59 -0700)]
ceph: -o - to stdout, not stderr

Don't guess fd numbers.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoMerge branch 'master' into wip-leaks
Greg Farnum [Thu, 8 Sep 2011 17:51:46 +0000 (10:51 -0700)]
Merge branch 'master' into wip-leaks

14 years agoMerge branch 'master' of ceph.newdream.net:/git/ceph
Greg Farnum [Thu, 8 Sep 2011 16:51:35 +0000 (09:51 -0700)]
Merge branch 'master' of ceph.newdream.net:/git/ceph