Commit Graph

66 Commits

Author SHA1 Message Date
Steven Dake
59dd1f28a1 remove dead code.
(Logical change 1.18)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@45 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-01 18:03:30 +00:00
Steven Dake
f3ad14ab08 Initialize logging function in group messaging interface.
(Logical change 1.17)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@43 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-30 19:07:39 +00:00
Steven Dake
78e871d1ec Build gmi static and shared library for use in other programs.
(Logical change 1.17)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@42 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-30 19:07:39 +00:00
Steven Dake
3091ebaac9 Add logging function init interface.
(Logical change 1.17)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@41 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-30 19:07:39 +00:00
Steven Dake
fd8978487f Add ability to pass in logging function for people that want to
use their own logging functions in their own programs.

(Logical change 1.17)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@40 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-30 19:07:39 +00:00
Steven Dake
b7579dec5d add debug checking version of logging function.
(Logical change 1.17)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@39 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-30 19:07:39 +00:00
Steven Dake
7f24c23651 Fix cluster membership API not being authenticated bug.
(Logical change 1.15)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@31 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-28 22:04:20 +00:00
Steven Dake
86c3d01bf4 Make bind to a device really work properly. Now
it is possible to specify the bind network and
the networking will take place over that interface.

(Logical change 1.14)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@30 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-27 21:01:24 +00:00
Steven Dake
3640e7d346 Add priv drop so process doesn't have to run
as root in order to lock, set RR 99, and
bind to a specific ethernet interface for multicast.

(Logical change 1.14)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@29 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-27 21:01:24 +00:00
Steven Dake
577163d6fb Fix binding rules so that instead of binding to INADDR_ANY for
UDP sockets, bind to specific interface defined in network.conf.
This is done by creating two fds.  gmi_fd_token is used for all
token communication.  gmi_fd_mcast is used for all mcast
communication.  I'm not sure if gmi_fd_mcast binding rules is
correct.  Once work begins on multipathing, this will have to
be figured out :)

2004/06/23 13:55:52-07:00 mvista.com!sdake
Use portable mreq instead of mreqn when joining the multicast
group.

(Logical change 1.13)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@26 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-23 21:01:32 +00:00
Steven Dake
df8eda0280 x86 was not setting port to network byte order, which resulted in
port being byte swapped.  This of course, doesn't work well with
xscale boards.

(Logical change 1.9)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@17 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-20 07:30:46 +00:00
Steven Dake
7e1a275900 single node AMF would fail because of a recursion bug. Removed
the recursion by queueing single node message delivery as a timer
with 0 timeout.  This was happening before, but the logic was
wrong.

(Logical change 1.7)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@13 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-17 23:50:26 +00:00
Steven Dake
970b3e9caa Crash when no network.conf file present (missing error checking).
(Logical change 1.6)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@12 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-17 21:54:28 +00:00
Steven Dake
4130763665 Fix bug in membership protocol where form token sometimes times out
because the initial send of the token is sent to the wrong address.

2004/06/16 15:42:49-07:00 mvista.com!sdake
Performance enhancements: Allow more messages to be multicast per
token possession to reach 8.8MB/sec checkpoint performance without
remcasts.  Trim gather/commit timeouts to 100 msec to speed up the
membership gathering process.

(Logical change 1.5)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@10 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-16 22:50:39 +00:00
John Cherry
95f17845c6 (Logical change 1.3)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@5 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:18:04 +00:00
John Cherry
7bede9c4bb Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@4 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:18:03 +00:00