#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/highmem.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/debugfs.h>
#include "cluster/heartbeat.h"
#include "cluster/nodemanager.h"
#include "cluster/tcp.h"
#include "dlmapi.h"
#include "dlmcommon.h"
#include "dlmdomain.h"
#include "dlmdebug.h"
#include "dlmver.h"
#include "cluster/masklog.h"
Go to the source code of this file.
|
| DEFINE_SPINLOCK (dlm_domain_lock) |
|
| LIST_HEAD (dlm_domains) |
|
void | __dlm_unhash_lockres (struct dlm_ctxt *dlm, struct dlm_lock_resource *res) |
|
void | __dlm_insert_lockres (struct dlm_ctxt *dlm, struct dlm_lock_resource *res) |
|
struct dlm_lock_resource * | __dlm_lookup_lockres_full (struct dlm_ctxt *dlm, const char *name, unsigned int len, unsigned int hash) |
|
struct dlm_lock_resource * | __dlm_lookup_lockres (struct dlm_ctxt *dlm, const char *name, unsigned int len, unsigned int hash) |
|
struct dlm_lock_resource * | dlm_lookup_lockres (struct dlm_ctxt *dlm, const char *name, unsigned int len) |
|
void | dlm_put (struct dlm_ctxt *dlm) |
|
struct dlm_ctxt * | dlm_grab (struct dlm_ctxt *dlm) |
|
int | dlm_domain_fully_joined (struct dlm_ctxt *dlm) |
|
int | dlm_joined (struct dlm_ctxt *dlm) |
|
int | dlm_shutting_down (struct dlm_ctxt *dlm) |
|
void | dlm_unregister_domain (struct dlm_ctxt *dlm) |
|
| EXPORT_SYMBOL_GPL (dlm_unregister_domain) |
|
struct dlm_ctxt * | dlm_register_domain (const char *domain, u32 key, struct dlm_protocol_version *fs_proto) |
|
| EXPORT_SYMBOL_GPL (dlm_register_domain) |
|
void | dlm_fire_domain_eviction_callbacks (struct dlm_ctxt *dlm, int node_num) |
|
void | dlm_setup_eviction_cb (struct dlm_eviction_cb *cb, dlm_eviction_func *f, void *data) |
|
| EXPORT_SYMBOL_GPL (dlm_setup_eviction_cb) |
|
void | dlm_register_eviction_cb (struct dlm_ctxt *dlm, struct dlm_eviction_cb *cb) |
|
| EXPORT_SYMBOL_GPL (dlm_register_eviction_cb) |
|
void | dlm_unregister_eviction_cb (struct dlm_eviction_cb *cb) |
|
| EXPORT_SYMBOL_GPL (dlm_unregister_eviction_cb) |
|
| MODULE_AUTHOR ("Oracle") |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (dlm_init) |
|
| module_exit (dlm_exit) |
|
#define DLM_DOMAIN_BACKOFF_MS 200 |
#define DLM_JOIN_TIMEOUT_MSECS 90000 |
MODULE_AUTHOR |
( |
"Oracle" |
| ) |
|