From: cfeist@sourceware.org <cfeist@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gulm/src core_io.c core_nodelists.c
Date: 14 Mar 2007 19:40:38 -0000 [thread overview]
Message-ID: <20070314194038.24443.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: cfeist at sourceware.org 2007-03-14 19:40:38
Modified files:
gulm/src : core_io.c core_nodelists.c
Log message:
Make sure all gulm servers keep track of the other gulm servers/clients
bz #183383
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gulm/src/core_io.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.9.2.9&r2=1.9.2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gulm/src/core_nodelists.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.2.2&r2=1.5.2.3
--- cluster/gulm/src/Attic/core_io.c 2006/02/13 19:55:48 1.9.2.9
+++ cluster/gulm/src/Attic/core_io.c 2007/03/14 19:40:37 1.9.2.10
@@ -1024,6 +1024,7 @@
log_msg(lgm_Network,
"Found Master at %s, so I'm a Slave.\n",
MasterIN->name);
+ update_mru_list();
}
send_core_state_to_children();
/* TODO
--- cluster/gulm/src/Attic/core_nodelists.c 2006/02/13 19:55:48 1.5.2.2
+++ cluster/gulm/src/Attic/core_nodelists.c 2007/03/14 19:40:37 1.5.2.3
@@ -1102,4 +1102,19 @@
return hash_walk(Nodes_by_Name, _inner_tag_for_lost, NULL);
}
+int _update_mru_list(LLi_t *item, void *misc) {
+ Node_t *n;
+ n = LLi_data(item);
+
+ if (n->State == gio_Mbr_Logged_in)
+ move_to_mru(n);
+ return 0;
+}
+
+void update_mru_list(void)
+{
+ hash_walk(Nodes_by_Name, _update_mru_list, NULL);
+ return;
+}
+
/* vim: set ai cin et sw=3 ts=3 : */
reply other threads:[~2007-03-14 19:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20070314194038.24443.qmail@sourceware.org \
--to=cfeist@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).