Fix abort with multiple cpg clients under heavy load.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2467 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2009-09-21 18:27:37 +00:00
parent 60d50de816
commit 6ae6f6e284

View File

@ -153,7 +153,7 @@ static unsigned short mcast_packed_msg_lens[FRAME_SIZE_MAX];
static int mcast_packed_msg_count = 0;
static int totempg_reserved = 0;
static int totempg_reserved = 1;
static unsigned int totempg_size_limit;
@ -931,7 +931,7 @@ static int msg_count_send_ok (
avail = totemmrp_avail ();
return (avail > msg_count);
return ((avail - totempg_reserved) > msg_count);
}
static int byte_count_send_ok (