]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Fri, 10 Feb 2012 05:45:00 +0000 (21:45 -0800)]
osd: move object_locator_t to osd_types.{h,cc}
That's a better home. Also add to ceph-dencoder.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Feb 2012 05:35:39 +0000 (21:35 -0800)]
ceph-dencoder: add osd_reqid_t
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Feb 2012 05:30:16 +0000 (21:30 -0800)]
ceph-dencoder: add hobject_t
Move to a separate file in os/, since this is an ObjectStore related
object.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Feb 2012 05:17:55 +0000 (21:17 -0800)]
mon: add/use pg_create_t ctor
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 10 Feb 2012 05:15:53 +0000 (21:15 -0800)]
ceph-dencoder: add pg_create_t (formerly MOSDPGCreate::create_rec)
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 10 Feb 2012 01:20:18 +0000 (17:20 -0800)]
test/encoding/readable.sh: no \t
Not sure why this sometimes works and sometimes doesn't. Maybe it's a
bashism?
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 10 Feb 2012 00:47:15 +0000 (16:47 -0800)]
Merge branch 'wip-corpus'
Sage Weil [Fri, 10 Feb 2012 00:44:39 +0000 (16:44 -0800)]
ceph-dencoder: add Log{Entry,EntryKey,Summary}
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 10 Feb 2012 00:20:31 +0000 (16:20 -0800)]
filestore: wait to start op if other ops are in line
We can have a sequence like:
- commit_start, blocked=true
- op_start thread A gets in line
- op_start thread B gets in line
- commit finished, blocked=false
- thread A goes
- op_start thread C sees blocked=false and continues
-> order broken
If there are people in line from a previous block, we need to get in line,
even if blocked == false.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Feb 2012 19:23:10 +0000 (11:23 -0800)]
filestore: fix op queue quiesce during commit
When I added the ordering constraint fix back in
259c509a I got the
check backwards. We want to wait if we are blocked OR we are not in the
front of the line (i.e., proceed if we are not blocked AND first in line).
Fixes: #2046
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Feb 2012 05:05:39 +0000 (21:05 -0800)]
Merge remote branch 'gh/wip-types'
Sage Weil [Thu, 9 Feb 2012 04:43:53 +0000 (20:43 -0800)]
Merge remote branch 'gh/wip-stuck-in-backfill'
Reviewed-by: Sage Weil <sage.weil@dreamhost.com>
Josh Durgin [Thu, 9 Feb 2012 01:38:52 +0000 (17:38 -0800)]
ReplicatedPG: don't count deletions as ops
Counting them as ops but not requeueing the pg for recovery causes
backfill to stall when only deletions are sent in
recover_backfill(). Deletions are cheap and don't need to be acked, so
we can simply stop counting them as ops.
Fixes: #2044
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 8 Feb 2012 23:38:20 +0000 (15:38 -0800)]
osd: don't remove pg from recovery queue if not enough recovery ops started
The pg has already been dequeued at the beginning of do_recovery(),
and it requeues itself only if it starts a new recovery op.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Yehuda Sadeh [Thu, 9 Feb 2012 01:08:39 +0000 (17:08 -0800)]
rgw: don't treat plus as a space in url decode
Any special character encoding should be done through %hex. The
plus sign is a valid character in object names, and in user id
(when used in signed urls).
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Sage Weil [Thu, 9 Feb 2012 00:19:30 +0000 (16:19 -0800)]
osd: discard waiting ops when pg mapping changes
If the pg mapping changes away from us, we can safely discard messages we
have waiting for the PG to be created.
Fixes: #2013
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Reviewed-by: Josh Durgin <josh.durgin@dreamhost.com>
Sage Weil [Wed, 8 Feb 2012 19:20:47 +0000 (11:20 -0800)]
osd: flush on activate
PG::activate() can make lots of changes, most notably clean_up_local()
which deletes lots of local objects. Those changes need to be flushed
to the fs before we start servicing requests or else we risk processing a
client read on those objects.
Fixes: #1974
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 3 Feb 2012 18:02:06 +0000 (10:02 -0800)]
Makefile: check readability of object corpus on 'make check'
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 3 Feb 2012 17:59:53 +0000 (09:59 -0800)]
add ceph-object-corpus.git submodule
Sage Weil [Wed, 8 Feb 2012 04:16:43 +0000 (20:16 -0800)]
mon: fix [near]full_ratio conf update
Already a value in [0,1]. Interpret as a percentage if > 1.0.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 7 Feb 2012 23:43:44 +0000 (15:43 -0800)]
mon: better MonCaps test cases
Move MonCaps to libcommon.la.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 7 Feb 2012 19:44:40 +0000 (11:44 -0800)]
ceph-dencoder: MonCap[s]
Need some better test instances for MonCaps...
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 7 Feb 2012 17:16:54 +0000 (09:16 -0800)]
mon: fix PGMap::generate_test_instances()
Apply an incremental instead of futzing directly with members.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 7 Feb 2012 17:16:30 +0000 (09:16 -0800)]
mon: refactor calc_stats()
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 7 Feb 2012 17:30:02 +0000 (09:30 -0800)]
osd: is_zero() method for stat structs
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 7 Feb 2012 17:33:54 +0000 (09:33 -0800)]
osd: fix ScrubMap::object ctor
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 7 Feb 2012 17:04:37 +0000 (09:04 -0800)]
mon: make [near]full_ratio config options floats
ratio implies a real number, not a percentage. Correct, though, if it is
> 1.0.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 7 Feb 2012 17:02:51 +0000 (09:02 -0800)]
mon: initialize [near]full_ratio during create_initial(), not ctor
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 6 Feb 2012 23:50:50 +0000 (15:50 -0800)]
ceph-dencoder: MonMap
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 6 Feb 2012 23:13:26 +0000 (15:13 -0800)]
mon: uninline Monmap encode/decode
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 6 Feb 2012 23:10:21 +0000 (15:10 -0800)]
ceph-dencoder: PGMap[::Incremental]
Signed-off-by: Sage Weil <sage@newdream.net>
michael rodriguez [Wed, 8 Feb 2012 04:07:21 +0000 (20:07 -0800)]
update amazonaws xmlns to correct url
Signed-off-by: michael rodriguez <michael@newdream.net>
Sage Weil [Wed, 8 Feb 2012 06:07:46 +0000 (22:07 -0800)]
mds: remove IntervalTree code
Not used, not tested.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 8 Feb 2012 05:56:51 +0000 (21:56 -0800)]
trivial_libceph: need O_RDWR
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 8 Feb 2012 05:36:53 +0000 (21:36 -0800)]
client: -EINVAL write if not opened writable
Fixes: #1827
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 8 Feb 2012 05:31:29 +0000 (21:31 -0800)]
client: clean up ctor a bit
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 8 Feb 2012 05:28:46 +0000 (21:28 -0800)]
client: initialize initialized
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 04:39:49 +0000 (20:39 -0800)]
osd: always send scrub errors to cluster log
Some errors were going to the cluster log, some weren't. Normalize the
output format and send them all.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 7 Feb 2012 22:18:52 +0000 (14:18 -0800)]
mon: drop election messages with bad rank
The bad message came from old code pre-
bfbeae68c045de76ede86ca4f72d2a760a19c84b .
Fixes: #1909
Signed-off-by: Sage Weil <sage@newdream.net>
Yehuda Sadeh [Tue, 7 Feb 2012 00:07:13 +0000 (16:07 -0800)]
rgw: cleanup url_decode usage
we now url_decode the relevant strings at initialization,
thus it's clear whether we need to url_decode or not later on.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Yehuda Sadeh [Mon, 6 Feb 2012 22:57:26 +0000 (14:57 -0800)]
rgw: url_decode object name
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Josh Durgin [Mon, 6 Feb 2012 23:18:11 +0000 (15:18 -0800)]
osd: re-take the osd lock in the init error path where it's not held
The Mutex::Locker will unlock it once the function exits.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 21:29:23 +0000 (13:29 -0800)]
ceph-dencoder: ScrubMap[::object]
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 6 Feb 2012 06:24:18 +0000 (22:24 -0800)]
osd: uninline osd_stat_t methods
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 06:22:51 +0000 (22:22 -0800)]
ceph-dencoder: coll_t
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 06:20:51 +0000 (22:20 -0800)]
ceph-dencoder: pg_t
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 06:18:51 +0000 (22:18 -0800)]
ceph-dencoder: SnapSet
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 05:53:53 +0000 (21:53 -0800)]
ceph-dencoder: SnapContext, SnapRealmInfo
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 05:51:33 +0000 (21:51 -0800)]
move SnapContext, SnapRealmInfo to common/snap_types.{h,cc}
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 05:28:17 +0000 (21:28 -0800)]
ceph-dencoder: filepath
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 05:28:11 +0000 (21:28 -0800)]
ceph-dencoder: CompatSet
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 05:21:46 +0000 (21:21 -0800)]
kill unused tstring
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 6 Feb 2012 05:19:43 +0000 (21:19 -0800)]
kill useless [cn]string.h
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Yehuda Sadeh [Mon, 6 Feb 2012 21:12:58 +0000 (13:12 -0800)]
rgw: escape and list correctly objects that start with underscore
This should fix bug #2025.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Sage Weil [Mon, 6 Feb 2012 18:36:12 +0000 (10:36 -0800)]
crush: don't BUG_ON
Fail gracefully on map errors; only BUG on code errors.
Signed-off-by: Sage Weil <sage@newdream.net>
Alexandre Oliva [Mon, 6 Feb 2012 18:32:53 +0000 (10:32 -0800)]
crush: don't BUG_ON within crush_choose
It's very hard to recover from an invalid crushmap if mons fail
assertions while processing the map, and osds crash while advancing
past an already-fixed map. Skip such broken rules instead of
aborting.
Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Sage Weil [Sat, 4 Feb 2012 21:25:40 +0000 (13:25 -0800)]
client: init/shutdown objecter in init/shutdown
Not in mount/unmount, and don't do shutdown() twice!
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Josh Durgin [Fri, 3 Feb 2012 02:52:16 +0000 (18:52 -0800)]
mon: show full status in ceph health
HEALTH_WARN when nearfull, HEALTH_ERROR when full.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 3 Feb 2012 17:27:55 +0000 (09:27 -0800)]
osd: signal dispatch_cond on ms_dispatch completion
There may be another dispatch thread waiting on this cond; we do need to
signal it!
Signed-off-by: Sage Weil <sage@newdream.net>
Yehuda Sadeh [Fri, 3 Feb 2012 17:32:14 +0000 (09:32 -0800)]
rgw: use request uri if script name is empty
this was required for some nginx configuration
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Sage Weil [Fri, 3 Feb 2012 17:27:47 +0000 (09:27 -0800)]
osd: reorder PG recovery_state initialization
The state machine state constructors print stuff to the logs, and the
PG::gen_prefix() includes all kinds of PG fields in that. Move the
recovery_state member to the end of the class so that all previous fields
are initialized when that happens. This makes valgrind shut up.
Some more deliberate tidying of the PG members and methods would also
be nice...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 3 Feb 2012 05:06:10 +0000 (21:06 -0800)]
test/encoding/readable.sh: nicer output
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 3 Feb 2012 05:05:37 +0000 (21:05 -0800)]
ceph-dencoder: more helpful error message for messages
If the type doesn't match, share what it was vs what you expected.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 3 Feb 2012 05:03:08 +0000 (21:03 -0800)]
messages: set type in default constructor
ceph-dencoder wants this to verify it decoded the correct message type.
Not that it is likely to happen, but let's be pendantic about it anyway.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Alexandre Oliva [Thu, 2 Feb 2012 19:41:46 +0000 (17:41 -0200)]
pick object from random osd for primary recovery
When recovering a primary, try the osds that have a copy of the object
in random order, rather than preferring the lowest-numbered.
Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Suggested-by: Samuel Just <samuel.just@dreamhost.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 22:30:53 +0000 (14:30 -0800)]
msg: fix message leak on receipt of undecodable message
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 3 Feb 2012 01:01:08 +0000 (17:01 -0800)]
Makefile: add test/encoding/types.h
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 3 Feb 2012 01:00:38 +0000 (17:00 -0800)]
Merge branch 'wip-encoding'
Reviewed-by: Josh Durgin <josh.durgin@dreamhost.com>
Conflicts:
src/msg/Message.h
src/osd/OSD.cc
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h
Sage Weil [Thu, 2 Feb 2012 22:23:16 +0000 (14:23 -0800)]
encoding: document ENCODE/DECODE macros
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 22:04:03 +0000 (14:04 -0800)]
test/encoding/readable.sh: nicer output
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 21:56:55 +0000 (13:56 -0800)]
test/encoding/readable.sh: check all version
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 23:20:14 +0000 (15:20 -0800)]
osd: fix another repop->ctx->op deref
Ok this time I actually looked for more and didn't see any.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 23:16:02 +0000 (15:16 -0800)]
Merge remote branch 'gh/wip-objecter-initialized'
Reviewed-by: Josh Durgin <josh.durgin@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 23:07:54 +0000 (15:07 -0800)]
osd: avoid null deref of repop->ctx->op
It's optional.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 21:48:26 +0000 (13:48 -0800)]
encoding: document ENCODE_DUMP throttling weirdness
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 21:37:34 +0000 (13:37 -0800)]
encoding: fix DECODE_START macro
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 21:36:45 +0000 (13:36 -0800)]
encoding: add DECODE_OLDEST macro
So we can (gracefully) fail to decode very old encoded versions we no
longer support.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 21:31:58 +0000 (13:31 -0800)]
osd: fix another issue_repop() ctx->op null deref
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 20:50:04 +0000 (12:50 -0800)]
check-generated.sh: do self-decode test first
This way we get a helpful error instead of silent failure on later.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 20:47:58 +0000 (12:47 -0800)]
check-generated.sh: nicer output
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 20:39:35 +0000 (12:39 -0800)]
ceph-dencoder: print errors to stderr
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 20:36:27 +0000 (12:36 -0800)]
osd: do not dereference ctx->op when NULL
We may not have an OpRequest. Make the later check do the cast properly
when it is needed.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 01:11:29 +0000 (17:11 -0800)]
encoding: better DECODE_START_LEGACY_COMPAT_LEN
- let you specify whether to decode compat and/or len
- put the argument order in the macro name so you know when you get it
wrong
This is useful for FileJournal::header_t.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 26 Jan 2012 00:00:08 +0000 (16:00 -0800)]
buffer: iterator::get_remaining()
It's helpful to know how much data is remaining.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 18:55:41 +0000 (10:55 -0800)]
Merge remote-tracking branch 'gh/wip-osd-op-tracking'
Reviewed-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 18:41:00 +0000 (10:41 -0800)]
Merge branch 'master' into wip-encoding
Conflicts:
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h
Jim Schutt [Wed, 1 Feb 2012 15:54:25 +0000 (08:54 -0700)]
common/Throttle: throttle in FIFO order
Under heavy write load from many clients, many reader threads will
be waiting in the policy throttler, all on a single condition variable.
When a wakeup is signalled, any of those threads may receive the
signal. This increases the variance in the message processing
latency, and in extreme cases can significantly delay a message.
This patch causes threads to exit a throttler in the same order
they entered.
Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 18:31:17 +0000 (10:31 -0800)]
osd: fix osd_recover_clone_overlap
- we need to populate data_subset
- add check in calc_head_subsets() too
Fixes
2116f012 .
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 18:29:39 +0000 (10:29 -0800)]
osd: use obc for size in calc_head_subsets()
No need to call stat(2) here; the caller has what we need.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 18:03:28 +0000 (10:03 -0800)]
filestore: remove obsolete fs type check
This isn't a useful check. xfs and ext4 work too.
Fixes: #1995
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 05:12:31 +0000 (21:12 -0800)]
client: add initialized flag to client
Do not call init() while initialized; do not call shutdown unless
initialized.
Drop incoming messages if not initialized (we are probably racing with
shutdown).
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 05:11:47 +0000 (21:11 -0800)]
client: let set_filer_flags clear flags, toos
ceph-syn does this...
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 05:08:31 +0000 (21:08 -0800)]
librados: discard incoming messages when DISCONNECTED
If we are disconnected (probably shutting down, if we are receiving a
message) then ignore anything incoming. This avoids passing it to
partially torn down subsystems like the objecter.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 05:07:40 +0000 (21:07 -0800)]
objecter: track whether initialized; add asserts
init() should be called when not initialized; shutdown() should not be
called unless initialized. No handle_* method should be called unless
initialized.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Feb 2012 17:01:15 +0000 (09:01 -0800)]
test_filejournal: fix warnings
Signed-off-by: Sage Weil <sage@newdream.net>
Greg Farnum [Thu, 2 Feb 2012 01:10:41 +0000 (17:10 -0800)]
osd: mark_started() osd sub ops
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 2 Feb 2012 00:28:35 +0000 (16:28 -0800)]
osd: d'oh again! Make this real exponential, not...ever-linear.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 2 Feb 2012 00:28:18 +0000 (16:28 -0800)]
osd: OpRequest currently_* needs to look at latest, not hit.
D'oh!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 00:34:00 +0000 (16:34 -0800)]
do_autogen.sh: -e <path> to dump encoded objects to a path
Make it easy to build with encode dumping enabled. This is just a
convenient way to generate a large corpus of encoded objects.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Feb 2012 00:13:19 +0000 (16:13 -0800)]
check-generated.sh: run on 'make check'
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>