mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Stop clvmd complaining about nodes that have left the cluster
This commit is contained in:
parent
09a929fc92
commit
b499b916ca
@ -5,6 +5,7 @@ Version 2.02.10 -
|
||||
Add mirror options to man pages.
|
||||
Prevent mirror renames.
|
||||
Move CMDLIB code into separate file and record whether static build.
|
||||
Stop clvmd complaining about nodes that have left the cluster
|
||||
|
||||
Version 2.02.09 - 17th August 2006
|
||||
==================================
|
||||
|
@ -159,10 +159,12 @@ static int _cluster_do_node_callback(struct local_client *client,
|
||||
int somedown = 0;
|
||||
|
||||
for (i = 0; i < _get_num_nodes(); i++) {
|
||||
if (nodes[i].cn_member) {
|
||||
callback(client, (char *)&nodes[i].cn_nodeid, node_updown[nodes[i].cn_nodeid]);
|
||||
if (!node_updown[nodes[i].cn_nodeid])
|
||||
somedown = -1;
|
||||
}
|
||||
}
|
||||
return somedown;
|
||||
}
|
||||
|
||||
@ -327,6 +329,7 @@ static void get_members()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Convert a node name to a CSID */
|
||||
static int _csid_from_name(char *csid, char *name)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user