]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 years agorgw: get bucket markers from the same object at all times
Greg Farnum [Mon, 26 Sep 2011 22:11:25 +0000 (15:11 -0700)]
rgw: get bucket markers from the same object at all times

We use an object in the control pool here, rather than an object
local to each pool. This gives us a single value which can be used
for tracking data at all times.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agorgw: pass POD c-string instead of string to formatter
Greg Farnum [Mon, 26 Sep 2011 20:24:08 +0000 (13:24 -0700)]
rgw: pass POD c-string instead of string to formatter

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agoosd: fix warning more
Greg Farnum [Mon, 26 Sep 2011 20:23:45 +0000 (13:23 -0700)]
osd: fix warning more

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agoMerge remote branch 'origin/master' into wip-pool-sharing
Greg Farnum [Mon, 26 Sep 2011 20:18:15 +0000 (13:18 -0700)]
Merge remote branch 'origin/master' into wip-pool-sharing

14 years agoMakefile: include init-radosgw in tarball
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>
14 years agoradosgw: shut down threadpool
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>
14 years agoosd: fix warning
Sage Weil [Mon, 26 Sep 2011 20:10:33 +0000 (13:10 -0700)]
osd: fix warning

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agodebian: include radosgw init script in package
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>
14 years agoradosgw: init script
Sage Weil [Mon, 26 Sep 2011 18:03:33 +0000 (11:03 -0700)]
radosgw: init script

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoMerge branch 'stable'
Sage Weil [Sun, 25 Sep 2011 20:54:26 +0000 (13:54 -0700)]
Merge branch 'stable'

14 years agofilejournal: improve debug error messge
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>
14 years agoosd/mon: make max maps per MOSDMap message tunable
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>
14 years agoosd: limit size of osdmap messages
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>
14 years agoosd: drop map_cache_keep_from
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>
14 years agoosd: limit size of OSDMap cache
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>
14 years agorgw: only require content-length to be set on non-acl puts
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>
14 years agoosd: don't finish boot unless instance in map is really us
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>
14 years agoinit-ceph: don't umount btrfs by default
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>
14 years ago- Fix atomic set.
Stanislav Sedov [Tue, 20 Sep 2011 05:16:48 +0000 (22:16 -0700)]
- Fix atomic set.

14 years agorgw: user async exec for index completion op
Yehuda Sadeh [Sat, 24 Sep 2011 06:13:20 +0000 (23:13 -0700)]
rgw: user async exec for index completion op

14 years agolibrados: add async exec
Yehuda Sadeh [Sat, 24 Sep 2011 06:13:08 +0000 (23:13 -0700)]
librados: add async exec

14 years agorgw: tmp objects can be removed async
Yehuda Sadeh [Sat, 24 Sep 2011 05:36:26 +0000 (22:36 -0700)]
rgw: tmp objects can be removed async

14 years agorgw: fix bucket stats
Yehuda Sadeh [Sat, 24 Sep 2011 04:32:53 +0000 (21:32 -0700)]
rgw: fix bucket stats

14 years agorgw: fix header encoding
Yehuda Sadeh [Sat, 24 Sep 2011 04:21:51 +0000 (21:21 -0700)]
rgw: fix header encoding

14 years agorgw: fix compilation warning
Yehuda Sadeh [Sat, 24 Sep 2011 00:26:10 +0000 (17:26 -0700)]
rgw: fix compilation warning

14 years agorgw: fix compilation
Yehuda Sadeh [Sat, 24 Sep 2011 00:22:17 +0000 (17:22 -0700)]
rgw: fix compilation

14 years agocls_rgw: substract obj stats only if obj exists
Yehuda Sadeh [Sat, 24 Sep 2011 00:19:27 +0000 (17:19 -0700)]
cls_rgw: substract obj stats only if obj exists

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: only require content-length to be set on non-acl puts
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>
14 years agoRevert "rgw: tolerate missing content-length header on canned ACL puts"
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>
14 years agoMerge remote branch 'gh/stable'
Sage Weil [Fri, 23 Sep 2011 23:00:24 +0000 (16:00 -0700)]
Merge remote branch 'gh/stable'

