Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/drbd.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/mm.h>
#include <linux/memcontrol.h>
#include <linux/mm_inline.h>
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/string.h>
#include <linux/scatterlist.h>
#include "drbd_int.h"
#include "drbd_req.h"
Go to the source code of this file.
Macros | |
#define | GFP_TRY (__GFP_HIGHMEM | __GFP_NOWARN) |
Variables | |
rwlock_t | global_state_lock |
#define GFP_TRY (__GFP_HIGHMEM | __GFP_NOWARN) |
Definition at line 367 of file drbd_worker.c.
Definition at line 1457 of file drbd_worker.c.
void drbd_csum_bio | ( | struct drbd_conf * | mdev, |
struct crypto_hash * | tfm, | ||
struct bio * | bio, | ||
void * | digest | ||
) |
Definition at line 299 of file drbd_worker.c.
void drbd_csum_ee | ( | struct drbd_conf * | mdev, |
struct crypto_hash * | tfm, | ||
struct drbd_epoch_entry * | e, | ||
void * | digest | ||
) |
Definition at line 272 of file drbd_worker.c.
Definition at line 212 of file drbd_worker.c.
void drbd_endio_read_sec_final | ( | struct drbd_epoch_entry * | e | ) |
Definition at line 101 of file drbd_worker.c.
Definition at line 176 of file drbd_worker.c.
Definition at line 70 of file drbd_worker.c.
Definition at line 1141 of file drbd_worker.c.
Definition at line 780 of file drbd_worker.c.
Definition at line 1475 of file drbd_worker.c.
void drbd_start_resync | ( | struct drbd_conf * | mdev, |
enum drbd_conns | side | ||
) |
drbd_start_resync() - Start the resync process : DRBD device. : Either C_SYNC_SOURCE or C_SYNC_TARGET
This function might bring you directly into one of the C_PAUSED_SYNC_* states.
Definition at line 1494 of file drbd_worker.c.
int drbd_worker | ( | struct drbd_thread * | thi | ) |
Definition at line 1627 of file drbd_worker.c.
Definition at line 1419 of file drbd_worker.c.
Definition at line 422 of file drbd_worker.c.
Definition at line 733 of file drbd_worker.c.
Definition at line 1426 of file drbd_worker.c.
Definition at line 1032 of file drbd_worker.c.
w_e_end_data_req() - Worker callback, to send a P_DATA_REPLY packet in response to a P_DATA_REQUEST : DRBD device. : work object. : The connection will be closed anyways
Definition at line 948 of file drbd_worker.c.
Definition at line 1152 of file drbd_worker.c.
Definition at line 1095 of file drbd_worker.c.
w_e_end_rsdata_req() - Worker callback to send a P_RS_DATA_REPLY packet in response to a P_RS_DATA_REQUESTRS : DRBD device. : work object. : The connection will be closed anyways
Definition at line 984 of file drbd_worker.c.
Definition at line 320 of file drbd_worker.c.
Definition at line 754 of file drbd_worker.c.
Definition at line 1219 of file drbd_worker.c.
Definition at line 253 of file drbd_worker.c.
Definition at line 1332 of file drbd_worker.c.
Definition at line 408 of file drbd_worker.c.
Definition at line 1226 of file drbd_worker.c.
w_send_dblock() - Worker callback to send a P_DATA packet in order to mirror a write request : DRBD device. : work object. : The connection will be closed anyways
Definition at line 1286 of file drbd_worker.c.
Definition at line 1264 of file drbd_worker.c.
w_send_read_req() - Worker callback to send a read request (P_DATA_REQUEST) packet : DRBD device. : work object. : The connection will be closed anyways
Definition at line 1308 of file drbd_worker.c.
Definition at line 1257 of file drbd_worker.c.
Definition at line 740 of file drbd_worker.c.
rwlock_t global_state_lock |
Definition at line 65 of file drbd_worker.c.