]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Josh Durgin [Tue, 27 Sep 2011 19:31:41 +0000 (12:31 -0700)]
ceph.spec.in: add rbd python bindings
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Tue, 27 Sep 2011 18:23:09 +0000 (11:23 -0700)]
debian: make python-ceph depend on librbd
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Tue, 27 Sep 2011 17:34:55 +0000 (10:34 -0700)]
pybind: fix errors found by pyflakes
Unused imports, typos, and unused variables.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Sage Weil [Tue, 27 Sep 2011 19:41:32 +0000 (12:41 -0700)]
debian: move ceph and ceph-authtool into ceph-common
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 27 Sep 2011 19:41:11 +0000 (12:41 -0700)]
mon: auth: generate random key on 'auth add ...' if no keyring is provided
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 27 Sep 2011 17:02:47 +0000 (10:02 -0700)]
debian: ceph-client-tools -> ceph-common, now required, w/ ceph-conf etc.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 27 Sep 2011 16:15:37 +0000 (09:15 -0700)]
osdmap: remove dead code
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 27 Sep 2011 04:49:12 +0000 (21:49 -0700)]
Merge branch 'stable'
Sage Weil [Tue, 27 Sep 2011 04:46:39 +0000 (21:46 -0700)]
radosgw: fix content-length checks
Ignore content-length check if the REQUEST_URI has a trailing ?acl.
(The object_str.find() check was wrong because object_str has the ?whatever
stripped off, and because it returns std::string::npos on failure.)
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 27 Sep 2011 04:35:52 +0000 (21:35 -0700)]
radosgw: tolerate race creating .rgw* metadata pools
There may be multiple people trying to create these pools. That's just
fine.
Signed-off-by: Sage Weil <sage@newdream.net>
Josh Durgin [Mon, 26 Sep 2011 21:13:44 +0000 (14:13 -0700)]
librbd: fix end_block calculation for read_iterate
All end block calculations match now.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Mon, 26 Sep 2011 17:35:37 +0000 (10:35 -0700)]
test_rbd.py: Add large read and write tests
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Fri, 23 Sep 2011 21:04:14 +0000 (14:04 -0700)]
librbd: don't zero negative lengths
They are past the end of the buffer (and wrap around).
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Fri, 23 Sep 2011 01:26:34 +0000 (18:26 -0700)]
rados.py: be paranoid about strings
This prevents bad conversions (i.e. from int to char *).
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Sat, 24 Sep 2011 00:02:29 +0000 (17:02 -0700)]
rbd.py: remove useless version object
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Fri, 23 Sep 2011 01:26:16 +0000 (18:26 -0700)]
rbd.py: be paranoid about strings
This prevents bad conversions (i.e. from int to char *).
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Thu, 22 Sep 2011 23:06:57 +0000 (16:06 -0700)]
rbd.py: explicitly cast strings to c_char_p for type clarity
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Thu, 22 Sep 2011 21:51:43 +0000 (14:51 -0700)]
rbd.py: pass 0 for the default order, not NULL
librbd expects the order pointer to be valid - if it points to 0, the
default order is used.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Thu, 22 Sep 2011 00:56:40 +0000 (17:56 -0700)]
rados.py: make exceptions inherit from a base class
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 22:50:30 +0000 (15:50 -0700)]
rados.py: allow configuring rados through constructor options
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 22:44:16 +0000 (15:44 -0700)]
rbd.py: make Image a context manager
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 22:44:04 +0000 (15:44 -0700)]
rados.py: make Rados and Ioctx objects context managers
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 22:43:36 +0000 (15:43 -0700)]
rbd.py: make exceptions inherit from a base class
This way you can catch them all.
Also remove the unused NoData exceptions
- this was just useful for xattrs in librados.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 17:47:47 +0000 (10:47 -0700)]
Use cpp_strerror or strerror_r when appropriate.
The only remaining uses of strerror are in single-threaded programs
that don't depend on libcommon.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 00:26:02 +0000 (17:26 -0700)]
rbd.py: add partial bindings for librbd
This is all the basic operations, but nothing with callbacks yet.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 00:24:24 +0000 (17:24 -0700)]
rados.py: raise specific error when write is too long
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 00:23:27 +0000 (17:23 -0700)]
rbd: init counter to 0 so errors don't say '-1% done'
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Wed, 21 Sep 2011 00:22:35 +0000 (17:22 -0700)]
ReplicatedPG, tmap: return -ENOENT if the key to remove does not exist
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Tue, 20 Sep 2011 20:09:53 +0000 (13:09 -0700)]
librbd: use pre-existing helper methods for tmap operations
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Tue, 20 Sep 2011 19:52:11 +0000 (12:52 -0700)]
librbd: add debugging for failing to remove a header object
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Josh Durgin [Tue, 20 Sep 2011 19:50:09 +0000 (12:50 -0700)]
rbd: improve error messages
One of these was accidentally not negated.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Sage Weil [Mon, 26 Sep 2011 23:36:54 +0000 (16:36 -0700)]
mon: fix it again
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 23:25:04 +0000 (16:25 -0700)]
mon: fix dup pool creation race
Fixes: #1574
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 21:25:54 +0000 (14:25 -0700)]
init-ceph: more c* -> ceph-* cleanup
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 21:08:19 +0000 (14:08 -0700)]
osd: fix warning more
Argh
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 21:03:12 +0000 (14:03 -0700)]
radosgw_admin: 'bucket list' or 'buckets list'
The plural looks weird to me.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 20:30:43 +0000 (13:30 -0700)]
Makefile: include init-radosgw in tarball
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 20:28:01 +0000 (13:28 -0700)]
radosgw: shut down threadpool
Don't crash when run as a non-daemon without apache.. e.g. 'radosgw' with
no args.
Fixes: #1572
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 20:10:33 +0000 (13:10 -0700)]
osd: fix warning
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 18:04:25 +0000 (11:04 -0700)]
debian: include radosgw init script in package
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 26 Sep 2011 18:03:33 +0000 (11:03 -0700)]
radosgw: init script
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sun, 25 Sep 2011 20:54:26 +0000 (13:54 -0700)]
Merge branch 'stable'
Sage Weil [Sun, 25 Sep 2011 20:54:05 +0000 (13:54 -0700)]
filejournal: improve debug error messge
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 24 Sep 2011 22:49:32 +0000 (15:49 -0700)]
osd/mon: make max maps per MOSDMap message tunable
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 24 Sep 2011 22:49:16 +0000 (15:49 -0700)]
osd: limit size of osdmap messages
Limit size of MOSDMap messages sent from OSDs. Send many smaller
messages instead of a single large one.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 24 Sep 2011 22:19:31 +0000 (15:19 -0700)]
osd: drop map_cache_keep_from
The purpose here was to avoid trimming cached maps prior to what we have
on disk. However, now that we have the map_bl cache, this isn't needed:
anything after that epoch will come out of that cache.
Also, it was broken anyway--the value was never read. So clean it out!
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 24 Sep 2011 22:16:53 +0000 (15:16 -0700)]
osd: limit size of OSDMap cache
If we get way way behind on our maps, we may end up with a really large
OSDMap cache because we currently on trim old maps based on
oldest_last_clean, which may be way in the past. Avoid eating up gobs of
RAM by putting a ceiling on the cache size. It'll mean more disk IO in
those situations, but it also means that we'll only load up the old maps
that we actually need (not every single one).
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Greg Farnum [Fri, 23 Sep 2011 22:43:09 +0000 (15:43 -0700)]
rgw: only require content-length to be set on non-acl puts
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Sat, 24 Sep 2011 21:45:32 +0000 (14:45 -0700)]
osd: don't finish boot unless instance in map is really us
We were going BOOTING->ACTIVE as soon as we showed up in the map with the
same client_addr. Also verify that we were up_from an epoch after when
we started or rebound, to avoid the case where we rebind to the same
ports for client_addr (but maybe not others) and get caught in a rebind
loop.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 24 Sep 2011 21:08:07 +0000 (14:08 -0700)]
init-ceph: don't umount btrfs by default
As an admin I find this very annoying, even though it isn't strictly
symmetrical with the mount behavior.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Stanislav Sedov [Tue, 20 Sep 2011 05:16:48 +0000 (22:16 -0700)]
- Fix atomic set.
Greg Farnum [Fri, 23 Sep 2011 22:43:09 +0000 (15:43 -0700)]
rgw: only require content-length to be set on non-acl puts
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Fri, 23 Sep 2011 22:41:56 +0000 (15:41 -0700)]
Revert "rgw: tolerate missing content-length header on canned ACL puts"
This reverts commit
05b06e807ef20c7fe1bd7c7abbeecd656d2280c0 .
Don't be stupid when an empty content-length can only be on ACL puts!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Fri, 23 Sep 2011 23:00:24 +0000 (16:00 -0700)]
Merge remote branch 'gh/stable'
Tommi Virtanen [Fri, 23 Sep 2011 22:54:46 +0000 (15:54 -0700)]
man: c* -> ceph-* rename: Regenerate manpages.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:52:49 +0000 (15:52 -0700)]
doc: Fix reStructuredText formatting warnings.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:46:29 +0000 (15:46 -0700)]
Makefile: c* -> ceph-* rename: missed cdebugpack in CLEANFILES.
make distcheck said:
ERROR: files left in build directory after distclean:
./src/ceph-debugpack
make[1]: *** [distcleancheck] Error 1
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:36:26 +0000 (15:36 -0700)]
Makefile: Add missing header test/unit.h
Used to fail "make distcheck".
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:35:30 +0000 (15:35 -0700)]
.gitignore: distcheck temporary directory.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:15:13 +0000 (15:15 -0700)]
Makefile: include run-cli-tests-maybe-unset-ccache in dist tarball.
Apparently "make distcheck" has been broken for 3 months;
I find that hard to believe, but that's what it looks like.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:06:58 +0000 (15:06 -0700)]
ceph-run: c* -> ceph-* rename: Use ceph-run as stderr prefix.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:06:40 +0000 (15:06 -0700)]
ceph-debugpack: c* -> ceph-* rename: use "ceph-debugpack" as temp dir name too.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:05:44 +0000 (15:05 -0700)]
udev: c* -> ceph-* rename: missed crbdnamer.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 22:05:25 +0000 (15:05 -0700)]
debian: c* -> ceph-* rename: missed csyn, crbdnamer.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 21:55:20 +0000 (14:55 -0700)]
rpm: c* -> ceph-* rename: missed crbdnamer, cdebugpack.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 21:54:16 +0000 (14:54 -0700)]
Makefile: c* -> ceph-* rename: missed crun.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Thu, 22 Sep 2011 18:29:12 +0000 (11:29 -0700)]
doc: v0.35 is out, remove rpm build workaround.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Thu, 22 Sep 2011 18:24:28 +0000 (11:24 -0700)]
doc: Add index into the sidebar.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Thu, 22 Sep 2011 18:01:30 +0000 (11:01 -0700)]
doc: Search page is always in sidebar, no need to have it on page.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Thu, 22 Sep 2011 17:54:08 +0000 (10:54 -0700)]
doc: Add a space after sudoers "NOPASSWD:", as that seems more common.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Thu, 22 Sep 2011 17:53:34 +0000 (10:53 -0700)]
doc: Add index entries, remove glossary as it's practically replaced by the index.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Fri, 23 Sep 2011 20:39:05 +0000 (13:39 -0700)]
doc: Leftovers of the c* -> ceph-* rename.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Greg Farnum [Fri, 23 Sep 2011 21:47:10 +0000 (14:47 -0700)]
rgw: tolerate missing content-length header on canned ACL puts
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Henry C Chang [Thu, 11 Nov 2010 03:40:39 +0000 (11:40 +0800)]
mon: remember source client address in routed requests
when we resend_routed_requests, the source client address is lost.
This may cause problems. For example, if we resend an mds beacon
(boot) to a new monitor leader, the new mdsmap will contain a new
mds entry without IP address.
To reproduce this bug:
1. deploy a cluster with 3 mons.
2. let active mds send beacon to mon0; standby mds send becaon to mon2
3. gdb attach to mon2 to make it unresponsive and make standby mds laggy.
4. gdb attach to mon0 to make it unresponsive and make active mds laggy.
5. detach mon2, then the standby mds will become active.
6. ceph mds dump -o - shows the active mds address is :/0
Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 23 Sep 2011 19:53:39 +0000 (12:53 -0700)]
osd: fix race between handle_osd_ping and handle_osd_map
If handle_osd_map is in progress and handle_osd_ping doesn't have the
map lock, we can't call osdmap->get_inst() in send_still_alive(). Keep
the entity_inst_t in the failure_pending map so that we don't need to.
osd/OSDMap.h: In function 'entity_inst_t OSDMap::get_inst(int)', in thread '0x7fda6a46b710'
osd/OSDMap.h: 477: FAILED assert(is_up(osd))
ceph version 0.24.1 (commit:
e06fb657842379259826f3d9215101fc14575fbd )
1: (OSD::send_still_alive(int)+0x1b9) [0x4dd1b9]
2: (OSD::handle_osd_ping(MOSDPing*)+0x716) [0x4f6446]
3: (OSD::heartbeat_dispatch(Message*)+0x36) [0x4f6666]
4: (SimpleMessenger::dispatch_entry()+0x882) [0x46f002]
5: (SimpleMessenger::DispatchThread::entry()+0x1c) [0x465fac]
6: (()+0x6a3a) [0x7fda7835aa3a]
7: (clone()+0x6d) [0x7fda76f7777d]
Reported-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 23 Sep 2011 16:58:19 +0000 (09:58 -0700)]
Makefile: drop useless all_sources thing
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 23 Sep 2011 16:57:45 +0000 (09:57 -0700)]
rename source files c* -> ceph-*
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Henry C Chang [Thu, 24 Feb 2011 02:35:51 +0000 (10:35 +0800)]
misc: use strncpy to prevent buffer overflow
Henry C Chang [Thu, 14 Oct 2010 10:23:44 +0000 (18:23 +0800)]
ceph-elaster: add parentheses around macros
Sage Weil [Fri, 23 Sep 2011 16:40:19 +0000 (09:40 -0700)]
test_store: parse args, don't link librados
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 23 Sep 2011 04:11:34 +0000 (21:11 -0700)]
crushtool: add unit test for adding items to map
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 23 Sep 2011 04:01:22 +0000 (21:01 -0700)]
crushtool: fix argument parsing
Reported by: Henry C Chang <henry.cy.chang@gmail.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 23 Sep 2011 04:00:52 +0000 (21:00 -0700)]
crushtool: crush_finalize on any map modification
This recalculates max_devices and the parent maps.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 23 Sep 2011 03:56:32 +0000 (20:56 -0700)]
Revert "crush: refuse to add item >= max_devices"
This reverts commit
58f98e7afc364d28a385adc7ef0fee2291d70c17 .
max_devices only affects the size of the parent arrays, which aren't allocated
until crush_finalize(). No problems here.
Sage Weil [Thu, 22 Sep 2011 23:20:02 +0000 (16:20 -0700)]
Merge branch 'stable'
Sage Weil [Thu, 22 Sep 2011 23:19:50 +0000 (16:19 -0700)]
Merge branch 'wip-names'
Sage Weil [Thu, 22 Sep 2011 23:18:19 +0000 (16:18 -0700)]
man: rebuild manpages
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 22 Sep 2011 22:16:56 +0000 (15:16 -0700)]
doc: more c* -> ceph-* renames
Signed-off-by: Sage Weil <sage@newdream.net>
Josh Durgin [Thu, 22 Sep 2011 22:39:58 +0000 (15:39 -0700)]
rbd: set default pool when none is specified
096e3b6353e5035362cffdcbd2e4a4f5572aa2ba broke this by only using
set_pool_image_name for commands that accept the snapshot
parameter. This whole undocumented format parsing should be reworked
or removed at some point.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Sage Weil [Thu, 22 Sep 2011 22:07:19 +0000 (15:07 -0700)]
libceph -> libcephfs
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 21 Sep 2011 23:28:43 +0000 (16:28 -0700)]
c* -> ceph-*
Hopefully I didn't miss too much...
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 22 Sep 2011 21:46:56 +0000 (14:46 -0700)]
mount.ceph: use ":/" instead of just ":" as ip/path delimiter
This is tolerant of colons in the mount subdir.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 22 Sep 2011 21:45:44 +0000 (14:45 -0700)]
addr_parsing: null terminate safe_cat result
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 22 Sep 2011 21:44:38 +0000 (14:44 -0700)]
mount.ceph: fix use-after-free
Signed-off-by: Sage Weil <sage@newdream.net>
Samuel Just [Tue, 20 Sep 2011 00:50:10 +0000 (17:50 -0700)]
test/rados-api/test.cc: Add ability to set client id
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Mon, 19 Sep 2011 23:27:03 +0000 (16:27 -0700)]
test/test_stress_watch.cc: added simple watch stress test
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Thu, 22 Sep 2011 16:46:12 +0000 (09:46 -0700)]
PG: set log.backlog to false on corrupt log
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Thu, 22 Sep 2011 16:46:12 +0000 (09:46 -0700)]
PG: set log.backlog to false on corrupt log
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Wed, 21 Sep 2011 23:26:57 +0000 (16:26 -0700)]
vstart: debug filestore = 20
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 21 Sep 2011 22:46:37 +0000 (15:46 -0700)]
osd: fix PG::copy_after vs backlog
If you call copy_after(..., 0) on a log with a backlog, you get all the
backlog entries, but no backlog flag. That's invalid. You either need
the _complete_ backlog + the flag, or no backlog entries; getting only
some of them is useless information.
Make copy_after stop when it hits the tail. Callers who need the backlog
are already checking for that and copying the whole log as appropriate.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>