]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 14 Apr 2010 17:08:42 +0000 (10:08 -0700)]
qa: set -e in workunits
Sage Weil [Wed, 14 Apr 2010 18:08:38 +0000 (11:08 -0700)]
mds: fix broken snaprealm split optimization for (unlinked) files
Splitting a file is trivial; do it. No special case for 'stray'.
Greg Farnum [Tue, 13 Apr 2010 22:47:31 +0000 (15:47 -0700)]
rgw: don't crash if HTTP_HOST isn't set
Sage Weil [Tue, 13 Apr 2010 19:26:32 +0000 (12:26 -0700)]
osd: avoid PGPool lookup in inner loop
Each PG already has a PGPool *.
Sage Weil [Tue, 13 Apr 2010 19:23:36 +0000 (12:23 -0700)]
osd: fix loading of snapset from _snapdir object attr
This happens when the head is deleted but we still have snaps. A nested
bufferlist declaration was masking things.
Greg Farnum [Tue, 13 Apr 2010 18:39:30 +0000 (11:39 -0700)]
osd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions.
Now with less null pointer exception! Code checks for session
before dereferencing it.
Greg Farnum [Tue, 13 Apr 2010 18:49:24 +0000 (11:49 -0700)]
osd: add a message_from_mon function
Greg Farnum [Tue, 13 Apr 2010 18:03:07 +0000 (11:03 -0700)]
Revert "osd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions"
This reverts commit
9ceb3be9a62f7b777b23a4d65b1cc302ec834e6b .
This will be coming back in another form shortly, but apparently we have
more connections without sessions on the OSD.
Sage Weil [Tue, 13 Apr 2010 17:38:48 +0000 (10:38 -0700)]
mds: only recover files from stale clients when auth
Replicas have client_ranges defined too, but only the auth MDS should do
the file size/mtime recovery.
Also rename clear_client_caps_after_export() for clarity, and assert inode
is_auth throughout file recover code.
Greg Farnum [Mon, 12 Apr 2010 22:31:06 +0000 (15:31 -0700)]
osd: add some put()s of Session * that weren't being used properly.
This fixes a memory leak that could have caused problems in the future.
Greg Farnum [Mon, 12 Apr 2010 22:16:52 +0000 (15:16 -0700)]
osd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions
Greg Farnum [Mon, 12 Apr 2010 21:37:47 +0000 (14:37 -0700)]
osd: Add is_X functions to OSDCaps (where X is mon, osd, mds).
Greg Farnum [Mon, 12 Apr 2010 18:13:46 +0000 (11:13 -0700)]
rados: check that given pool name actually exists when deleting
Greg Farnum [Mon, 12 Apr 2010 18:09:51 +0000 (11:09 -0700)]
mon: OSDMonitor makes sure pool ID is good, preventing crashiness
Sage Weil [Fri, 9 Apr 2010 22:44:50 +0000 (15:44 -0700)]
osdmap: move pool names into first part of encoding; add version to second part
This gives the kclient access to pool names while still ignoring the
osd_info_t crap. And also will make adding more stuff to the second half
later possible without breaking the kclient.
Sage Weil [Fri, 9 Apr 2010 22:13:37 +0000 (15:13 -0700)]
librados: add lookup_pool()
Sage Weil [Fri, 9 Apr 2010 19:40:51 +0000 (12:40 -0700)]
librados: no need to include linux/types.h
Sage Weil [Fri, 9 Apr 2010 19:00:53 +0000 (12:00 -0700)]
debian: more librados1-dev deps
Sage Weil [Fri, 9 Apr 2010 18:59:26 +0000 (11:59 -0700)]
spinlock: clean up #include deps
Sage Weil [Fri, 9 Apr 2010 21:50:12 +0000 (14:50 -0700)]
monclient: seed RNG so we pick a random monitor
Sage Weil [Fri, 9 Apr 2010 21:03:47 +0000 (14:03 -0700)]
todo: move bugs to tracker
Greg Farnum [Tue, 6 Apr 2010 18:08:45 +0000 (11:08 -0700)]
auth: cauthtool now identifies itself properly to common_init
Greg Farnum [Tue, 6 Apr 2010 17:44:06 +0000 (10:44 -0700)]
mon: add 'get' command to AuthMon, letting you retrive one entity's keyring data
Sage Weil [Fri, 9 Apr 2010 18:13:03 +0000 (11:13 -0700)]
filestore: fix weird references for clone/clone_range
Not sure why that was legal to begin with?
Sage Weil [Fri, 9 Apr 2010 18:29:09 +0000 (11:29 -0700)]
objectstore: fix clone_range() transaction encoding
Sage Weil [Fri, 9 Apr 2010 04:49:17 +0000 (21:49 -0700)]
librados: clean up object listing api
Sage Weil [Fri, 9 Apr 2010 04:21:36 +0000 (21:21 -0700)]
osd: clear initial interval_set in build_removed_snaps
Caller may pass a non-empty set, in which case we crashed or returned a bad
result.
Sage Weil [Fri, 9 Apr 2010 03:55:36 +0000 (20:55 -0700)]
testrados: create/use own pool
Sage Weil [Thu, 8 Apr 2010 23:42:59 +0000 (16:42 -0700)]
crc32c: ifdef out dead code to shut up warning
Sage Weil [Thu, 8 Apr 2010 23:42:15 +0000 (16:42 -0700)]
Merge branch 'ns' into unstable
Sage Weil [Thu, 8 Apr 2010 16:35:43 +0000 (09:35 -0700)]
filestore: more informative error on current/ rename failure
Sage Weil [Thu, 8 Apr 2010 16:26:54 +0000 (09:26 -0700)]
init-ceph: include 'noatime' btrfs mount option by default
Sage Weil [Thu, 8 Apr 2010 22:52:40 +0000 (15:52 -0700)]
testrados: test more stuff
Sage Weil [Thu, 8 Apr 2010 22:52:34 +0000 (15:52 -0700)]
objecter: cleanup
Sage Weil [Thu, 8 Apr 2010 22:52:28 +0000 (15:52 -0700)]
librados: clean up c header
Sage Weil [Thu, 8 Apr 2010 22:23:03 +0000 (15:23 -0700)]
debian: fix up librados1-dev with all necessary headers
Sage Weil [Thu, 8 Apr 2010 22:22:50 +0000 (15:22 -0700)]
librados: move c++ api into librados.hpp; more type cleanup
Sage Weil [Thu, 8 Apr 2010 21:19:01 +0000 (14:19 -0700)]
librados: use std::string, not nstring, in c++ api
Sage Weil [Thu, 8 Apr 2010 20:00:29 +0000 (13:00 -0700)]
librados: avoid snapid_t type, types.h
Sage Weil [Thu, 8 Apr 2010 19:57:46 +0000 (12:57 -0700)]
rbdtool: fix man warnings
Sage Weil [Thu, 8 Apr 2010 17:36:03 +0000 (10:36 -0700)]
filestore: check for SNAP_DESTROY ioctl, and file if not present
Sage Weil [Thu, 8 Apr 2010 16:54:18 +0000 (09:54 -0700)]
librados: move librados.h to include/
Sage Weil [Thu, 8 Apr 2010 16:51:14 +0000 (09:51 -0700)]
spinlock: move to include/
Sage Weil [Thu, 8 Apr 2010 16:49:50 +0000 (09:49 -0700)]
spinlock: move to ceph namespace
Sage Weil [Thu, 8 Apr 2010 16:48:08 +0000 (09:48 -0700)]
atomic: move to ceph namespace
Sage Weil [Thu, 8 Apr 2010 16:40:10 +0000 (09:40 -0700)]
atomic: rename test() -> read()
Make the interface slightly less weird.
Sage Weil [Thu, 8 Apr 2010 16:16:11 +0000 (09:16 -0700)]
buffer: avoid including ceph assert directly
If assert isn't defined, include the standard C one. Internal ceph bits
should include assert.h before buffer.h if they want the ceph one.
Sage Weil [Thu, 8 Apr 2010 16:09:43 +0000 (09:09 -0700)]
assert: use ceph namespace
Sage Weil [Thu, 8 Apr 2010 16:04:44 +0000 (09:04 -0700)]
crc32c: prefix with ceph_
Sage Weil [Thu, 8 Apr 2010 15:53:03 +0000 (08:53 -0700)]
page: move to ceph namespace, defs to common/page.cc
Sage Weil [Thu, 8 Apr 2010 15:49:27 +0000 (08:49 -0700)]
buffer: move to ceph namespace
Sage Weil [Thu, 8 Apr 2010 15:08:17 +0000 (08:08 -0700)]
osd: fix transposed clone_range args
We're cloning ranges _into_ soid (and in fact just deleted any old soid
that may have been lingering).
Sage Weil [Thu, 8 Apr 2010 14:43:23 +0000 (07:43 -0700)]
spinlock: avoid lockdep include unless lockdep is on
Sage Weil [Thu, 8 Apr 2010 14:43:12 +0000 (07:43 -0700)]
buffer: avoid spinlock include unless debugging is on
Sage Weil [Thu, 8 Apr 2010 14:42:54 +0000 (07:42 -0700)]
librados: reduce #includes
Sage Weil [Wed, 7 Apr 2010 23:43:22 +0000 (16:43 -0700)]
librados: c binding for rados_tmap_update()
Sage Weil [Wed, 7 Apr 2010 23:37:21 +0000 (16:37 -0700)]
rbdtool: maintain an rbd_directory object; add --list
Sage Weil [Wed, 7 Apr 2010 23:35:39 +0000 (16:35 -0700)]
auth: shut up about loading the key file
Sage Weil [Wed, 7 Apr 2010 23:35:28 +0000 (16:35 -0700)]
librados: add tmap_update to c++ interface
Sage Weil [Wed, 7 Apr 2010 23:35:06 +0000 (16:35 -0700)]
osd: fix tmap when header update not specified, or initial object dne
Sage Weil [Wed, 7 Apr 2010 22:29:38 +0000 (15:29 -0700)]
Merge branch 'rbd' into unstable
Sage Weil [Wed, 7 Apr 2010 22:29:23 +0000 (15:29 -0700)]
debian: include rbdtool
Sage Weil [Wed, 7 Apr 2010 22:29:18 +0000 (15:29 -0700)]
rbdtool: add man page
Sage Weil [Wed, 7 Apr 2010 22:29:08 +0000 (15:29 -0700)]
rbdtool: delete rbd images too
Sage Weil [Wed, 7 Apr 2010 21:47:04 +0000 (14:47 -0700)]
rbdtool: use shared rbd_types.h
Sage Weil [Wed, 7 Apr 2010 21:22:25 +0000 (14:22 -0700)]
msgr: drop useless was_session_reset() call on lossy channel close
The fail closes out the pipe, no need to do a 'reset'.
Sage Weil [Wed, 7 Apr 2010 21:16:21 +0000 (14:16 -0700)]
ceph: print output to stdout, not dout
Using cout instead of dout(0) avoids the thread id in the prefix.
Sage Weil [Wed, 7 Apr 2010 21:12:43 +0000 (14:12 -0700)]
msgr: fail on sd < 0
I saw a case where poll(2) was blocking despite being passed an fd of -1.
Since that's clearly invalid, we can fail tcp_{read,write} before that
point.
Weird.
Sage Weil [Wed, 7 Apr 2010 19:33:15 +0000 (12:33 -0700)]
osd: flush store ops after map update
Otherwise we can race:
- queue delete+rewrite of pg log
- unblock op queue
- queue append to log
...
- apply append
- apply delete+rewrite
Sage Weil [Tue, 6 Apr 2010 20:24:58 +0000 (13:24 -0700)]
mds: set laggy in tick() if its been a while
Sage Weil [Tue, 6 Apr 2010 23:18:10 +0000 (16:18 -0700)]
debian: drop empty dir from radosgw
Sage Weil [Tue, 6 Apr 2010 21:54:22 +0000 (14:54 -0700)]
todo: mds
Sage Weil [Tue, 6 Apr 2010 20:25:32 +0000 (13:25 -0700)]
mon: set osd up_thru when adjusting pg_temp
This just avoids making the OSD ask again for up_thru. Fewer osdmap
updates!
Sage Weil [Mon, 15 Mar 2010 17:52:50 +0000 (10:52 -0700)]
osd: distinguish between per-pool snap pools and user-managed snap pools
If removed_snaps is non-empty, then snaps are managed by the
user: snap context is specified for all writes (e.g., MDS or
librados user using the snap context api).
We can enforce this by adding an (unused) snapid (1) to the
removed_snaps the first time a non-pool snap snapid is allocated.
Sage Weil [Tue, 6 Apr 2010 19:29:10 +0000 (12:29 -0700)]
mds: remove null clean stray dentries after dir commit
Sage Weil [Tue, 6 Apr 2010 19:28:43 +0000 (12:28 -0700)]
mds: fix purge_stray to be smart about NEW dentries
Mark new stray dentries NEW.
After purge, remove new dentries immediately; leave others as NULL and
dirty so they get removed from the ondisk stray dir properly.
Sage Weil [Tue, 6 Apr 2010 18:22:29 +0000 (11:22 -0700)]
mds: fix ref count check in eval_stray, purge_stray_purged
Dentry gets pin for any inode pins, and on purge has PIN_PURGING.
Sage Weil [Tue, 6 Apr 2010 18:13:00 +0000 (11:13 -0700)]
osd: return more useful errno (ENOENT) on missing base
Sage Weil [Tue, 6 Apr 2010 17:47:02 +0000 (10:47 -0700)]
mds: move new stray dentries to end of lru
Sage Weil [Tue, 6 Apr 2010 17:46:07 +0000 (10:46 -0700)]
mds: use send_dentry_unlink helper for remote unlink
Sage Weil [Mon, 5 Apr 2010 22:38:45 +0000 (15:38 -0700)]
mds: journal oldest client tid
Journal the client's safe tid with new requests. This keeps the client
completed_requests list trimmed, so that we don't build up a ginormous
list of all requests over the entire journal.
Forward rolling mds format change.
Sage Weil [Fri, 2 Apr 2010 23:41:56 +0000 (16:41 -0700)]
todo: updates
Greg Farnum [Mon, 5 Apr 2010 20:59:52 +0000 (13:59 -0700)]
rgw: rgw_admin checks that it hasn't regenerated user ids
Greg Farnum [Mon, 5 Apr 2010 20:41:37 +0000 (13:41 -0700)]
mon: add new command 'lspools [uid]' to OSDMonitor
Greg Farnum [Mon, 5 Apr 2010 19:50:41 +0000 (12:50 -0700)]
osd: pg_pool_t prints out its owner
Sage Weil [Mon, 5 Apr 2010 17:53:17 +0000 (10:53 -0700)]
mds: fix snap purging during commit
Use the helper!
The commit_partial is still incomplete.. we need to purge the
dentry after the commit completes?
Sage Weil [Mon, 5 Apr 2010 17:26:42 +0000 (10:26 -0700)]
mds: streamline stray checks with helper
Sage Weil [Fri, 2 Apr 2010 22:47:45 +0000 (15:47 -0700)]
mds: make beacon output more informative
Sage Weil [Fri, 2 Apr 2010 22:47:25 +0000 (15:47 -0700)]
qa: run tests in random order
Sage Weil [Fri, 2 Apr 2010 20:34:11 +0000 (13:34 -0700)]
mds: allow reconnect as long as we are in reconnect state
This used to work.. I think this is fallout from the mds session state
simplification (CLOSED was != NEW before).
Anton Blanchard [Sat, 3 Apr 2010 01:51:06 +0000 (12:51 +1100)]
Add missing Makefile dependency for debug.cc
We were missing a Makefile dependency for debug.cc, without it make -j fails
because ceph_ver.h hasn't been created.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Sage Weil <sage@newdream.net>
Greg Farnum [Fri, 2 Apr 2010 23:25:00 +0000 (16:25 -0700)]
rgw: radosgw_admin can delete users from the system
Greg Farnum [Fri, 2 Apr 2010 21:21:16 +0000 (14:21 -0700)]
rgw: call url_decode in more appropriate places
Greg Farnum [Fri, 2 Apr 2010 20:14:12 +0000 (13:14 -0700)]
rgw: convert + to space in url_decode
Greg Farnum [Wed, 31 Mar 2010 23:06:45 +0000 (16:06 -0700)]
rgw: send an error response if reading an ACL off disk fails
Greg Farnum [Wed, 31 Mar 2010 18:32:40 +0000 (11:32 -0700)]
rgw: remove bad local variable shadowing class member variable
Greg Farnum [Wed, 31 Mar 2010 18:32:08 +0000 (11:32 -0700)]
rgw: remove some invalid FIXMEs
Yehuda Sadeh [Fri, 2 Apr 2010 21:19:44 +0000 (14:19 -0700)]
rbdtool: don't create empty object data
Yehuda Sadeh [Thu, 1 Apr 2010 00:24:49 +0000 (17:24 -0700)]
rbd: created a userspace tool for creating rbd objects
Sage Weil [Thu, 1 Apr 2010 23:13:41 +0000 (16:13 -0700)]
mds: set laggy flag if dispatch takes too long
This prevents, e.g., tick() from coming in immediately after and
closing out client sessions after we chew through something particularly
slow.