From: teigland@sourceware.org <teigland@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.05-73-g12e98c1
Date: 14 Jul 2008 19:47:32 -0000 [thread overview]
Message-ID: <20080714194732.27614.qmail@sourceware.org> (raw)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".
http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=12e98c1895efea3c486bfe7aeaf57aca334fc05f
The branch, master has been updated
via 12e98c1895efea3c486bfe7aeaf57aca334fc05f (commit)
from 4c433f6c23e217ec2865faa95af1869eb4428b27 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 12e98c1895efea3c486bfe7aeaf57aca334fc05f
Author: David Teigland <teigland@redhat.com>
Date: Mon Jul 14 14:40:13 2008 -0500
dlm_controld: set id before recovery
The lockspace id needs to be set in the kernel before starting recovery
in the kernel, which depends on a valid id.
Signed-off-by: David Teigland <teigland@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
group/dlm_controld/cpg.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/group/dlm_controld/cpg.c b/group/dlm_controld/cpg.c
index 8d01d64..4ea31f3 100644
--- a/group/dlm_controld/cpg.c
+++ b/group/dlm_controld/cpg.c
@@ -533,6 +533,10 @@ static void start_kernel(struct lockspace *ls)
log_group(ls, "start_kernel %u member_count %d",
cg->seq, cg->member_count);
+ /* needs to happen before setting control which starts recovery */
+ if (ls->joining)
+ set_sysfs_id(ls->name, ls->global_id);
+
format_member_ids(ls);
format_renew_ids(ls);
set_configfs_members(ls->name, member_count, member_ids,
@@ -541,7 +545,6 @@ static void start_kernel(struct lockspace *ls)
ls->kernel_stopped = 0;
if (ls->joining) {
- set_sysfs_id(ls->name, ls->global_id);
set_sysfs_event_done(ls->name, 0);
ls->joining = 0;
}
hooks/post-receive
--
Cluster Project
reply other threads:[~2008-07-14 19:47 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=20080714194732.27614.qmail@sourceware.org \
--to=teigland@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).