Greg Farnum
87b99f465e
Hadoop: Move CephIOStream native methods into CephFS/CephTalker
2009-10-16 12:21:25 -07:00
Greg Farnum
a6f2a3a20c
Hadoop: Move debug output into CephFS, preparing for CephIOStreams
2009-10-16 12:21:25 -07:00
Greg Farnum
e0e2c4d1fb
libhadoop: Convert CephFSInterface to match the proper Java classes.
2009-10-16 12:21:25 -07:00
Greg Farnum
c1cede1023
Hadoop: Newly-generated JNI header files
2009-10-16 12:21:25 -07:00
Greg Farnum
f958d57685
Hadoop: Now wraps all ceph calls in a CephFS ABC with a CephTalker implementing
2009-10-16 12:21:25 -07:00
Greg Farnum
9e08f0ec3d
Hadoop: Now also uses their logging framework
2009-10-16 12:21:25 -07:00
Greg Farnum
9bec695f91
Hadoop: getFileBlockSize has an unclear contract, but it's followed better now
2009-10-16 12:21:25 -07:00
Greg Farnum
e114fc94b4
Hadoop: clean out unused functions.
2009-10-16 12:21:25 -07:00
Greg Farnum
5277aac042
Hadoop: Better documentation between Ceph[Input Output]Stream and libhadoop
2009-10-16 12:21:25 -07:00
Greg Farnum
8d00264bf0
Hadoop: Better document interface between CephFileSystem and libhadoopcephfs
2009-10-16 12:21:25 -07:00
Greg Farnum
289028ab47
libhadoop: Remove some silly asserts and fix a minor memory leak.
2009-10-16 12:21:25 -07:00
Greg Farnum
bb6e112b70
Hadoop: Remove unnecessary imports.
2009-10-16 12:21:24 -07:00
Greg Farnum
67e5d49d9f
Hadoop: Remove some unused data members/methods.
2009-10-16 12:21:24 -07:00
Greg Farnum
3228ab6c19
hadoop: Moving back to older use of debug.
2009-10-16 12:21:24 -07:00
Greg Farnum
2cc3cc1233
Hadoop: Fix tabs to be 2 spaces.
2009-10-16 12:21:24 -07:00
Greg Farnum
340c90eb71
mon: Remove bad FIX_ME comment
2009-10-16 12:21:24 -07:00
Greg Farnum
0f4d70d35d
uclient: Return an error if you open a non-dir via opendir
2009-10-16 12:21:24 -07:00
Sage Weil
3f182b8a03
monclient: start with hunting=true
...
(and reset after get_monmap_privately)
2009-10-16 11:24:20 -07:00
Sage Weil
78e3bdd71d
osd: send boot message if we get marked down
...
This broke when we redid its monclient stuff
2009-10-16 11:17:16 -07:00
Sage Weil
794e2a3e1c
Makefile: 'core' rule to do just the core daemons, tools
2009-10-16 11:16:55 -07:00
Sage Weil
16ef6475fd
sample: rename sample ceph.conf
2009-10-16 10:46:34 -07:00
Sage Weil
7da385d677
mon: show election quorum info on 'mon stat'
2009-10-16 10:46:34 -07:00
Sage Weil
2219956d5a
mon: defined struct for MMonSubscribeAck
2009-10-15 21:24:43 -07:00
Sage Weil
cd2b37bba1
todo
2009-10-15 21:24:43 -07:00
Sage Weil
600e550d78
mds: fix stupid float conversion warnings
...
From ppc.
2009-10-15 21:24:43 -07:00
Yehuda Sadeh
f23530fec1
auth: fix connect response
2009-10-15 16:24:03 -07:00
Yehuda Sadeh
b400d549b3
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
2009-10-15 14:16:58 -07:00
Yehuda Sadeh
bdc218e352
wireshark: update with latest version, some other fixes
2009-10-15 14:16:27 -07:00
Sage Weil
15fc0c30f8
mon: make 'mon add ...' work
2009-10-15 12:10:31 -07:00
Sage Weil
3ce86d04ed
mon: clean up 'mon ...' command processing, add 'mon getmap'
2009-10-13 22:34:53 -07:00
Sage Weil
46d0f9a151
mon: set initial timeout on sessions; clean up a bit
2009-10-13 22:05:57 -07:00
Sage Weil
6b6a674b20
mon: fix warning
2009-10-13 14:46:05 -07:00
Sage Weil
a0693184c1
mon: PaxosServices needs virtual destructor
2009-10-13 14:45:39 -07:00
Sage Weil
064d00c5c5
mon: small cleanup
2009-10-13 14:17:09 -07:00
Sage Weil
e7315e45e6
debian: bail out on error during package build
2009-10-13 14:17:09 -07:00
Sage Weil
235ef86f7b
Makefile: include client/ioctl.h in tarball
2009-10-13 14:17:09 -07:00
Sage Weil
d7f9d19d11
msgr: kill dead code
2009-10-13 14:17:09 -07:00
Sage Weil
a0fa5b0f9a
uclient: pipe down about connects
2009-10-13 14:14:58 -07:00
Sage Weil
39d12a9e10
msgr: add version field to msg header
2009-10-13 12:54:22 -07:00
Sage Weil
b3d09e0f7d
osd: use ms_handle_connect to resend mon messages
...
This is worlds better than resending every few seconds.
2009-10-13 12:08:51 -07:00
Sage Weil
bd81038006
monclient: ignore resets on non-current mon
2009-10-13 11:54:57 -07:00
Sage Weil
df0c52a1d7
mon: use connection hook to resend mon requests
2009-10-13 11:54:40 -07:00
Sage Weil
7e5d162edd
msgr: add ms_handle_connect callback
...
Called when an outgoing connection succeeds.
2009-10-13 11:51:32 -07:00
Sage Weil
d8f771e981
msgr: drop extra arg
2009-10-13 11:37:28 -07:00
Sage Weil
7cc97f32ab
msgr: change ms_handle_[peer_]reset prototype
...
And some small fixups in handlers along the way
2009-10-13 11:21:31 -07:00
Sage Weil
a90e63ca3b
msgr: put peer type, addr in Connection
2009-10-13 10:40:02 -07:00
Sage Weil
83a25c76fb
todo
2009-10-13 10:27:06 -07:00
Sage Weil
5d33a74fba
msgr: simple exponential backoff, with tunable initial and max delay
2009-10-13 10:27:06 -07:00
Sage Weil
329f5c6490
msgr: simplify policy
...
We may be a server, and we may be lossy. This gives us a few policies:
!server, !lossy = lossless_peer(), for bidirectional intracluster fun.
server, !lossy = lossless_server(), e.g. mds <-> client.
server, lossy = lossy_server(), e.g. mon and osd
also, the default is
!server, !lossy = client(), but that doesn't mean much. The server
decides if the connection is lossy or not. And !server just means we can
initiate the outgoing connection.
2009-10-13 10:27:06 -07:00
Sage Weil
78dcc39f41
msgr: kill unused ms_handle_failure
2009-10-13 10:27:05 -07:00