mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
. remove_lock_wait.diff remove the definition of "struct lock_wait",
which is not used since the switch away from async version saLck . num_nodes should equal to member_list_entries, i.e. joined_list_entires is 0 when a node leaves the group. Thanks to Xinwei Hu for the patch.
This commit is contained in:
parent
1399b84b32
commit
9154a74400
@ -1,5 +1,6 @@
|
||||
Version 2.02.36 -
|
||||
=================================
|
||||
Remove unused struct in clvmd-openais, and use correct node count.
|
||||
Fix nodes list in clvmd-openais, and allow for broadcast messages.
|
||||
Exclude VG_GLOBAL from internal concurrent VG lock counter.
|
||||
Fix vgsplit internal counting of snapshot LVs.
|
||||
|
@ -100,13 +100,6 @@ struct lock_info
|
||||
SaNameT lock_name;
|
||||
};
|
||||
|
||||
struct lock_wait
|
||||
{
|
||||
pthread_cond_t cond;
|
||||
pthread_mutex_t mutex;
|
||||
int status;
|
||||
};
|
||||
|
||||
/* Set errno to something approximating the right value and return 0 or -1 */
|
||||
static int ais_to_errno(SaAisErrorT err)
|
||||
{
|
||||
@ -313,7 +306,7 @@ static void cpg_confchg_callback(cpg_handle_t handle,
|
||||
ninfo->state = NODE_CLVMD;
|
||||
}
|
||||
|
||||
num_nodes = joined_list_entries;
|
||||
num_nodes = member_list_entries;
|
||||
}
|
||||
|
||||
static int lck_dispatch(struct local_client *client, char *buf, int len,
|
||||
|
Loading…
Reference in New Issue
Block a user