mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
![David Teigland](/assets/img/avatar_default.png)
Messages from nodes that are no longer members of the lockspace should be ignored. When nodes are removed from the lockspace, recovery can sometimes complete quickly enough that messages arrive from a removed node after recovery has completed. When processed, these messages would often cause an error message, and could in some cases change some state, causing problems. Signed-off-by: David Teigland <teigland@redhat.com>
25 lines
1 KiB
C
25 lines
1 KiB
C
/******************************************************************************
|
|
*******************************************************************************
|
|
**
|
|
** Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
|
|
**
|
|
** This copyrighted material is made available to anyone wishing to use,
|
|
** modify, copy, or redistribute it subject to the terms and conditions
|
|
** of the GNU General Public License v.2.
|
|
**
|
|
*******************************************************************************
|
|
******************************************************************************/
|
|
|
|
#ifndef __MEMBER_DOT_H__
|
|
#define __MEMBER_DOT_H__
|
|
|
|
int dlm_ls_stop(struct dlm_ls *ls);
|
|
int dlm_ls_start(struct dlm_ls *ls);
|
|
void dlm_clear_members(struct dlm_ls *ls);
|
|
void dlm_clear_members_gone(struct dlm_ls *ls);
|
|
int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv,int *neg_out);
|
|
int dlm_is_removed(struct dlm_ls *ls, int nodeid);
|
|
int dlm_is_member(struct dlm_ls *ls, int nodeid);
|
|
|
|
#endif /* __MEMBER_DOT_H__ */
|
|
|