]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 15 Jun 2011 19:11:13 +0000 (12:11 -0700)]
vstart: put .journal outside of osd data dir
This prevents it from getting cleaned up during mkfs. Then we can make it
a symlink, or at the very least avoid deleting + reallocating it.
Signed-off-by: Sage Weil <sage@newdream.net>
Tommi Virtanen [Wed, 15 Jun 2011 18:27:54 +0000 (11:27 -0700)]
qa: Make snaptest-git-ceph.sh clean up after itself.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Colin Patrick McCabe [Tue, 14 Jun 2011 23:27:02 +0000 (16:27 -0700)]
auth: remove CephCryptoManager
It doesn't do anything.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 14 Jun 2011 21:47:03 +0000 (14:47 -0700)]
monmaptool: implement --help
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 14 Jun 2011 21:43:02 +0000 (14:43 -0700)]
test/bufferlist: don't alloc large array on stack
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Tue, 14 Jun 2011 20:58:05 +0000 (13:58 -0700)]
.gitignore man/Makefile
blech
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 14 Jun 2011 19:53:33 +0000 (12:53 -0700)]
qa: do not use automake for workunit makefiles
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 14 Jun 2011 19:35:35 +0000 (12:35 -0700)]
qa/workunits/direct_io: fit .gitignore
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 14 Jun 2011 19:27:41 +0000 (12:27 -0700)]
radosgw_admin: fix clitest help
Sage Weil [Tue, 14 Jun 2011 05:22:25 +0000 (22:22 -0700)]
crbdnamer: man page
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 14 Jun 2011 05:19:04 +0000 (22:19 -0700)]
crbdnamer: +x
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 14 Jun 2011 05:14:13 +0000 (22:14 -0700)]
qa: radosgw_admin: fix clitest
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 14 Jun 2011 05:11:51 +0000 (22:11 -0700)]
qa: direct_io: fix warnings
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 14 Jun 2011 04:56:47 +0000 (21:56 -0700)]
configure: check for boost statechart header
Partially fixes: #1124
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Yehuda Sadeh [Mon, 13 Jun 2011 23:47:52 +0000 (16:47 -0700)]
radosgw_admin: log show can dump info in xml, json
Yehuda Sadeh [Mon, 13 Jun 2011 23:21:36 +0000 (16:21 -0700)]
radosgw_admin: fix log show (with new poolid param)
Yehuda Sadeh [Mon, 13 Jun 2011 23:18:32 +0000 (16:18 -0700)]
radosgw_admin: pool create command
Sage Weil [Mon, 13 Jun 2011 23:25:13 +0000 (16:25 -0700)]
Merge branch 'wip-workunits'
Sage Weil [Mon, 13 Jun 2011 21:07:48 +0000 (14:07 -0700)]
librados: use empty(), not size()
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 13 Jun 2011 23:23:28 +0000 (16:23 -0700)]
qa: test_sync_io: zero buffers prior to read
Be extra paranoid to ensure we read back the correct data and didn't
just find it in undefined memory.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 13 Jun 2011 23:18:23 +0000 (16:18 -0700)]
qa: test_sync_io improvements
Exit (without removing foo) on error.
Allow read- or write-only operation.
Signed-off-by: Sage Weil <sage@newdream.net>
Yehuda Sadeh [Mon, 13 Jun 2011 22:27:38 +0000 (15:27 -0700)]
rgw: log pool id, and store/retrieve pool id info
Yehuda Sadeh [Mon, 13 Jun 2011 18:29:30 +0000 (11:29 -0700)]
librados: expose pool id
Conflicts:
src/librados.cc
Sage Weil [Mon, 13 Jun 2011 21:17:16 +0000 (14:17 -0700)]
qa: fix test_shorT_dio_read
No args, hardcode filename.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 13 Jun 2011 20:31:35 +0000 (13:31 -0700)]
qa: fix loopall, runallonce scripts
Run anything executable.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 13 Jun 2011 20:29:30 +0000 (13:29 -0700)]
qa: move compiled workunits into organized directory
No need for a separate qa/src/ dir; just put them where we want them. We
need to ignore non-executable files when doing the bulk runs anyway.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 10 Jun 2011 04:53:28 +0000 (21:53 -0700)]
qa: add short directio read test
This tests for the bug fixed by linux commit:
c3cd628 .
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Jun 2011 04:47:44 +0000 (21:47 -0700)]
qa: add henry's direct io tests
Not sure what the second one is testing, actually, but including it anyway.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Jun 2011 04:40:15 +0000 (21:40 -0700)]
qa: include $basedir/src/ (qa/src/) in path
This lets the workunits find stuff build in qa/src/, in case you are
running using these (old) scripts.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Jun 2011 04:38:11 +0000 (21:38 -0700)]
qa: add direct and sync io workunits
Just run the test programs in ../src
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Jun 2011 04:29:00 +0000 (21:29 -0700)]
qa: expand test_sync_io
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Jun 2011 03:42:13 +0000 (20:42 -0700)]
qa: organize workunits a bit
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 10 Jun 2011 04:30:42 +0000 (21:30 -0700)]
qa: move compiled items into qa/src/
Sage Weil [Mon, 13 Jun 2011 20:02:58 +0000 (13:02 -0700)]
osd: fix head_exists fix
Needs to default to false, or else deletions don't work.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 13 Jun 2011 19:05:24 +0000 (12:05 -0700)]
osd: don't update snapset head_exists unless full transaction succeeds
Make the update at the end of make_writeable, along with the other snapset
updates.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 13 Jun 2011 19:04:55 +0000 (12:04 -0700)]
osd: fix make_writeable
Look at the ObjectState to determine if the head exists, not the snapset
(which doesn't reflect the prior object state).
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 13 Jun 2011 17:04:07 +0000 (10:04 -0700)]
monc: protect msg source check with monc_lock
Push the locking up into ms_dispatch, so that we protect the source check
and don't race with session reopens. Also simplifies things a bit.
Fixes: #1151
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 13 Jun 2011 16:43:49 +0000 (09:43 -0700)]
Merge branch 'mds_issue_caps'
Sage Weil [Sat, 11 Jun 2011 00:37:29 +0000 (17:37 -0700)]
Merge remote branch 'origin/stable'
Conflicts:
src/dumpjournal.cc
Sage Weil [Sat, 11 Jun 2011 00:35:05 +0000 (17:35 -0700)]
Merge remote branch 'origin/deb-pybind'
Tommi Virtanen [Sat, 11 Jun 2011 00:10:32 +0000 (17:10 -0700)]
debian: Move python-ceph into section python.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Sat, 11 Jun 2011 00:10:12 +0000 (17:10 -0700)]
debian: Strip and do -dbg magic for librgw too.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Sat, 11 Jun 2011 00:09:51 +0000 (17:09 -0700)]
debian: Fix copy-pasto in librgw1 control paragraph.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 23:58:36 +0000 (16:58 -0700)]
debian: Depend on python-ceph in obsync.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 23:58:15 +0000 (16:58 -0700)]
debian: Depend on librgw1 in python-ceph.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 23:43:55 +0000 (16:43 -0700)]
debian: Package librgw.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 23:14:13 +0000 (16:14 -0700)]
pybind: Open shared libs by their major version.
The *.so files are only in the -dev packages, and normal
operation should not require those. The major version
numbers represent incompatible API/ABI changes anyway.
The debian dependencies were already correctly including
the major version.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 23:12:25 +0000 (16:12 -0700)]
debian: Make git ignore obsync, gceph* package dirs.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 23:11:52 +0000 (16:11 -0700)]
debian: Prevent git ignore from recursing on *.substvars etc.
Should never have triggered but this is faster simpler
and correcter.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 23:11:08 +0000 (16:11 -0700)]
debian: Make git ignore all of the *.debhelper files.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 23:10:28 +0000 (16:10 -0700)]
debian: Dev packages no longer have soname in their names.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 10 Jun 2011 22:51:33 +0000 (15:51 -0700)]
debian: Properly package the python bindings.
Build-depend on python-support. Add binary package
python-ceph, making it contain all the ceph python
packages, regardless of their name; the modules are
too small to deserve their own debs.
Make python-ceph depend only on librados2 for now.
librgw is not packaged yet.
Dropping unnecessary build-dep on python-dev, that's
only needed for compiling C extensions, and we're using
ctypes.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Yehuda Sadeh [Fri, 10 Jun 2011 22:01:04 +0000 (15:01 -0700)]
rgw: list bucket display the correct objects owners
Colin Patrick McCabe [Fri, 10 Jun 2011 21:55:35 +0000 (14:55 -0700)]
boto_tool: add put_bucket_acl
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Yehuda Sadeh [Fri, 10 Jun 2011 20:24:29 +0000 (13:24 -0700)]
rgw: don't allow handing out object ownership
Yehuda Sadeh [Fri, 3 Jun 2011 21:31:20 +0000 (14:31 -0700)]
librados: remove useless reference holding
Yehuda Sadeh [Fri, 3 Jun 2011 21:09:34 +0000 (14:09 -0700)]
librados: get reference to the io context for the pending async ops
Greg Farnum [Fri, 10 Jun 2011 19:25:52 +0000 (12:25 -0700)]
heap_profiler: if log_dir is empty, don't try and log to root dir!
If log_dir was empty then the prefix would be of the form /mon.a
That isn't good, so fill it in so it writes to the current dir.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Josh Durgin [Fri, 10 Jun 2011 18:31:08 +0000 (11:31 -0700)]
coverage.sh: use .lcov instead of .info to avoid confusion
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Fri, 10 Jun 2011 18:28:09 +0000 (11:28 -0700)]
Merge remote branch 'origin/wip_coverage'
Conflicts:
src/mon/Monitor.cc
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Yehuda Sadeh [Fri, 10 Jun 2011 17:07:55 +0000 (10:07 -0700)]
rgw: remove required indexes when modifying user info
Conflicts:
src/rgw/rgw_admin.cc
Greg Farnum [Fri, 10 Jun 2011 00:41:39 +0000 (17:41 -0700)]
mon: Follow the Message rules when forwarding tells
My initial commit was naughty, fix that up here by
creating a new message for each mon and just copying
the command.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Fri, 10 Jun 2011 16:25:49 +0000 (09:25 -0700)]
mds: clear correct state bit in do_file_recover
The RECOVERING bit is set, not NEEDSRECOVER. This way we match
_recovered().
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Fri, 10 Jun 2011 01:26:58 +0000 (18:26 -0700)]
Thread: remove globals. Thread create must succeed
Remove the references to global variables from Thread.h. They are really
unecessary. In every case, the printout is followed by an assert which
will deliver the exact same information.
Assert that thread creation succeeds. Nobody was checking the return
value of Thread::create() previously. Added a new function,
Thread::try_create(), which programmers can use if they do want to check
the value of Thread::create() and handle it appropriately.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 10 Jun 2011 01:04:39 +0000 (18:04 -0700)]
LogClient: pass in CephContext explicitly
Again, the Messenger passed to LogClient may be NULL, so pass in the
CephContext explicitly.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 10 Jun 2011 00:56:41 +0000 (17:56 -0700)]
Monitor: pass in CephContext explicitly
Sometimes we create a Monitor without a Messenger. So we can't pull the
CephContext out of the Messenger, because it may be NULL. Just specify
it explicitly in the Monitor constructor.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Josh Durgin [Fri, 10 Jun 2011 00:33:25 +0000 (17:33 -0700)]
mds, mon, osd: with coverage enabled, exit(0) when SIGTERM is received
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Thu, 9 Jun 2011 23:57:52 +0000 (16:57 -0700)]
Revert "mon: add all_exit and exit commands"
This reverts commit
69092735c4b25c88ded58b17b1c198fafcf5931b .
Josh Durgin [Thu, 9 Jun 2011 23:57:41 +0000 (16:57 -0700)]
Revert "mds: allow mds to 'exit immediately'"
This reverts commit
c01961ff4b712a12e25e437adceae264273d7428 .
Josh Durgin [Thu, 9 Jun 2011 23:57:28 +0000 (16:57 -0700)]
Revert "osd: add command to exit cleanly"
This reverts commit
1cc78b6a864d36cbe1eda45890d7f361adb8201d .
Greg Farnum [Thu, 9 Jun 2011 23:53:22 +0000 (16:53 -0700)]
mds: fix up MDCache::path_is_mine to remove a totally bogus assert.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Fri, 10 Jun 2011 00:21:33 +0000 (17:21 -0700)]
mon: add new "tell" infrastructure.
This lets you issue commands
like "ceph mon tell 0 heap start_profiler". Hurray!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Colin Patrick McCabe [Thu, 9 Jun 2011 23:21:23 +0000 (16:21 -0700)]
CephContext: initialize module_type in ctor
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 9 Jun 2011 21:58:16 +0000 (14:58 -0700)]
mds: be slightly more careful about checking if lock has caps
issued_caps_need_gather==true implies it, but we can skip the work if the
lock has no caps.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 21:52:55 +0000 (14:52 -0700)]
mds: fix xlock_finish do_issue checks
Should default to false, and only get set to true if there are caps for
this lock. Among other things this means we don't set it for dentry
locks (which have no caps).
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 21:22:52 +0000 (14:22 -0700)]
mds: fix eval_gather callers passing pissue_gather as wrong arg
Whoops!
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 21:21:12 +0000 (14:21 -0700)]
mds: fix xlock_finish issue flag check
We were sometimes setting do_issue but not *pneed_issue. Simplify by
setting do_issue internally to the function and then either issuing or
setting *pneed_issue at the end.
Also fix bug with second argument to eval_gather().
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 21:09:10 +0000 (14:09 -0700)]
mds: make pneed_issue required for eval(SimpleLock*)
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 21:07:39 +0000 (14:07 -0700)]
mds: explicitly issue_caps after file_recover
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 19:57:13 +0000 (12:57 -0700)]
mds: make pneed_issue required for *lock_finish()
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 19:56:51 +0000 (12:56 -0700)]
mds: efficiently issue_caps for OOO or extra locks in acquire_locks
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 19:53:40 +0000 (12:53 -0700)]
mds: explicitly issue_caps for rdlock_finish_set
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 19:52:48 +0000 (12:52 -0700)]
mds: explicitly issue_caps for slave xlock release
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 19:52:22 +0000 (12:52 -0700)]
mds: efficiently issue_caps for scatterlocks unlock during refragment
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 21:43:05 +0000 (14:43 -0700)]
mds: efficiently drop_rdlocks and drop_xlocks too
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 18:37:18 +0000 (11:37 -0700)]
mds: set or issue caps on lock state changes
Set pneed_issue (or issue ourselves) whenever we jump directly to the
target lock state. Make sure we only do it if there are caps (cap shift)
for this particular lock.
Part of fix for #1084.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 17:43:13 +0000 (10:43 -0700)]
mds: make issue_caps from file_update_finish smarter
We do one funky thing in file_update_finish that only issues caps on a
single cap when max_size changes. This is more commonly we see. However,
if a lock changes state and we need to issue on the whole inode (for all
clients), avoid doing the cap-specific issue by checking the issue set.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 17:41:53 +0000 (10:41 -0700)]
mds: issue caps from drop_locks
In drop_locks, build a set of inodes we need to issue caps on. Then do it
all at once. This does two things:
- it fixes the fact that currently a dropped lock leading to an eval and
lock state change will not issue caps _at_all_
- it ensure we only issue_caps once for each inode, even when we are
dropping multiple locks on it.
This should fix #1084.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 9 Jun 2011 17:03:08 +0000 (10:03 -0700)]
mds: pass pissue_caps through *lock_finish()
This allows *lock_finish() callers to handle the issue_caps themselves.
None of them do yet (this arg is still optional) so this is patch has no
functional change (yet!).
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Thu, 9 Jun 2011 23:09:38 +0000 (16:09 -0700)]
CephContext: remove silly debug code
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 9 Jun 2011 23:08:14 +0000 (16:08 -0700)]
Dispatcher should take a CephContext argument
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Greg Farnum [Thu, 9 Jun 2011 22:26:13 +0000 (15:26 -0700)]
mds: fix tcmalloc check.
We can run commands to do things like start the profiler even if
it's not already running!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Mon, 6 Jun 2011 20:43:37 +0000 (13:43 -0700)]
mds: xlock_finish should only do_issue in certain cases.
We accidentally (we think) initialized this variable to true when
we want it to be false: we should only do_issue if there aren't
any remaining locks, not in all cases.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 9 Jun 2011 20:25:25 +0000 (13:25 -0700)]
MDiscoverReply: encode/decode wanted_ino.
This wasn't encoded previously so it was always zero on the
receiver's end, which led to nasty hangs. :(
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 9 Jun 2011 00:24:22 +0000 (17:24 -0700)]
mdcache: correct error message.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Wed, 8 Jun 2011 23:52:57 +0000 (16:52 -0700)]
mds: replay: save the right dir!
We were using the wrong one and breaking replay.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Thu, 9 Jun 2011 17:25:21 +0000 (10:25 -0700)]
debian: move gceph into a separate package
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Thu, 9 Jun 2011 21:02:27 +0000 (14:02 -0700)]
tools/common: fix C_ObserverRefresh constructor
Fixes #1159
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Samuel Just [Thu, 9 Jun 2011 17:51:49 +0000 (10:51 -0700)]
ReplicatedPG: make_writeable, use correct size for clone_size entry
Previously, we used obs.oi.size for the clone size, but obs refers to
new_obs. The clone's size should be the old size,
ctx->obc->obs.oi.size.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Colin Patrick McCabe [Thu, 9 Jun 2011 18:22:20 +0000 (11:22 -0700)]
gtest: add -lpthread to AM_LDFLAGS
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>