mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-13 20:58:39 +00:00
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:
parent
60d50de816
commit
6ae6f6e284
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user