1
0
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:
Patrick Caulfield 2006-08-24 12:45:05 +00:00
parent 09a929fc92
commit b499b916ca
2 changed files with 34 additions and 30 deletions

View File

@ -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
==================================

View File

@ -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)
{