mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +03:00
Remove duplicate cpg_initialize from clvmd startup.
This commit is contained in:
parent
d3e282c9d8
commit
0f1917afa7
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.45 -
|
Version 2.02.45 -
|
||||||
===================================
|
===================================
|
||||||
|
Remove duplicate cpg_initialize from clvmd startup.
|
||||||
Add option to /etc/sysconfig/cluster to select cluster type for clvmd.
|
Add option to /etc/sysconfig/cluster to select cluster type for clvmd.
|
||||||
Allow clvmd to start up if its lockspace already exists.
|
Allow clvmd to start up if its lockspace already exists.
|
||||||
Separate PV label attributes which do not need parse metadata when reporting.
|
Separate PV label attributes which do not need parse metadata when reporting.
|
||||||
|
@ -326,11 +326,6 @@ static int _init_cluster(void)
|
|||||||
dlm_ls_pthread_init(lockspace);
|
dlm_ls_pthread_init(lockspace);
|
||||||
DEBUGLOG("DLM initialisation complete\n");
|
DEBUGLOG("DLM initialisation complete\n");
|
||||||
|
|
||||||
err = cpg_initialize(&cpg_handle, &cpg_callbacks);
|
|
||||||
if (err != CS_OK) {
|
|
||||||
return cs_to_errno(err);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Connect to the clvmd group */
|
/* Connect to the clvmd group */
|
||||||
strcpy((char *)cpg_group_name.value, "clvmd");
|
strcpy((char *)cpg_group_name.value, "clvmd");
|
||||||
cpg_group_name.length = strlen((char *)cpg_group_name.value);
|
cpg_group_name.length = strlen((char *)cpg_group_name.value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user