From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman-kernel/src membership.c
Date: 19 Jan 2007 16:21:36 -0000 [thread overview]
Message-ID: <20070119162136.19972.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: STABLE
Changes by: pcaulfield at sourceware.org 2007-01-19 16:21:36
Modified files:
cman-kernel/src: membership.c
Log message:
Always queue kill messages that need ACKs, so we don't block apps
like qdiskd.
bz#223462
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman-kernel/src/membership.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.44.2.18.6.8&r2=1.44.2.18.6.9
--- cluster/cman-kernel/src/Attic/membership.c 2007/01/18 15:10:19 1.44.2.18.6.8
+++ cluster/cman-kernel/src/Attic/membership.c 2007/01/19 16:21:36 1.44.2.18.6.9
@@ -1068,6 +1068,12 @@
{
char killmsg;
struct sockaddr_cl saddr;
+ int flags;
+
+ if (needack)
+ flags = MSG_QUEUE;
+ else
+ flags = MSG_NOACK;
killmsg = CLUSTER_MEM_KILL;
@@ -1075,7 +1081,7 @@
saddr.scl_port = CLUSTER_PORT_MEMBERSHIP;
saddr.scl_nodeid = nodeid;
return kcl_sendmsg(mem_socket, &killmsg, 1, &saddr,
- sizeof (struct sockaddr_cl), needack?0:MSG_NOACK);
+ sizeof (struct sockaddr_cl), flags);
}
/* Tell the rest of the cluster a node has gone down */
next reply other threads:[~2007-01-19 16:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-19 16:21 pcaulfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-19 15:01 [Cluster-devel] cluster/cman-kernel/src membership.c pcaulfield
2007-05-03 10:19 pcaulfield
2007-01-19 16:20 pcaulfield
2007-01-18 15:10 pcaulfield
2007-01-18 15:08 pcaulfield
2006-06-26 14:13 pcaulfield
2006-06-26 8:54 pcaulfield
2006-06-26 8:42 pcaulfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070119162136.19972.qmail@sourceware.org \
--to=pcaulfield@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).