14 years agoman: c* -> ceph-* rename: Regenerate manpages.
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>
14 years agodoc: Fix reStructuredText formatting warnings.
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>
14 years agoMakefile: c* -> ceph-* rename: missed cdebugpack in CLEANFILES.
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>
14 years agoMakefile: Add missing header test/unit.h
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>
14 years ago.gitignore: distcheck temporary directory.
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>
14 years agoMakefile: include run-cli-tests-maybe-unset-ccache in dist tarball.
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>
14 years agoceph-run: c* -> ceph-* rename: Use ceph-run as stderr prefix.
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>
14 years agoceph-debugpack: c* -> ceph-* rename: use "ceph-debugpack" as temp dir name too.
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>
14 years agoudev: c* -> ceph-* rename: missed crbdnamer.
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>
14 years agodebian: c* -> ceph-* rename: missed csyn, crbdnamer.
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>
14 years agorpm: c* -> ceph-* rename: missed crbdnamer, cdebugpack.
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>
14 years agoMakefile: c* -> ceph-* rename: missed crun.
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>
14 years agodoc: v0.35 is out, remove rpm build workaround.
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>
14 years agodoc: Add index into the sidebar.
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>
14 years agodoc: Search page is always in sidebar, no need to have it on page.
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>
14 years agodoc: Add a space after sudoers "NOPASSWD:", as that seems more common.
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>
14 years agodoc: Add index entries, remove glossary as it's practically replaced by the index.
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>
14 years agodoc: Leftovers of the c* -> ceph-* rename.
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>
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 agorgw: tolerate missing content-length header on canned ACL puts
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>
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 agomon: remember source client address in routed requests
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>
14 years agoosd: fix race between handle_osd_ping and handle_osd_map
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>
14 years agoMakefile: drop useless all_sources thing
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>
14 years agorename source files c* -> ceph-*
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>
14 years agomisc: use strncpy to prevent buffer overflow
Henry C Chang [Thu, 24 Feb 2011 02:35:51 +0000 (10:35 +0800)]
misc: use strncpy to prevent buffer overflow

14 years agoceph-elaster: add parentheses around macros
Henry C Chang [Thu, 14 Oct 2010 10:23:44 +0000 (18:23 +0800)]
ceph-elaster: add parentheses around macros

14 years agotest_store: parse args, don't link librados
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>
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 agocrushtool: add unit test for adding items to map
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>
14 years agocrushtool: fix argument parsing
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>
14 years agocrushtool: crush_finalize on any map modification
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>
14 years agoRevert "crush: refuse to add item >= max_devices"
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.

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 agoMerge branch 'stable'
Sage Weil [Thu, 22 Sep 2011 23:20:02 +0000 (16:20 -0700)]
Merge branch 'stable'

14 years agoMerge branch 'wip-names'
Sage Weil [Thu, 22 Sep 2011 23:19:50 +0000 (16:19 -0700)]
Merge branch 'wip-names'

14 years agoman: rebuild manpages
Sage Weil [Thu, 22 Sep 2011 23:18:19 +0000 (16:18 -0700)]
man: rebuild manpages

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agodoc: more c* -> ceph-* renames
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>
14 years agorbd: set default pool when none is specified
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>
14 years agolibceph -> libcephfs
Sage Weil [Thu, 22 Sep 2011 22:07:19 +0000 (15:07 -0700)]
libceph -> libcephfs

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoc* -> ceph-*
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>
14 years agomount.ceph: use ":/" instead of just ":" as ip/path delimiter
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>
14 years agoaddr_parsing: null terminate safe_cat result
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>
14 years agomount.ceph: fix use-after-free
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>
14 years agotest/rados-api/test.cc: Add ability to set client id
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>
14 years agotest/test_stress_watch.cc: added simple watch stress test
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>
14 years agoPG: set log.backlog to false on corrupt log
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>
14 years agoPG: set log.backlog to false on corrupt log
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>
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 agovstart: debug filestore = 20
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>
14 years agoosd: fix PG::copy_after vs backlog
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>
14 years agomds: fix traverse snap vs forward check
Sage Weil [Wed, 21 Sep 2011 18:39:03 +0000 (11:39 -0700)]
mds: fix traverse snap vs forward check

This should compare against the forward attempt, not retry attempt.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agorbd: fix progress redraw
Sage Weil [Wed, 21 Sep 2011 18:23:21 +0000 (11:23 -0700)]
rbd: fix progress redraw

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
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 agodoc: Content for Getting Started with cephfs and rbd.
Tommi Virtanen [Wed, 21 Sep 2011 21:55:11 +0000 (14:55 -0700)]
doc: Content for Getting Started with cephfs and rbd.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
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 agodoc: Content for Getting Started with RADOS.
Tommi Virtanen [Wed, 21 Sep 2011 20:43:32 +0000 (13:43 -0700)]
doc: Content for Getting Started with RADOS.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agodoc: Structure for Getting Started.
Tommi Virtanen [Wed, 21 Sep 2011 18:55:37 +0000 (11:55 -0700)]
doc: Structure for Getting Started.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>