remove priority fields from evs service.

(Logical change 1.122)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@432 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2005-01-29 18:30:56 +00:00
parent c6e8f17088
commit 5a3d94cb88
3 changed files with 1 additions and 53 deletions

View File

@ -290,7 +290,6 @@ struct res_lib_evs_leave {
struct req_lib_evs_mcast_joined {
struct res_header header;
evs_priority_t priority;
evs_guarantee_t guarantee;
int msg_len;
char msg[0];
@ -302,7 +301,6 @@ struct res_lib_evs_mcast_joined {
struct req_lib_evs_mcast_groups {
struct res_header header;
evs_priority_t priority;
evs_guarantee_t guarantee;
int msg_len;
int group_entries;

View File

@ -44,13 +44,6 @@ typedef enum {
EVS_DISPATCH_BLOCKING
} evs_dispatch_t;
typedef enum {
EVS_PRIO_RECOVERY,
EVS_PRIO_HIGH,
EVS_PRIO_MED,
EVS_PRIO_LOW
} evs_priority_t;
typedef enum {
EVS_TYPE_UNORDERED, /* not implemented */
EVS_TYPE_FIFO, /* same as agreed */
@ -148,7 +141,6 @@ evs_error_t evs_leave (
evs_error_t evs_mcast_joined (
evs_handle_t *handle,
evs_guarantee_t guarantee,
evs_priority_t priority,
struct iovec *iovec,
int iov_len);
@ -160,7 +152,6 @@ evs_error_t evs_mcast_joined (
evs_error_t evs_mcast_groups (
evs_handle_t *handle,
evs_guarantee_t guarantee,
evs_priority_t priority,
struct evs_group *groups,
int group_cnt,
struct iovec *iovec,

View File

@ -38,7 +38,7 @@ evs_join \- Multicast a message to selected groups
.B #include <sys/uio.h>
.B #include <openais/evs.h>
.sp
.BI "int evs_mcast_gruops(evs_handle_t *" handle ", evs_guraantee_t " guarantee ", evs_priority_t " priority ", evs_group_t *" groups ", int group_entries, struct iovec *" iovec ", int " iov_len ");
.BI "int evs_mcast_gruops(evs_handle_t *" handle ", evs_guraantee_t " guarantee ", evs_group_t *" groups ", int group_entries, struct iovec *" iovec ", int " iov_len ");
.SH DESCRIPTION
The
.B evs_mcast_groups(3)
@ -93,47 +93,6 @@ All processors must agree on the order of delivery. Further all processors
must have a copy of the message before any delivery takes place. This mode is
unimplemented in the EVS library.
.PP
The argument
.I priority
describes the priority at which a message will be sent. Messages will be sent with
higher priorities before messages with lower priorities. This requirement only applies
to the local processor. If two processors have two different priority messages, the
messages may be sent from either priority depending on the algorithm of the EVS library.
The evs_priority_t typedef is described by:
.IP
.RS
.ne 18
.nf
.ta 4n 30n 33n
typedef enum {
EVS_PRIO_RECOVERY,
EVS_PRIO_HIGH,
EVS_PRIO_MED,
EVS_PRIO_LOW
} evs_priority_t;
.ta
.fi
.RE
.IP
.PP
.PP
The meanings of the evs_priority_t typedef are:
.TP
.B EVS_PRIO_RECOVERY
Messages are sent from this priority level first. This priority level is used
for recovery of state after a partition or merge occurs.
.TP
.B EVS_PRIO_HIGH
Messages are sent from this priority level second.
.TP
.B EVS_PRIO_MED
Messages are sent from this priority level third.
.I groups
.TP
.B EVS_PRIO_LOW
Messages are sent from this priority level fourth.
.PP
The
.I groups
argument is of the type evs_group_t which is defined by the structure: