]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
John Wilkins [Thu, 12 Jul 2012 16:00:19 +0000 (09:00 -0700)]
doc: added :: to code example.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 12 Jul 2012 15:55:15 +0000 (08:55 -0700)]
doc: minor edits.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 12 Jul 2012 15:47:47 +0000 (08:47 -0700)]
doc: cookbook name change broke some things in doc. Fixed.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Yehuda Sadeh [Wed, 11 Jul 2012 18:34:21 +0000 (11:34 -0700)]
rados tool: bulk objects removal
Issue #2776. Allow the removal of multiple objects in a single
rados tool command:
# rados -p pool rm obj1 [obj2 [...]]
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 12 Jul 2012 02:59:32 +0000 (19:59 -0700)]
Merge remote-tracking branch 'gh/wip-cct'
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Sage Weil [Thu, 12 Jul 2012 01:56:00 +0000 (18:56 -0700)]
Merge branch 'next'
Conflicts:
src/rados.cc
Sage Weil [Thu, 12 Jul 2012 01:54:30 +0000 (18:54 -0700)]
rados: more usage cleanup
Signed-off-by: Sage Weil <sage@inktank.com>
Dan Mick [Wed, 11 Jul 2012 22:26:30 +0000 (15:26 -0700)]
rados: usage message
Bad linebreaks, wrapping, stringification, missing doc for bench args
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
John Wilkins [Thu, 12 Jul 2012 00:35:38 +0000 (17:35 -0700)]
doc: changed role file names as part of update to roles.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 12 Jul 2012 00:35:01 +0000 (17:35 -0700)]
doc: added DHO config.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Yehuda Sadeh [Wed, 11 Jul 2012 18:52:24 +0000 (11:52 -0700)]
rados tool: remove -t param option for target pool
Bug #2772. This fixes an issue that was introduced when we
added the 'rados cp' command. The -t param was already used
for rados bench. With this change the only way to specify
a target pool is using --target-pool.
Though this problem is post argonaut, the 'rados cp' command
has been backported, so we need this fix there too.
Backport: argonaut
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Dan Mick [Wed, 11 Jul 2012 22:26:30 +0000 (15:26 -0700)]
rados: usage message
Bad linebreaks, wrapping, stringification, missing doc for bench args
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Wed, 11 Jul 2012 16:19:00 +0000 (09:19 -0700)]
Makefile: don't install crush headers
This is leftover from when we built a libcrush.so. We can re-add when we
start doing that again.
Reported-by: Laszlo Boszormenyi <gcs@debian.hu>
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 11 Jul 2012 16:04:50 +0000 (09:04 -0700)]
librados: simplify cct refcounting
get() in ctor, put() in dtor.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 11 Jul 2012 15:58:22 +0000 (08:58 -0700)]
lockdep: stop lockdep when its cct goes away
When a cct is destroyed, tell lockdep so that it can shut down if it needed
it.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 10 Jul 2012 00:24:19 +0000 (17:24 -0700)]
mon: simplify logmonitor check_subs; less noise
* simple helper to translate name to id
* verify sub type is valid in caller
* assert sub type is valid in method
* simplify iterator usage
Among other things, this gets rid of this noise in the logs:
2012-07-10 20:51:42.617152
7facb23f1700 1 mon.a@1(peon).log v310 check_sub sub monmap not log type
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 11 Jul 2012 01:21:29 +0000 (18:21 -0700)]
Merge branch 'stable' into next
Sage Weil [Mon, 9 Jul 2012 20:22:42 +0000 (13:22 -0700)]
osd: guard class call decoding
Backport: argonaut
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 10 Jul 2012 03:54:19 +0000 (20:54 -0700)]
test_stress_watch: just one librados instance
This was creating a new cluster connection/session per iteration, and
along with it a few service threads and sockets and so forth.
Unfortunately, librados leaks like a sieve, starting with CephContext
and ceph::crypto::init(). See #845 and #2067.
Signed-off-by: Sage Weil <sage@inktank.com>
Samuel Just [Tue, 10 Jul 2012 00:57:03 +0000 (17:57 -0700)]
ReplicatedPG: don't warn if backfill peer stats don't match
pinfo.stats might be wrong if we did log-based recovery on the
backfilled portion in addition to continuing backfill.
bug #2750
Signed-off-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Fri, 6 Jul 2012 01:08:58 +0000 (18:08 -0700)]
librados: take lock when signaling notify cond
When we are signaling the cond to indicate that a notify is complete,
take the appropriate lock. This removes the possibility of a race
that loses our signal. (That would be very difficult given that there
are network round trips involved, but this makes the lock/cond usage
"correct.")
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 4 Jul 2012 22:11:21 +0000 (15:11 -0700)]
client: fix locking for SafeCond users
Need to wait on flock, not client_lock.
Signed-off-by: Sage Weil <sage@inktank.com>
Tommi Virtanen [Tue, 10 Jul 2012 23:11:33 +0000 (16:11 -0700)]
doc: No ssh -t -t, forcing a pty allocation there makes it hang.
Earlier, this was a single -t, and that is overridden by the fact that
stdin is not a tty, so that did nothing.
Signed-off-by: Tommi Virtanen <tv@inktank.com>
John Wilkins [Tue, 10 Jul 2012 23:03:05 +0000 (16:03 -0700)]
doc: removed the ceph directory per tommi's update to the chef-cookbooks.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 10 Jul 2012 22:23:56 +0000 (15:23 -0700)]
doc: Adding apt update message. VM users didn't get the package otherwise.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Dan Mick [Tue, 10 Jul 2012 21:04:59 +0000 (14:04 -0700)]
Merge branch 'wip-rbd-clone-dmick' into master
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Mon, 9 Jul 2012 20:22:42 +0000 (13:22 -0700)]
osd: guard class call decoding
Backport: argonaut
Signed-off-by: Sage Weil <sage@inktank.com>
Dan Mick [Tue, 10 Jul 2012 20:09:14 +0000 (13:09 -0700)]
rbd: update manpage for clone command
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Dan Mick [Tue, 10 Jul 2012 19:51:26 +0000 (12:51 -0700)]
rbd: update cli test reference files
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Dan Mick [Tue, 10 Jul 2012 03:11:21 +0000 (20:11 -0700)]
librados: pool_get_name handles "not found" wrong
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Dan Mick [Mon, 9 Jul 2012 22:43:36 +0000 (15:43 -0700)]
rbd, librbd: add tests for cloning
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Dan Mick [Mon, 9 Jul 2012 22:05:38 +0000 (15:05 -0700)]
librbd, rbd, rbd.py: Add parent info reporting
split out new parent info into separate retrieval methods;
structure packing on rbd_image_info_t was becoming a problem.
Deprecate old parent fields in favor of new ones.
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Dan Mick [Mon, 9 Jul 2012 21:55:35 +0000 (14:55 -0700)]
rbd, librbd, rbd.py: cloning (copy-on-write child image of snapshot)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Dan Mick [Mon, 9 Jul 2012 21:42:57 +0000 (14:42 -0700)]
librbd: open_image snapshot handling
Allow opening with no snap, but check for error for nonexistent snap
Backport: argonaut
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Josh Durgin [Tue, 26 Jun 2012 15:58:15 +0000 (08:58 -0700)]
librados: Add mapping from pool id to pool name and ioctx to rados client
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Dan Mick [Mon, 9 Jul 2012 21:11:23 +0000 (14:11 -0700)]
librados: add new constructor to form a Rados object from IoCtx
This creates a separate reference to an existing connection, for
use when a client holding IoCtx needs to consult another (say,
for rbd cloning)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Tue, 10 Jul 2012 03:54:19 +0000 (20:54 -0700)]
test_stress_watch: just one librados instance
This was creating a new cluster connection/session per iteration, and
along with it a few service threads and sockets and so forth.
Unfortunately, librados leaks like a sieve, starting with CephContext
and ceph::crypto::init(). See #845 and #2067.
Signed-off-by: Sage Weil <sage@inktank.com>
John Wilkins [Tue, 10 Jul 2012 18:04:31 +0000 (11:04 -0700)]
doc: added cookbook path instruction.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 10 Jul 2012 15:14:42 +0000 (08:14 -0700)]
doc: Added some pre-clarification for gdisk. Added DHO OSD hardware config.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Tue, 10 Jul 2012 04:36:25 +0000 (21:36 -0700)]
CephContext: don't leak admin socket
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 10 Jul 2012 04:32:15 +0000 (21:32 -0700)]
CephContext: drop obsolete ceph_destroy_context
Drop this useless helper and call cct->put() directly. The comment that
this can't be used after global_init is no longer relevant as long as
nobody puts a reference they don't own... and nobody owns
g_ceph_context.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 10 Jul 2012 04:26:17 +0000 (21:26 -0700)]
librados: use CephContext ref counts
Take ownership of the passed cct. Drop it when we destroy the
RadosClient.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 10 Jul 2012 04:24:30 +0000 (21:24 -0700)]
CephContext: ref count
These get shared via the librados API.
Fixes: #845
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 10 Jul 2012 03:54:19 +0000 (20:54 -0700)]
test_stress_watch: just one librados instance
This was creating a new cluster connection/session per iteration, and
along with it a few service threads and sockets and so forth.
Unfortunately, librados leaks like a sieve, starting with CephContext
and ceph::crypto::init(). See #845 and #2067.
Signed-off-by: Sage Weil <sage@inktank.com>
Samuel Just [Tue, 10 Jul 2012 00:57:03 +0000 (17:57 -0700)]
ReplicatedPG: don't warn if backfill peer stats don't match
pinfo.stats might be wrong if we did log-based recovery on the
backfilled portion in addition to continuing backfill.
bug #2750
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Mon, 9 Jul 2012 22:53:31 +0000 (15:53 -0700)]
ReplicatedPG: fix replay op ordering
After a client reconnect, the client replays outstanding ops. The
OSD then immediately responds with success if the op has already
committed (version < ReplicatedPG::get_first_in_progress).
Otherwise, we stick it in waiting_for_ondisk to be replied to when
eval_repop concludes that waitfor_disk is empty.
Fixes #2508
Signed-off-by: Samuel Just <sam.just@inktank.com>
Josh Durgin [Tue, 10 Jul 2012 00:24:19 +0000 (17:24 -0700)]
librbd: return an error when removing a non-existent image
Try treating the image as new format if it's not in the old-style
directory, which is the last step in old-style removal. Then if the
image is not found in the new-style directory, -ENOENT will be
returned, preserving the semantics that existed prior to
6f096b6cdc66bb92762aa92e51e5e448039cf3e3 .
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Dan Mick [Mon, 9 Jul 2012 20:58:02 +0000 (13:58 -0700)]
cls_rbd: add logging for failed set_parent steps
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Sage Weil [Mon, 9 Jul 2012 18:43:05 +0000 (11:43 -0700)]
Merge remote-tracking branch 'gh/wip-rbd-id'
John Wilkins [Mon, 9 Jul 2012 18:06:27 +0000 (11:06 -0700)]
doc: Removed legacy paths and keyname settings from examples.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Mon, 9 Jul 2012 03:33:12 +0000 (20:33 -0700)]
debian: include librados-config in librados-dev
Reported-by: Laszlo Boszormenyi <gcs@debian.hu>
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sun, 8 Jul 2012 21:39:52 +0000 (14:39 -0700)]
doc: remove reference to 'ceph stop' command
It doesn't exist anymore.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 7 Jul 2012 03:01:33 +0000 (20:01 -0700)]
Merge branch 'wip-cond'
Reviewed-by: Greg Farnum <greg@inktank.com>
Sage Weil [Tue, 3 Jul 2012 20:04:28 +0000 (13:04 -0700)]
lockdep: increase max locks
Hit this limit with the rados api tests.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 3 Jul 2012 19:07:28 +0000 (12:07 -0700)]
config: add unlocked version of get_my_sections; use it internally
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 3 Jul 2012 15:20:06 +0000 (08:20 -0700)]
config: fix lock recursion in get_val_from_conf_file()
Introduce a private, already-locked version.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 3 Jul 2012 15:15:08 +0000 (08:15 -0700)]
config: fix recursive lock in parse_config_files()
The _impl() helper is only called from parse_config_files(); don't retake
the lock.
Signed-off-by: Sage Weil <sage@inktank.com>
Yehuda Sadeh [Fri, 6 Jul 2012 20:14:53 +0000 (13:14 -0700)]
rgw: handle response-* params
Handle response-* params that set response header field values.
Fixes #2734, #2735.
Backport: argonaut
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Sage Weil [Wed, 4 Jul 2012 01:51:02 +0000 (18:51 -0700)]
rgw: initialize fields of RGWObjEnt
This fixes various valgrind warnings triggered by the s3test
test_object_create_unreadable.
Signed-off-by: Sage Weil <sage@inktank.com>
Yehuda Sadeh [Fri, 6 Jul 2012 20:14:53 +0000 (13:14 -0700)]
rgw: handle response-* params
Handle response-* params that set response header field values.
Fixes #2734, #2735.
Backport: argonaut
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Sage Weil [Wed, 4 Jul 2012 20:59:04 +0000 (13:59 -0700)]
osd: add missing formatter close_section() to scrub status
Also add braces to make the open/close matchups easier to see. Broken
by
f36617392710f9b3538bfd59d45fd72265993d57 .
Signed-off-by: Sage Weil <sage@inktank.com>
Mike Ryan [Wed, 27 Jun 2012 21:14:30 +0000 (14:14 -0700)]
pg: report scrub status
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
Mike Ryan [Wed, 27 Jun 2012 20:30:45 +0000 (13:30 -0700)]
pg: track who we are waiting for maps from
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
Mike Ryan [Tue, 26 Jun 2012 23:25:27 +0000 (16:25 -0700)]
pg: reduce scrub write lock window
Wait for all replicas to construct the base scrub map before finalizing
the scrub and locking out writes.
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
John Wilkins [Fri, 6 Jul 2012 19:21:34 +0000 (12:21 -0700)]
doc: added some discussion to libvirt.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Fri, 6 Jul 2012 00:59:19 +0000 (17:59 -0700)]
cond: cleanup
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Jul 2012 00:58:55 +0000 (17:58 -0700)]
cond: drop unused Wait variant
This was used for debugging forever ago.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 5 Jul 2012 04:07:44 +0000 (21:07 -0700)]
librados: drop unused local variables
This is unused boilerplate cruft.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Jul 2012 01:08:58 +0000 (18:08 -0700)]
librados: take lock when signaling notify cond
When we are signaling the cond to indicate that a notify is complete,
take the appropriate lock. This removes the possibility of a race
that loses our signal. (That would be very difficult given that there
are network round trips involved, but this makes the lock/cond usage
"correct.")
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 5 Jul 2012 02:50:34 +0000 (19:50 -0700)]
workqueue: kick -> wake or _wake, depending on locking
Break kick() into wake() and _wake() methods, depending on whether the
lock is already held. (The rename ensures that we audit/fix all
callers.)
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Jul 2012 02:12:22 +0000 (19:12 -0700)]
cond: assert that we are holding the same mutex as the waiter
Try to verify that we are holding the same mutex that the waiter is
waiting on. Specifically:
* only wait on a single mutex for this cond
* remember which mutex that is
* if we signal and someone has waited, try to make sure we are holding
the mutex as well. (Mutex::is_locked() is unsufficient here; it doesn't
ensure that *our* thread tool the mutex. it is necessary, though!)
Introduce a sloppy_signal() method that can be used if we actually mean
to signal the cond without holding the proper lock (and, presumably,
don't care about losing a signal).
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 4 Jul 2012 22:11:21 +0000 (15:11 -0700)]
client: fix locking for SafeCond users
Need to wait on flock, not client_lock.
Signed-off-by: Sage Weil <sage@inktank.com>
John Wilkins [Fri, 6 Jul 2012 18:29:55 +0000 (11:29 -0700)]
Merge branch 'master' of github.com:ceph/ceph
John Wilkins [Fri, 6 Jul 2012 18:29:31 +0000 (11:29 -0700)]
doc: Minor cleanup on deploy with Chef.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Yehuda Sadeh [Thu, 5 Jul 2012 22:52:51 +0000 (15:52 -0700)]
rgw: don't store bucket info indexed by bucket_id
Issue #2701. This info wasn't really used anywhere and we weren't
removing it. It was also sharing the same pool namespace as the
info indexed by bucket name, which is bad.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Thu, 5 Jul 2012 22:52:51 +0000 (15:52 -0700)]
rgw: don't store bucket info indexed by bucket_id
Issue #2701. This info wasn't really used anywhere and we weren't
removing it. It was also sharing the same pool namespace as the
info indexed by bucket name, which is bad.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 6 Jul 2012 17:16:07 +0000 (10:16 -0700)]
Merge branch 'stable' into next
Yehuda Sadeh [Thu, 5 Jul 2012 21:59:22 +0000 (14:59 -0700)]
test_rados_tool.sh: test copy pool
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Thu, 5 Jul 2012 20:42:23 +0000 (13:42 -0700)]
rados tool: copy object in chunks
Instead of reading the entire object and then writing it,
we read it in chunks.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 29 Jun 2012 21:43:00 +0000 (14:43 -0700)]
rados tool: copy entire pool
A new rados tool command that copies an entire pool
into another existing pool.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 29 Jun 2012 21:09:08 +0000 (14:09 -0700)]
rados tool: copy object
New rados command: rados cp <src-obj> [dest-obj]
Requires specifying source pool. Target pool and locator can be specified.
The new command preserves object xattrs and omap data.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 6 Jul 2012 17:12:23 +0000 (10:12 -0700)]
Merge remote-tracking branch 'origin/stable' into next
Sage Weil [Fri, 6 Jul 2012 15:47:44 +0000 (08:47 -0700)]
ceph.spec.in: add ceph-disk-{activate,prepare}
Reported-by: Jimmy Tang <jtang@tchpc.tcd.ie>
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Jul 2012 04:28:06 +0000 (21:28 -0700)]
osd: make on_removal() pure virtual
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Jul 2012 04:26:27 +0000 (21:26 -0700)]
osd: fix PG dtor compile error
We need at least none non-pure virtual method to tell gcc where the
vtable goes. The destructor wins!
libosd.a(libosd_a-ReplicatedPG.o): In function `~PG':
/home/sage/src/ceph/src/osd/PG.h:1367: undefined reference to `vtable for PG'
libosd.a(libosd_a-ReplicatedPG.o):(.rodata._ZTI12ReplicatedPG[typeinfo for ReplicatedPG]+0x10): undefined reference to `typeinfo for PG'
libosd.a(libosd_a-PG.o): In function `PG':
/home/sage/src/ceph/src/osd/PG.cc:85: undefined reference to `vtable for PG'
...
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Jul 2012 00:20:14 +0000 (17:20 -0700)]
Merge remote-tracking branch 'gh/wip_osd_threading'
Samuel Just [Thu, 5 Jul 2012 22:39:24 +0000 (15:39 -0700)]
PG,ReplicatedPG: on_removal must handle repop and watcher state
on_removal is now in ReplicatedPG in order to handle watcher state
and repop state. Addionally, workqueue dequeues are handled already
in OSD::_remove_pg.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Thu, 5 Jul 2012 20:41:37 +0000 (13:41 -0700)]
OSDMonitor: disable cluster snapshot
The map handling changes broke cluster snapshot support.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Thu, 5 Jul 2012 17:12:26 +0000 (10:12 -0700)]
OSD: ensure that OpSequencer lives through on_commit callback
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 3 Jul 2012 17:50:15 +0000 (10:50 -0700)]
ReplicatedPG.cc: C_OSD_CommittedPushedObject move pg->put() to finish
This should clarify the ownership of the pg ref.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 3 Jul 2012 17:47:53 +0000 (10:47 -0700)]
OSD::PeeringWQ::_dequeue(PG*) drop pg refs
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 3 Jul 2012 16:10:06 +0000 (09:10 -0700)]
OSD,PG:;replica_scrub: move msg->put() into queue process
This clarifies the ownership of the reference.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 3 Jul 2012 16:03:53 +0000 (09:03 -0700)]
OSD,ReplicatedPG::snap_trimmer: pg->put() in process, not snap_trimmer()
This clarifies responsibility for the reference.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 3 Jul 2012 15:55:40 +0000 (08:55 -0700)]
OSD: drop pg refcounts in OpWQ::_dequeue(PG*)
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 3 Jul 2012 15:53:54 +0000 (08:53 -0700)]
OSD: clean up revcovery_wq queueing and ref counting
Previously, we tended to explicitely remove the pg from the queue uisng
remove_myself on the xlist::item. This causes us to drop a reference
count. Manipulating the revovery_wq is now accomplished through the
recovery_wq interface, which also handles pg ref counting.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Ross Turk [Thu, 5 Jul 2012 22:29:23 +0000 (15:29 -0700)]
doc: minor typo
Signed-off-by: Ross Turk <ross@inktank.com>
Ross Turk [Thu, 5 Jul 2012 22:24:42 +0000 (15:24 -0700)]
doc: update copyright notice in footer
Signed-off-by: Ross Turk <ross@inktank.com>
John Wilkins [Thu, 5 Jul 2012 21:01:45 +0000 (14:01 -0700)]
doc: minor updates to the restrucuredText file.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 5 Jul 2012 21:00:22 +0000 (14:00 -0700)]
doc: minor cleanup.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 5 Jul 2012 20:47:45 +0000 (13:47 -0700)]
doc: Publishing as described. Still requires some verification and QA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>