From: "Xinwei Hu" <hxinwei@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] Patch to clvmd-openais.c again
Date: Fri, 25 Apr 2008 18:11:58 +0800 [thread overview]
Message-ID: <1cafab770804250311n1c530743h30cbd62e725f345f@mail.gmail.com> (raw)
Hi all,
The attached patch is a try to make clvmd work correctly on openais stack.
It does 2 things.
1. The cpg_deliver_callback make a compare between target_nodeid and our_nodeid.
It turns out openais set target_nodeid to 0 sometimes. for
broadcasting ? I change
the behavior so that lvm will process_remote also on target_nodeid == 0
2. The joined_list passed to cpg_confchg_callback doesn't include the
already exist
nodes in the group, which leads to an incomplete node_hash. I simply
add all other
nodes in member_list to node_hash also.
With this patch applied, clvmd works correctly with basic lvm commands now.
Please kindly review this, and consider it for upstream.
Thanks.
next reply other threads:[~2008-04-25 10:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-25 10:11 Xinwei Hu [this message]
2008-04-25 10:12 ` [linux-lvm] Re: Patch to clvmd-openais.c again Xinwei Hu
2008-04-28 8:57 ` Christine Caulfield
2008-04-28 16:27 ` Xinwei Hu
2008-04-29 8:55 ` Christine Caulfield
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=1cafab770804250311n1c530743h30cbd62e725f345f@mail.gmail.com \
--to=hxinwei@gmail.com \
--cc=linux-lvm@redhat.com \
/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).