Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/slab.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/spinlock.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 "dlmdebug.h"
#include "cluster/masklog.h"
Go to the source code of this file.
Data Structures | |
struct | dlm_bitmap_diff_iter |
Macros | |
#define | MLOG_MASK_PREFIX (ML_DLM|ML_DLM_MASTER) |
#define | DLM_MASTERY_TIMEOUT_MS 5000 |
#define | DLM_MIGRATION_RETRY_MS 100 |
Enumerations | |
enum | dlm_node_state_change { NODE_DOWN = -1, NODE_NO_CHANGE = 0, NODE_UP } |
#define DLM_MASTERY_TIMEOUT_MS 5000 |
Definition at line 978 of file dlmmaster.c.
#define DLM_MIGRATION_RETRY_MS 100 |
Definition at line 2613 of file dlmmaster.c.
#define MLOG_MASK_PREFIX (ML_DLM|ML_DLM_MASTER) |
Definition at line 52 of file dlmmaster.c.
Definition at line 1141 of file dlmmaster.c.
void __dlm_insert_mle | ( | struct dlm_ctxt * | dlm, |
struct dlm_master_list_entry * | mle | ||
) |
Definition at line 328 of file dlmmaster.c.
void __dlm_lockres_reserve_ast | ( | struct dlm_lock_resource * | res | ) |
Definition at line 3333 of file dlmmaster.c.
void __dlm_unlink_mle | ( | struct dlm_ctxt * | dlm, |
struct dlm_master_list_entry * | mle | ||
) |
Definition at line 319 of file dlmmaster.c.
Definition at line 1734 of file dlmmaster.c.
Definition at line 2004 of file dlmmaster.c.
Definition at line 3181 of file dlmmaster.c.
Definition at line 2214 of file dlmmaster.c.
Definition at line 476 of file dlmmaster.c.
Definition at line 418 of file dlmmaster.c.
int dlm_dispatch_assert_master | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res, | ||
int | ignore_higher, | ||
u8 | request_from, | ||
u32 | flags | ||
) |
Definition at line 2018 of file dlmmaster.c.
int dlm_drop_lockres_ref | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 2183 of file dlmmaster.c.
int dlm_empty_lockres | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 2625 of file dlmmaster.c.
Definition at line 3259 of file dlmmaster.c.
Definition at line 3376 of file dlmmaster.c.
|
read |
Definition at line 701 of file dlmmaster.c.
Definition at line 364 of file dlmmaster.c.
Definition at line 456 of file dlmmaster.c.
Definition at line 407 of file dlmmaster.c.
Definition at line 132 of file dlmmaster.c.
Definition at line 2654 of file dlmmaster.c.
void dlm_lockres_clear_refmap_bit | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res, | ||
int | bit | ||
) |
Definition at line 645 of file dlmmaster.c.
void dlm_lockres_drop_inflight_ref | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 669 of file dlmmaster.c.
void dlm_lockres_grab_inflight_ref | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 657 of file dlmmaster.c.
void dlm_lockres_put | ( | struct dlm_lock_resource * | res | ) |
Definition at line 549 of file dlmmaster.c.
void dlm_lockres_release_ast | ( | struct dlm_ctxt * | dlm, |
struct dlm_lock_resource * | res | ||
) |
Definition at line 3357 of file dlmmaster.c.
Definition at line 634 of file dlmmaster.c.
Definition at line 1386 of file dlmmaster.c.
Definition at line 2961 of file dlmmaster.c.
|
read |
Definition at line 608 of file dlmmaster.c.