]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 8 Sep 2009 20:57:43 +0000 (13:57 -0700)]
kclient: msgr init cleanup
Sage Weil [Tue, 8 Sep 2009 20:55:23 +0000 (13:55 -0700)]
kclient: clean up keepalive send logic
Sage Weil [Tue, 8 Sep 2009 20:52:55 +0000 (13:52 -0700)]
kclient: msgr zero in ceph_con_init
Sage Weil [Tue, 8 Sep 2009 20:52:34 +0000 (13:52 -0700)]
kclient: kill msgr WAIT
Sage Weil [Tue, 8 Sep 2009 20:46:00 +0000 (13:46 -0700)]
todo
Sage Weil [Tue, 8 Sep 2009 20:16:20 +0000 (13:16 -0700)]
uclient: debug file_max
Sage Weil [Tue, 8 Sep 2009 20:16:02 +0000 (13:16 -0700)]
cfuse: disable -d (fuse debug) by default
Sage Weil [Tue, 8 Sep 2009 20:15:39 +0000 (13:15 -0700)]
mds: bump file_max to powers of two
Greg Farnum [Tue, 8 Sep 2009 18:25:37 +0000 (11:25 -0700)]
Hadoop: Refactor open to open optimistically and then check for errors
on the return code and cached data.
Also fix a bad return in CephFSInterface from the last commit.
Greg Farnum [Tue, 8 Sep 2009 06:48:05 +0000 (23:48 -0700)]
Hadoop: Some changes in order to reduce the number of messages sent on non-existent files
Greg Farnum [Tue, 8 Sep 2009 05:28:12 +0000 (22:28 -0700)]
Hadoop: Return a couple of unecessary isX calls.
Greg Farnum [Tue, 8 Sep 2009 04:20:42 +0000 (21:20 -0700)]
Hadoop: Fix an apparent bug and remove an unnecessary conditional.
(the cwd can't be set to "".)
Also replace references to "/" with root.
Greg Farnum [Tue, 8 Sep 2009 04:15:00 +0000 (21:15 -0700)]
uclient: Add better in/out dout messages to a few functions.
Sage Weil [Fri, 4 Sep 2009 22:49:37 +0000 (15:49 -0700)]
Revert "monc: hunt for new monitor on failure; cleanup interface"
This reverts commit
3f78e66ccd0b2adb71f4d8599f3270ed7f93f89d .
Sage Weil [Fri, 4 Sep 2009 22:50:08 +0000 (15:50 -0700)]
mds: only move ScatterLock to MIX if WR is wanted
Not WR|RD!
Sage Weil [Fri, 4 Sep 2009 22:49:46 +0000 (15:49 -0700)]
uclient: debug open()
Sage Weil [Fri, 4 Sep 2009 22:11:24 +0000 (15:11 -0700)]
uclient: add 'dropcache' synclient op
Sage Weil [Fri, 4 Sep 2009 22:11:08 +0000 (15:11 -0700)]
uclient: use objectcacher->is_cached to make readahead smarter
Only initiate readahead if we have less than 1/2 of what we
want to readahead. Otherwise we still do small reads, just way
ahead of the current read position.
Sage Weil [Fri, 4 Sep 2009 22:09:59 +0000 (15:09 -0700)]
objectcacher: add is_cached method
Helps us see what we have cached...
Greg Farnum [Fri, 4 Sep 2009 21:29:34 +0000 (14:29 -0700)]
uclient: Fix in the readahead logic
Greg Farnum [Thu, 3 Sep 2009 22:12:06 +0000 (15:12 -0700)]
Hadoop: Sets default block sizes according to a config property;
defaults to 64MB
Sage Weil [Fri, 4 Sep 2009 17:55:19 +0000 (10:55 -0700)]
monc: hunt for new monitor on failure; cleanup interface
Sage Weil [Fri, 4 Sep 2009 20:04:04 +0000 (13:04 -0700)]
monc: clean up mount code (not everyone is a client!)
Sage Weil [Fri, 4 Sep 2009 19:53:41 +0000 (12:53 -0700)]
mon: remove obsolete osdmap bcast
Sage Weil [Fri, 4 Sep 2009 19:52:25 +0000 (12:52 -0700)]
mon: remove obsolete mds map bcast
Sage Weil [Fri, 4 Sep 2009 19:49:41 +0000 (12:49 -0700)]
monc: explicit init(); subscribe to mdsmap on mds
Sage Weil [Fri, 4 Sep 2009 18:31:24 +0000 (11:31 -0700)]
Makefile: do not install init.d script at all; let packages do that
Sage Weil [Fri, 4 Sep 2009 18:08:03 +0000 (11:08 -0700)]
monc: hunt for new monitor on failure; cleanup interface
Sage Weil [Fri, 4 Sep 2009 17:50:52 +0000 (10:50 -0700)]
msgr: small cleanup; hexdump code (disabled)
Sage Weil [Fri, 4 Sep 2009 17:46:11 +0000 (10:46 -0700)]
msgr: small fault logic fix
Sage Weil [Fri, 4 Sep 2009 17:06:27 +0000 (10:06 -0700)]
Makefile: add missing MRoute.h
Sage Weil [Fri, 4 Sep 2009 16:39:07 +0000 (09:39 -0700)]
mon: fast assignment of client ids
Sage Weil [Thu, 3 Sep 2009 23:47:50 +0000 (16:47 -0700)]
uclient: fix warning
Sage Weil [Thu, 3 Sep 2009 23:08:52 +0000 (16:08 -0700)]
mon: use client_t
Yehuda Sadeh [Fri, 4 Sep 2009 03:52:07 +0000 (20:52 -0700)]
wireshark: update patch to latest wireshark svn snapshot
Yehuda Sadeh [Fri, 4 Sep 2009 00:40:30 +0000 (17:40 -0700)]
wireshark: keep plugin code outside of the patch
Sage Weil [Thu, 3 Sep 2009 23:35:07 +0000 (16:35 -0700)]
uclient: tweak readahead logic
Trim readahead extent to align to a stripe unit boundary,
always. This let's us, say, set the max to be 1 stripe unit,
and then we never read beyond the current su.
Only initiate readahead if it's > len. Otherwise we just
make things slower by breaking the read into two ops!
Sage Weil [Thu, 3 Sep 2009 22:51:20 +0000 (15:51 -0700)]
kclient: embed ceph_connection in ceph_osd
This avoids some memory (re)allocation, and cleans the code up
somewhat.
Sage Weil [Thu, 3 Sep 2009 22:14:22 +0000 (15:14 -0700)]
kclient: send subscribe along with mount request
We used to have to wait to learn our address; no more.
Sage Weil [Thu, 3 Sep 2009 22:13:59 +0000 (15:13 -0700)]
mon: no need to send osdmap until client asks
Sage Weil [Thu, 3 Sep 2009 22:04:29 +0000 (15:04 -0700)]
kclient: use single ceph_connection over lifetime on monc
This avoids reallocation on each mon failure, reconnect.
Sage Weil [Thu, 3 Sep 2009 22:03:31 +0000 (15:03 -0700)]
kclient: msgr fixes to use proper connect_seq, avoid unnecessary faults
Sage Weil [Thu, 3 Sep 2009 21:36:17 +0000 (14:36 -0700)]
kclient: simplify con_open/close interface a bit
No more 'reopen' hackery.
Sage Weil [Thu, 3 Sep 2009 20:38:21 +0000 (13:38 -0700)]
kclient: fix unzeroed pages after readpage
This was a signed/unsigned comparison problem. No compiler
warning? :(
Sage Weil [Thu, 3 Sep 2009 20:19:44 +0000 (13:19 -0700)]
kclient: take inode ref on first WRBUFFER cap ref in set_page_dirty
This only came up if the first dirty data on the inode was from
an mmap write; the aio_write would grab a ref via the
__take_cap_ref path first and grab the reference.
Fix the put_cap_refs() too for consistency, even though that path
isn't normally used (but theoretically could be?).
Sage Weil [Thu, 3 Sep 2009 19:41:34 +0000 (12:41 -0700)]
kclient: fix bug in ESTALE handling in mdsc
Sage Weil [Thu, 3 Sep 2009 17:52:31 +0000 (10:52 -0700)]
rev disk format
Sage Weil [Thu, 3 Sep 2009 17:39:07 +0000 (10:39 -0700)]
msgr todos
Sage Weil [Wed, 2 Sep 2009 23:31:08 +0000 (16:31 -0700)]
Merge branch 'unstable' into msgr
Sage Weil [Wed, 2 Sep 2009 23:33:59 +0000 (16:33 -0700)]
mds: use 0 for layout defaults, not -1
This simplifies callers that zero the structs. And 0 is
clearly an illegal value, so it's safe to mean 'use the
default'.
Sage Weil [Wed, 2 Sep 2009 23:13:14 +0000 (16:13 -0700)]
Merge commit 'origin/unstable' into msgr
Conflicts:
src/mon/ClientMonitor.cc
Sage Weil [Wed, 2 Sep 2009 23:05:40 +0000 (16:05 -0700)]
msgr: fix entity_inst_t comparators
Do not use memcmp on unpacked type entity_inst_t!
Sage Weil [Wed, 2 Sep 2009 22:57:17 +0000 (15:57 -0700)]
kclient: learn address during connect handshake
Sage Weil [Wed, 2 Sep 2009 22:55:43 +0000 (15:55 -0700)]
msgr: detect rank addr during connect handshake; clean up addr apis
Sage Weil [Wed, 2 Sep 2009 21:51:55 +0000 (14:51 -0700)]
msgr: include my addr AND socket addr during connect handshake
This allows connecting side to detect their ip address.
Sage Weil [Wed, 2 Sep 2009 22:51:24 +0000 (15:51 -0700)]
libceph: return 0, extern "C"
Greg Farnum [Wed, 2 Sep 2009 00:11:55 +0000 (17:11 -0700)]
uclient/libceph: Framework for letting users specify file striping
and object sizes is in place.
Greg Farnum [Tue, 1 Sep 2009 23:50:59 +0000 (16:50 -0700)]
mds: Handle the client requesting special stripe units, counts and object sizes.
Sage Weil [Wed, 2 Sep 2009 20:57:19 +0000 (13:57 -0700)]
libceph: add ceph_version()
Sage Weil [Wed, 2 Sep 2009 20:55:31 +0000 (13:55 -0700)]
debian: add lib{ceph,rados,crush}-dev packages
Sage Weil [Wed, 2 Sep 2009 20:35:23 +0000 (13:35 -0700)]
ceph: include version in ceph_fs.h
Sage Weil [Wed, 2 Sep 2009 20:24:09 +0000 (13:24 -0700)]
debian: fix lib* packages
Sage Weil [Wed, 2 Sep 2009 19:54:08 +0000 (12:54 -0700)]
kclient: whoami is __s64
Sage Weil [Wed, 2 Sep 2009 19:53:59 +0000 (12:53 -0700)]
uclient: use client_t for client id
Sage Weil [Wed, 2 Sep 2009 19:53:47 +0000 (12:53 -0700)]
mds: use client_t throughout
Sage Weil [Wed, 2 Sep 2009 18:32:21 +0000 (11:32 -0700)]
msgr: 64bit entity name num
Sage Weil [Wed, 2 Sep 2009 18:23:04 +0000 (11:23 -0700)]
kclient: fix osd request kicking
Sage Weil [Wed, 2 Sep 2009 17:36:43 +0000 (10:36 -0700)]
Makefile: force init.d script into /etc/init.d (not sysconfdir)
Sage Weil [Wed, 2 Sep 2009 17:29:42 +0000 (10:29 -0700)]
man: fix mkcephfs man page
Sage Weil [Tue, 1 Sep 2009 23:37:10 +0000 (16:37 -0700)]
uclient: implement CREATE operation
This avoids an additional async cap wanted update in the usual
case. And let's us pass in default layout info!
Untested...
Sage Weil [Tue, 1 Sep 2009 23:16:53 +0000 (16:16 -0700)]
kclient: kill msgr->parent, dead msg pool code, prepare_pages arg
Sage Weil [Tue, 1 Sep 2009 23:07:55 +0000 (16:07 -0700)]
kclient: osd restart fixes
Sage Weil [Tue, 1 Sep 2009 23:02:54 +0000 (16:02 -0700)]
kclient: set prepare_pages for osd client (der)
Sage Weil [Tue, 1 Sep 2009 22:59:35 +0000 (15:59 -0700)]
kclient: fix request kicking crash
Sage Weil [Tue, 1 Sep 2009 22:51:29 +0000 (15:51 -0700)]
kclient: cleanup old FIXME comments
Sage Weil [Tue, 1 Sep 2009 22:51:20 +0000 (15:51 -0700)]
kclient: improve osd error handling
We still r_resend even when we could fail, but it's just simpler
to do it that way.
Sage Weil [Tue, 1 Sep 2009 22:48:32 +0000 (15:48 -0700)]
kclient: reuse osd struct when possible
Sage Weil [Tue, 1 Sep 2009 21:29:45 +0000 (14:29 -0700)]
kclient: make mon hunt explicit; note in kern.log
Sage Weil [Tue, 1 Sep 2009 21:07:06 +0000 (14:07 -0700)]
mon: actually send updates to subscribers :)
Sage Weil [Tue, 1 Sep 2009 21:02:39 +0000 (14:02 -0700)]
kclient: avoid get_random_int(), it's new
Just use get_random_bytes instead.
Sage Weil [Tue, 1 Sep 2009 20:08:28 +0000 (13:08 -0700)]
kclient: pick new mon on _fault_, not peer reset
The latter only occurs if we succeed in reconnecting and find that
the peer dropped the session (connect_seq didn't match). That
won't happen if the mon is just down.
Sage Weil [Tue, 1 Sep 2009 19:34:28 +0000 (12:34 -0700)]
kclient: fix osdmap requests, subscription timeouts
Only request osdmap once, unless we restart our session. Clean up
expired tests with helper. Hunt if our monitor fails.
Sage Weil [Tue, 1 Sep 2009 18:36:39 +0000 (11:36 -0700)]
kclient: no need for r_fwd_session
We always resend requests at the direction of the mds; the mds
won't forward for us. (Otherwise the reply won't make it back!)
This simplifies forwards and retries.
Sage Weil [Tue, 1 Sep 2009 18:35:28 +0000 (11:35 -0700)]
Sage Weil [Tue, 1 Sep 2009 18:04:17 +0000 (11:04 -0700)]
kclient: don't leak ref when queuing fault work
Sage Weil [Tue, 1 Sep 2009 18:04:03 +0000 (11:04 -0700)]
kclient: use subscribe to get mdsmap, osdmap updates
Sage Weil [Tue, 1 Sep 2009 18:03:33 +0000 (11:03 -0700)]
msgr: print louder notice on bad banner; rev
Sage Weil [Tue, 1 Sep 2009 18:03:15 +0000 (11:03 -0700)]
mon: subscribe duration in units of seconds, not ms
Sage Weil [Tue, 1 Sep 2009 17:52:27 +0000 (10:52 -0700)]
osd: remove ticket from MOSDOp
Greg Farnum [Tue, 1 Sep 2009 01:52:55 +0000 (18:52 -0700)]
uclient: fixing a backwards test in Client::put_cap_ref that resulted in
bad Inode ref counting.
Greg Farnum [Tue, 1 Sep 2009 00:59:52 +0000 (17:59 -0700)]
Hypertable: fix ups on the readdir interface that now uses getdnames.
Sage Weil [Mon, 31 Aug 2009 23:33:45 +0000 (16:33 -0700)]
vstart: be quiet
Sage Weil [Mon, 31 Aug 2009 23:08:48 +0000 (16:08 -0700)]
kclient: subscribe to mdsmap
Sage Weil [Mon, 31 Aug 2009 22:54:23 +0000 (15:54 -0700)]
mon: clean up subscribe types a bits
Sage Weil [Mon, 31 Aug 2009 22:54:05 +0000 (15:54 -0700)]
objecter: use one-time subscription request for osdmap
Sage Weil [Mon, 31 Aug 2009 22:27:13 +0000 (15:27 -0700)]
mon: do one-time subscriptions, too
Sage Weil [Mon, 31 Aug 2009 21:38:22 +0000 (14:38 -0700)]
monc: resubscribe on monitor connection reset
Sage Weil [Mon, 31 Aug 2009 21:17:54 +0000 (14:17 -0700)]
monclient: fix subscription renewal
Sage Weil [Mon, 31 Aug 2009 21:13:10 +0000 (14:13 -0700)]
objecter: request full map on startup
Sage Weil [Mon, 31 Aug 2009 21:12:58 +0000 (14:12 -0700)]
msgr: deliver resets to all dispatchers; make naming consistent