forked from Minki/linux
e7fd41792f
This is the core of the distributed lock manager which is required to use GFS2 as a cluster filesystem. It is also used by CLVM and can be used as a standalone lock manager independantly of either of these two projects. It implements VAX-style locking modes. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steve Whitehouse <swhiteho@redhat.com>
23 lines
876 B
C
23 lines
876 B
C
/******************************************************************************
|
|
*******************************************************************************
|
|
**
|
|
** Copyright (C) 2005 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 __REQUESTQUEUE_DOT_H__
|
|
#define __REQUESTQUEUE_DOT_H__
|
|
|
|
void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_header *hd);
|
|
int dlm_process_requestqueue(struct dlm_ls *ls);
|
|
void dlm_wait_requestqueue(struct dlm_ls *ls);
|
|
void dlm_purge_requestqueue(struct dlm_ls *ls);
|
|
|
|
#endif
|
|
|