Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/highmem.h>
#include <linux/init.h>
#include <linux/sysctl.h>
#include <linux/random.h>
#include <linux/blkdev.h>
#include <linux/socket.h>
#include <linux/inet.h>
#include <linux/timer.h>
#include <linux/kthread.h>
#include <linux/delay.h>
#include "cluster/heartbeat.h"
#include "cluster/nodemanager.h"
#include "cluster/tcp.h"
#include "dlmapi.h"
#include "dlmcommon.h"
#include "dlmdomain.h"
#include "cluster/masklog.h"
Go to the source code of this file.
Macros | |
#define | MLOG_MASK_PREFIX (ML_DLM|ML_DLM_THREAD) |
#define | dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num) |
#define | DLM_THREAD_TIMEOUT_MS (4 * 1000) |
#define | DLM_THREAD_MAX_DIRTY 100 |
#define | DLM_THREAD_MAX_ASTS 10 |
Definition at line 57 of file dlmthread.c.
#define DLM_THREAD_MAX_ASTS 10 |
Definition at line 632 of file dlmthread.c.
#define DLM_THREAD_MAX_DIRTY 100 |
Definition at line 631 of file dlmthread.c.
#define DLM_THREAD_TIMEOUT_MS (4 * 1000) |
Definition at line 630 of file dlmthread.c.
#define MLOG_MASK_PREFIX (ML_DLM|ML_DLM_THREAD) |
Definition at line 51 of file dlmthread.c.
void __dlm_dirty_lockres | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 463 of file dlmthread.c.
void __dlm_lockres_calc_usage | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 124 of file dlmthread.c.
int __dlm_lockres_has_locks | ( | struct dlm_lock_resource * | res | ) |
Definition at line 80 of file dlmthread.c.
int __dlm_lockres_unused | ( | struct dlm_lock_resource * | res | ) |
Definition at line 93 of file dlmthread.c.
void __dlm_wait_on_lockres_flags | ( | struct dlm_lock_resource * | res, |
int | flags | ||
) |
Definition at line 61 of file dlmthread.c.
Definition at line 502 of file dlmthread.c.
void dlm_kick_thread | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 451 of file dlmthread.c.
Definition at line 488 of file dlmthread.c.
void dlm_lockres_calc_usage | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 150 of file dlmthread.c.