linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Patch to clvmd-openais.c again
@ 2008-04-25 10:11 Xinwei Hu
  2008-04-25 10:12 ` [linux-lvm] " Xinwei Hu
  0 siblings, 1 reply; 5+ messages in thread
From: Xinwei Hu @ 2008-04-25 10:11 UTC (permalink / raw)
  To: LVM general discussion and development

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-29  8:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-25 10:11 [linux-lvm] Patch to clvmd-openais.c again Xinwei Hu
2008-04-25 10:12 ` [linux-lvm] " Xinwei Hu
2008-04-28  8:57   ` Christine Caulfield
2008-04-28 16:27     ` Xinwei Hu
2008-04-29  8:55       ` Christine Caulfield

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).